Skip to content

Commit 29c5512

Browse files
authored
Cap removed-API rules at upper version bound (#798)
1 parent 0e9ea65 commit 29c5512

24 files changed

Lines changed: 88 additions & 8 deletions

File tree

‎rules-tests/PHPUnit100/Rector/StmtsAwareInterface/WithConsecutiveRector/WithConsecutiveRectorTest.php‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,9 @@ public function provideConfigFilePath(): string
2525
{
2626
return __DIR__ . '/config/configured_rule.php';
2727
}
28+
29+
protected function provideComposerJsonFilePath(): string
30+
{
31+
return __DIR__ . '/config/composer.json';
32+
}
2833
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"phpunit/phpunit": "^10.0"
4+
}
5+
}

‎rules-tests/PHPUnit50/Rector/StaticCall/GetMockRector/GetMockRectorTest.php‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,9 @@ public function provideConfigFilePath(): string
2525
{
2626
return __DIR__ . '/config/configured_rule.php';
2727
}
28+
29+
protected function provideComposerJsonFilePath(): string
30+
{
31+
return __DIR__ . '/config/composer.json';
32+
}
2833
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"phpunit/phpunit": "^5.4"
4+
}
5+
}

‎rules-tests/PHPUnit60/Rector/ClassMethod/ExceptionAnnotationRector/ExceptionAnnotationRectorTest.php‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,9 @@ public function provideConfigFilePath(): string
2525
{
2626
return __DIR__ . '/config/configured_rule.php';
2727
}
28+
29+
protected function provideComposerJsonFilePath(): string
30+
{
31+
return __DIR__ . '/config/composer.json';
32+
}
2833
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"phpunit/phpunit": "^5.2"
4+
}
5+
}

‎rules-tests/PHPUnit60/Rector/MethodCall/DelegateExceptionArgumentsRector/DelegateExceptionArgumentsRectorTest.php‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,9 @@ public function provideConfigFilePath(): string
2525
{
2626
return __DIR__ . '/config/configured_rule.php';
2727
}
28+
29+
protected function provideComposerJsonFilePath(): string
30+
{
31+
return __DIR__ . '/config/composer.json';
32+
}
2833
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"phpunit/phpunit": "^5.2"
4+
}
5+
}

‎rules-tests/PHPUnit80/Rector/MethodCall/AssertEqualsParameterToSpecificMethodsTypeRector/AssertEqualsParameterToSpecificMethodsTypeRectorTest.php‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,9 @@ public function provideConfigFilePath(): string
2525
{
2626
return __DIR__ . '/config/configured_rule.php';
2727
}
28+
29+
protected function provideComposerJsonFilePath(): string
30+
{
31+
return __DIR__ . '/config/composer.json';
32+
}
2833
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"phpunit/phpunit": "^7.5"
4+
}
5+
}

0 commit comments

Comments
 (0)