Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable PHP 8.2 compat #218

Merged
merged 2 commits into from
Aug 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
harikt marked this conversation as resolved.
Show resolved Hide resolved

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