Skip to content
Merged
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
10 changes: 10 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use Rector\CodeQuality\Rector\If_\ExplicitBoolCompareRector;
use Rector\CodingStyle\Rector\Assign\SplitDoubleAssignRector;
use Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector;
use Rector\CodingStyle\Rector\ClassMethod\MakeInheritedMethodVisibilitySameAsParentRector;
use Rector\CodingStyle\Rector\Stmt\NewlineAfterStatementRector;
use Rector\Config\RectorConfig;
use Rector\DeadCode\Rector\ClassMethod\RemoveUselessReturnTagRector;
Expand Down Expand Up @@ -52,4 +53,13 @@
NewlineAfterStatementRector::class,
ExplicitBoolCompareRector::class,
TypedPropertyFromCreateMockAssignRector::class,

// Parent SimpleBakeCommand::buildOptionParser() switched from public
// to protected in cakephp/bake 3.6.4. Narrowing this override would
// break installs on bake 3.2 - 3.6.3 since PHP forbids reducing a
// parent's visibility. Keeping the override public is forward- and
// backward-compatible (widening is always allowed).
MakeInheritedMethodVisibilitySameAsParentRector::class => [
__DIR__ . '/src/Command/PolicyCommand.php',
],
]);
Loading