Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@ public function provideConfigFilePath(): string
{
return __DIR__ . '/config/configured_rule.php';
}

protected function provideComposerJsonFilePath(): string
{
return __DIR__ . '/config/composer.json';
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": {
"phpunit/phpunit": "^10.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@ public function provideConfigFilePath(): string
{
return __DIR__ . '/config/configured_rule.php';
}

protected function provideComposerJsonFilePath(): string
{
return __DIR__ . '/config/composer.json';
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": {
"phpunit/phpunit": "^5.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@ public function provideConfigFilePath(): string
{
return __DIR__ . '/config/configured_rule.php';
}

protected function provideComposerJsonFilePath(): string
{
return __DIR__ . '/config/composer.json';
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": {
"phpunit/phpunit": "^5.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@ public function provideConfigFilePath(): string
{
return __DIR__ . '/config/configured_rule.php';
}

protected function provideComposerJsonFilePath(): string
{
return __DIR__ . '/config/composer.json';
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": {
"phpunit/phpunit": "^5.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@ public function provideConfigFilePath(): string
{
return __DIR__ . '/config/configured_rule.php';
}

protected function provideComposerJsonFilePath(): string
{
return __DIR__ . '/config/composer.json';
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": {
"phpunit/phpunit": "^7.5"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@ public function provideConfigFilePath(): string
{
return __DIR__ . '/config/configured_rule.php';
}

protected function provideComposerJsonFilePath(): string
{
return __DIR__ . '/config/composer.json';
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": {
"phpunit/phpunit": "^7.5"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@ public function provideConfigFilePath(): string
{
return __DIR__ . '/config/configured_rule.php';
}

protected function provideComposerJsonFilePath(): string
{
return __DIR__ . '/config/composer.json';
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": {
"phpunit/phpunit": "^7.5"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@ public function provideConfigFilePath(): string
{
return __DIR__ . '/config/configured_rule.php';
}

protected function provideComposerJsonFilePath(): string
{
return __DIR__ . '/config/composer.json';
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": {
"phpunit/phpunit": "^9.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ final class WithConsecutiveRector extends AbstractRector implements ComposerPack
*/
public function provideComposerPackageConstraint(): ComposerPackageConstraint
{
return new ComposerPackageConstraint('phpunit/phpunit', '>=10.0');
return new ComposerPackageConstraint('phpunit/phpunit', '>=10.0 <12.0');
}

public function __construct(
Expand Down
2 changes: 1 addition & 1 deletion rules/PHPUnit50/Rector/StaticCall/GetMockRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ final class GetMockRector extends AbstractRector implements ComposerPackageConst
*/
public function provideComposerPackageConstraint(): ComposerPackageConstraint
{
return new ComposerPackageConstraint('phpunit/phpunit', '>=5.4');
return new ComposerPackageConstraint('phpunit/phpunit', '>=5.4 <8.0');
}

public function __construct(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class ExceptionAnnotationRector extends AbstractRector implements Composer
*/
public function provideComposerPackageConstraint(): ComposerPackageConstraint
{
return new ComposerPackageConstraint('phpunit/phpunit', '>=5.2');
return new ComposerPackageConstraint('phpunit/phpunit', '>=5.2 <11.0');
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ final class DelegateExceptionArgumentsRector extends AbstractRector implements C
*/
public function provideComposerPackageConstraint(): ComposerPackageConstraint
{
return new ComposerPackageConstraint('phpunit/phpunit', '>=5.2');
return new ComposerPackageConstraint('phpunit/phpunit', '>=5.2 <8.0');
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ final class AssertEqualsParameterToSpecificMethodsTypeRector extends AbstractRec
*/
public function provideComposerPackageConstraint(): ComposerPackageConstraint
{
return new ComposerPackageConstraint('phpunit/phpunit', '>=7.5');
return new ComposerPackageConstraint('phpunit/phpunit', '>=7.5 <11.0');
}

public function __construct(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ final class SpecificAssertContainsRector extends AbstractRector implements Compo
*/
public function provideComposerPackageConstraint(): ComposerPackageConstraint
{
return new ComposerPackageConstraint('phpunit/phpunit', '>=7.5');
return new ComposerPackageConstraint('phpunit/phpunit', '>=7.5 <11.0');
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ final class SpecificAssertInternalTypeRector extends AbstractRector implements C
*/
public function provideComposerPackageConstraint(): ComposerPackageConstraint
{
return new ComposerPackageConstraint('phpunit/phpunit', '>=7.5');
return new ComposerPackageConstraint('phpunit/phpunit', '>=7.5 <11.0');
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ final class SpecificAssertContainsWithoutIdentityRector extends AbstractRector i
*/
public function provideComposerPackageConstraint(): ComposerPackageConstraint
{
return new ComposerPackageConstraint('phpunit/phpunit', '>=9.0');
return new ComposerPackageConstraint('phpunit/phpunit', '>=9.0 <11.0');
}

/**
Expand Down
Loading