Skip to content

Commit dd7bd75

Browse files
committed
Fix build
1 parent 9b4b885 commit dd7bd75

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"require": {
99
"php": "~7.1",
10-
"phpstan/phpstan": "^0.12"
10+
"phpstan/phpstan": "^0.12.26"
1111
},
1212
"require-dev": {
1313
"consistence/coding-standard": "^3.0.1",

tests/Rules/Deprecations/CallToDeprecatedMethodRuleTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ public function testDeprecatedMethodCall(): void
2424
'Call to deprecated method deprecatedFoo() of class CheckDeprecatedMethodCall\Foo.',
2525
7,
2626
],
27-
[
28-
'Call to deprecated method deprecatedFoo() of class CheckDeprecatedMethodCall\Bar.',
29-
10,
30-
],
3127
[
3228
'Call to deprecated method deprecatedFoo2() of class CheckDeprecatedMethodCall\Foo.',
3329
11,

tests/Rules/Deprecations/CallToDeprecatedStaticMethodRuleTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ public function testDeprecatedStaticMethodCall(): void
2828
'Call to deprecated method deprecatedFoo() of class CheckDeprecatedStaticMethodCall\Foo.',
2929
6,
3030
],
31-
[
32-
'Call to deprecated method deprecatedFoo() of class CheckDeprecatedStaticMethodCall\Bar.',
33-
8,
34-
],
3531
[
3632
'Call to deprecated method deprecatedFoo2() of class CheckDeprecatedStaticMethodCall\Foo.',
3733
9,
@@ -64,6 +60,10 @@ public function testDeprecatedStaticMethodCall(): void
6460
"Call to deprecated method deprecatedWithDescription() of class CheckDeprecatedStaticMethodCall\Foo:\nThis is probably a singleton.",
6561
16,
6662
],
63+
[
64+
'Call to deprecated method deprecatedFoo() of class CheckDeprecatedStaticMethodCall\Foo.',
65+
24,
66+
],
6767
]
6868
);
6969
}

0 commit comments

Comments
 (0)