We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7159a5 commit 98c4a04Copy full SHA for 98c4a04
composer.json
@@ -9,7 +9,7 @@
9
},
10
"require-dev": {
11
"phpstan/phpstan": "0.12.85",
12
- "irstea/phpunit-shim": "^7.5 || ^8.0",
+ "irstea/phpunit-shim": "^9.5",
13
"phpstan/extension-installer": "^1.0",
14
"phpstan/phpstan-strict-rules": "^0.12.4"
15
tests/phpunit/tag/CompoundTagTest.php
@@ -44,7 +44,7 @@ public function testIteration() : void{
44
*/
45
foreach($tag as $name => $value){
46
// we used to get other stuff when iterating, like the tag's __name property (before Iterator was implemented by CompoundTag)
47
- self::assertRegExp('/hello[0-9]/', $name);
+ self::assertMatchesRegularExpression('/hello[0-9]/', $name);
48
self::assertInstanceOf(StringTag::class, $value);
49
++$count;
50
}
0 commit comments