Skip to content

Commit

Permalink
Merge pull request #7 from ray-di/php8.1
Browse files Browse the repository at this point in the history
PHP 8.1 Support
  • Loading branch information
koriym authored Nov 4, 2021
2 parents 7fe9aef + 89d9c20 commit 13a5e8b
Show file tree
Hide file tree
Showing 5 changed files with 202 additions and 199 deletions.
1 change: 1 addition & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- '7.3'
- '7.4'
- '8.0'
- '8.1'
dependencies:
- lowest
- highest
Expand Down
2 changes: 1 addition & 1 deletion src/FilesystemAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ public function serialize()
*/
public function unserialize($data)
{
call_user_func_array([$this, '__construct'], unserialize($data));
call_user_func_array([$this, '__construct'], unserialize($data)); // @phpstan-ignore-line
}
}
2 changes: 1 addition & 1 deletion src/PhpFileAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ public function serialize()
*/
public function unserialize($data)
{
call_user_func_array([$this, '__construct'], unserialize($data));
call_user_func_array([$this, '__construct'], unserialize($data)); // @phpstan-ignore-line
}
}
2 changes: 1 addition & 1 deletion vendor-bin/tools/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"doctrine/coding-standard": "^9.0",
"phpmd/phpmd": "^2.9",
"phpmetrics/phpmetrics": "^2.7",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan": "^1.0.2",
"psalm/plugin-phpunit": "^0.13",
"squizlabs/php_codesniffer": "^3.5",
"vimeo/psalm": "^4.2"
Expand Down
Loading

0 comments on commit 13a5e8b

Please sign in to comment.