Skip to content

Commit

Permalink
Merge pull request #218 from koriym/php8.2-support
Browse files Browse the repository at this point in the history
Enable PHP 8.2 compat
  • Loading branch information
harikt authored Aug 4, 2022
2 parents a6d9fa8 + 1ce4889 commit dc69f02
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- ubuntu-latest
php-version:
- '8.1'
- '8.2'
steps:
- name: Checkout
uses: actions/checkout@v1
Expand Down
4 changes: 3 additions & 1 deletion tests/FakeObject.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<?php
namespace Aura\Sql;

class FakeObject
use stdClass;

class FakeObject extends stdClass
{
public $foo;

Expand Down
3 changes: 3 additions & 0 deletions tests/PdoDependent.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

class PdoDependent
{
/** @var PDO */
private $pdo;

public function __construct(PDO $pdo)
{
$this->pdo = $pdo;
Expand Down
3 changes: 3 additions & 0 deletions tests/Profiler/ProfilerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

class ProfilerTest extends TestCase
{
/** @var Profiler */
private $profiler;

protected function setUp(): void
{
$this->profiler = new Profiler();
Expand Down

0 comments on commit dc69f02

Please sign in to comment.