Skip to content

Commit

Permalink
Update QuoterTest.php
Browse files Browse the repository at this point in the history
Made $this->quoter an explicitly defined property to prevent this warning in PHP 8.1+

PHP Deprecated:  Creation of dynamic property Aura\SqlQuery\Common\QuoterTest::$quoter is deprecated in /home/runner/work/Aura.SqlQuery/Aura.SqlQuery/tests/Common/QuoterTest.php on line 10
  • Loading branch information
rotexdegba authored Mar 13, 2024
1 parent 11e4fba commit 85e38a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Common/QuoterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

class QuoterTest extends TestCase
{
protected ?\Aura\SqlQuery\Common\Quoter $quoter = null;

public function set_up()
{
$this->quoter = new Quoter();
Expand Down

0 comments on commit 85e38a2

Please sign in to comment.