diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fa4d5ce..40b87c2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,10 +19,14 @@ jobs: - php: 7.2 - php: 7.3 - php: 7.4 + - php: 8.0 + - php: 8.1 + - php: 8.2 + - php: 8.3 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.gitignore b/.gitignore index 6b329f6..ff6836c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /.php_cs.cache /src/compiled.php .idea +.phpunit.result.cache diff --git a/composer.json b/composer.json index f92e27c..3fb0d3a 100644 --- a/composer.json +++ b/composer.json @@ -28,9 +28,9 @@ "symfony/property-access": "^2.7 | ^3.0 | ^4.0 | ^5.0" }, "require-dev": { - "phpdocumentor/reflection-docblock": "^4.2", - "phpstan/phpdoc-parser": "^0.3.0", - "phpunit/phpunit": "^7.3", + "phpdocumentor/reflection-docblock": "*", + "phpstan/phpdoc-parser": "*", + "phpunit/phpunit": "^7.3 || ^8.4", "phpstan/phpstan": "^0.12", "friendsofphp/php-cs-fixer": "^2.12" } diff --git a/tests/Collection/SizeTest.php b/tests/Collection/SizeTest.php index 490bf89..b750e29 100644 --- a/tests/Collection/SizeTest.php +++ b/tests/Collection/SizeTest.php @@ -26,6 +26,7 @@ public function testSize() })); $this->assertSame(12, size(new class implements \Countable { + #[\ReturnTypeWillChange] public function count() { return 12;
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: