Skip to content

Commit 13a5e8b

Browse files
authored
Merge pull request #7 from ray-di/php8.1
PHP 8.1 Support
2 parents 7fe9aef + 89d9c20 commit 13a5e8b

File tree

5 files changed

+202
-199
lines changed

5 files changed

+202
-199
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
- '7.3'
3232
- '7.4'
3333
- '8.0'
34+
- '8.1'
3435
dependencies:
3536
- lowest
3637
- highest

src/FilesystemAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ public function serialize()
3737
*/
3838
public function unserialize($data)
3939
{
40-
call_user_func_array([$this, '__construct'], unserialize($data));
40+
call_user_func_array([$this, '__construct'], unserialize($data)); // @phpstan-ignore-line
4141
}
4242
}

src/PhpFileAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ public function serialize()
3636
*/
3737
public function unserialize($data)
3838
{
39-
call_user_func_array([$this, '__construct'], unserialize($data));
39+
call_user_func_array([$this, '__construct'], unserialize($data)); // @phpstan-ignore-line
4040
}
4141
}

vendor-bin/tools/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"doctrine/coding-standard": "^9.0",
44
"phpmd/phpmd": "^2.9",
55
"phpmetrics/phpmetrics": "^2.7",
6-
"phpstan/phpstan": "^0.12",
6+
"phpstan/phpstan": "^1.0.2",
77
"psalm/plugin-phpunit": "^0.13",
88
"squizlabs/php_codesniffer": "^3.5",
99
"vimeo/psalm": "^4.2"

0 commit comments

Comments
 (0)