Skip to content

Commit

Permalink
Merge branch 'master' into crud
Browse files Browse the repository at this point in the history
  • Loading branch information
xepozz authored Oct 4, 2023
2 parents fff3b01 + d0be050 commit 42b15c4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"jetbrains/phpstorm-attributes": "^1.0",
"nyholm/psr7": "^1.5",
"phpunit/phpunit": "^10.2",
"rector/rector": "^0.17.7",
"rector/rector": "^0.18.4",
"roave/infection-static-analysis-plugin": "^1.23",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^5.13",
Expand Down
2 changes: 0 additions & 2 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
use Rector\Config\RectorConfig;
use Rector\Php56\Rector\FunctionLike\AddDefaultValueForUndefinedVariableRector;
use Rector\Php71\Rector\FuncCall\RemoveExtraParametersRector;
use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector;
use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector;
Expand All @@ -26,7 +25,6 @@

$rectorConfig->skip([
ClosureToArrowFunctionRector::class,
AddDefaultValueForUndefinedVariableRector::class,
NullToStrictStringFuncCallArgRector::class,
RemoveExtraParametersRector::class => [__DIR__ . '/src/Generator/AbstractGenerator.php'],
]);
Expand Down
2 changes: 1 addition & 1 deletion src/Generator/ActiveRecord/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function __construct(
Aliases $aliases,
ValidatorInterface $validator,
ParametersProvider $parametersProvider,
private ConnectionInterface $connection,
private readonly ConnectionInterface $connection,
) {
parent::__construct($aliases, $validator, $parametersProvider);
}
Expand Down

0 comments on commit 42b15c4

Please sign in to comment.