Skip to content

Commit

Permalink
Merge pull request #62 from ray-di/polyfill-php81
Browse files Browse the repository at this point in the history
Add polyfill-php81 for ReturnTypeWillChange attribute
  • Loading branch information
koriym committed Jan 24, 2022
2 parents d91a0ff + 90d2426 commit 0287577
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
3 changes: 2 additions & 1 deletion composer.json
Expand Up @@ -17,7 +17,8 @@
"pagerfanta/pagerfanta": "^3.5",
"rize/uri-template": "^0.3.4",
"doctrine/annotations": "^1.11",
"psr/log": "^1.1"
"psr/log": "^1.1",
"symfony/polyfill-php81": "^1.24"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
Expand Down
4 changes: 0 additions & 4 deletions tests/bootstrap.php
Expand Up @@ -13,7 +13,3 @@
if (PHP_MAJOR_VERSION >= 8) {
ServiceLocator::setReader(new AttributeReader());
}

if (! class_exists('ReturnTypeWillChange')) {
require __DIR__ . '/stub/ReturnTypeWillChange.php';
}
9 changes: 0 additions & 9 deletions tests/stub/ReturnTypeWillChange.php

This file was deleted.

0 comments on commit 0287577

Please sign in to comment.