Skip to content

Commit

Permalink
AR-4083: Fix php8.2 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberstz committed Feb 5, 2024
1 parent 3e3bba0 commit 89e93b1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cogpowered/FineDiff/Parser/Operations/Copy.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
*/
class Copy implements OperationInterface
{
protected $len;

/**
* Set the initial length.
*
Expand Down
2 changes: 2 additions & 0 deletions src/cogpowered/FineDiff/Parser/Operations/Delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
*/
class Delete implements OperationInterface
{
protected $fromLen;

/**
* Set the initial length.
*
Expand Down
2 changes: 2 additions & 0 deletions src/cogpowered/FineDiff/Parser/Operations/Insert.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
*/
class Insert implements OperationInterface
{
protected $text;

/**
* Sets the text that the operation is working with.
*
Expand Down
3 changes: 3 additions & 0 deletions src/cogpowered/FineDiff/Parser/Operations/Replace.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

class Replace implements OperationInterface
{
protected $fromLen;
protected $text;

/**
* @param int $fromLen
* @param string $text
Expand Down

0 comments on commit 89e93b1

Please sign in to comment.