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
2 changes: 1 addition & 1 deletion config/sets/phpunit130.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
return static function (RectorConfig $rectorConfig): void {
$rectorConfig->ruleWithConfiguration(RenameMethodRector::class, [
// @see https://github.com/sebastianbergmann/phpunit/issues/6560
new MethodCallRename('PHPUnit\Framework\TestClass', 'expectExceptionMessage', 'expectExceptionMessageIsOrContains'),
new MethodCallRename('PHPUnit\Framework\TestCase', 'expectExceptionMessage', 'expectExceptionMessageIsOrContains'),
]);
};
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ final class AssertComparisonToSpecificMethodRector extends AbstractRector
/**
* @var BinaryOpWithAssertMethod[]
*/
private array $binaryOpWithAssertMethods = [];
private readonly array $binaryOpWithAssertMethods;

public function __construct(
private readonly IdentifierManipulator $identifierManipulator,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ final class AssertSameBoolNullToSpecificMethodRector extends AbstractRector
/**
* @var ConstantWithAssertMethods[]
*/
private array $constantWithAssertMethods = [];
private readonly array $constantWithAssertMethods;

public function __construct(
private readonly IdentifierManipulator $identifierManipulator,
Expand Down
Loading