Skip to content

Commit

Permalink
Update rector and fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 committed Jul 28, 2022
1 parent 8f2e7b0 commit d4df6b0
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 66 deletions.
6 changes: 3 additions & 3 deletions composer.json
Expand Up @@ -54,11 +54,11 @@
"phpstan/phpstan-symfony": "^1.0",
"phpstan/phpstan-webmozart-assert": "^1.0",
"phpunit/phpunit": "^9.5",
"psalm/plugin-phpunit": "^0.16",
"psalm/plugin-phpunit": "^0.17",
"psalm/plugin-symfony": "^3.0",
"rector/rector": "^0.12",
"rector/rector": "^0.13",
"symfony/debug-bundle": "^5.4",
"symfony/phpunit-bridge": "^5.4",
"symfony/phpunit-bridge": "^6.1",
"symfony/stopwatch": "^5.4",
"symfony/var-dumper": "^5.4",
"symfony/web-profiler-bundle": "^5.4",
Expand Down
119 changes: 58 additions & 61 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rector.php
Expand Up @@ -27,7 +27,7 @@
]);

$rectorConfig->importNames();
$rectorConfig->disableImportShortClasses();
$rectorConfig->importShortClasses(false);
$rectorConfig->skip([
CountOnNullRector::class,
ExceptionHandlerTypehintRector::class,
Expand Down

0 comments on commit d4df6b0

Please sign in to comment.