Skip to content

Commit 5922510

Browse files
authored
Merge pull request #29 from stof/phpstan_2
Upgrade phpstan to version 2
2 parents 40e789e + 833f261 commit 5922510

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
"symfony/http-kernel": "^6.4 || ^7.0"
2222
},
2323
"require-dev": {
24-
"jangregor/phpstan-prophecy": "^1.0",
24+
"jangregor/phpstan-prophecy": "^2.2",
2525
"phpspec/prophecy-phpunit": "^2.0",
26-
"phpstan/phpstan": "^1.5",
27-
"phpstan/phpstan-deprecation-rules": "^1.0",
28-
"phpstan/phpstan-phpunit": "^1.0",
29-
"phpstan/phpstan-symfony": "^1.1",
26+
"phpstan/phpstan": "^2.1",
27+
"phpstan/phpstan-deprecation-rules": "^2.0",
28+
"phpstan/phpstan-phpunit": "^2.0",
29+
"phpstan/phpstan-symfony": "^2.0",
3030
"phpunit/phpunit": "^9.6.29",
3131
"symfony/phpunit-bridge": "^7.3.4",
3232
"webmozart/assert": "^1.12"

tests/CacheWarmer/HashCacheWarmerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ public function testWarmUp()
4848

4949
$values = $fallbackPool->getValues();
5050

51-
$this->assertIsArray($values);
5251
$this->assertCount(2, $values);
5352
$this->assertArrayHasKey(base64_encode('foo'), $values);
5453
$this->assertArrayHasKey(base64_encode('bar/baz.js'), $values);

0 commit comments

Comments
 (0)