Skip to content

Commit 475abd2

Browse files
authored
Merge pull request #321 from ergebnis/dependabot/composer/rector/rector-2.4.3
composer(deps-dev): Bump rector/rector from 2.2.5 to 2.4.3
2 parents 87f413d + 2f8390a commit 475abd2

3 files changed

Lines changed: 84 additions & 15 deletions

File tree

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,12 @@
3131
"ergebnis/license": "^2.7.0",
3232
"ergebnis/php-cs-fixer-config": "^6.62.1",
3333
"ergebnis/phpunit-slow-test-detector": "^2.24.0",
34+
"ergebnis/rector-rules": "^1.18.1",
3435
"fakerphp/faker": "^1.24.1",
3536
"infection/infection": "~0.27.11",
3637
"phpunit/phpunit": "^10.5.62",
3738
"psalm/plugin-phpunit": "~0.19.0",
38-
"rector/rector": "^2.2.5",
39+
"rector/rector": "^2.4.3",
3940
"vimeo/psalm": "^5.26.1"
4041
},
4142
"autoload": {

composer.lock

Lines changed: 80 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* @see https://github.com/ergebnis/version-constraint
1212
*/
1313

14+
use Ergebnis\Rector;
1415
use Rector\Config;
1516
use Rector\Php81;
1617
use Rector\PHPUnit;
@@ -19,8 +20,6 @@
1920
return static function (Config\RectorConfig $rectorConfig): void {
2021
$rectorConfig->cacheDirectory(__DIR__ . '/.build/rector/');
2122

22-
$rectorConfig->import(__DIR__ . '/vendor/fakerphp/faker/rector-migrate.php');
23-
2423
$rectorConfig->paths([
2524
__DIR__ . '/src/',
2625
__DIR__ . '/test/',
@@ -30,6 +29,7 @@
3029

3130
$rectorConfig->rules([
3231
Php81\Rector\Property\ReadOnlyPropertyRector::class,
32+
Rector\Rules\Faker\GeneratorPropertyFetchToMethodCallRector::class,
3333
]);
3434

3535
$rectorConfig->sets([

0 commit comments

Comments
 (0)