Skip to content

Commit

Permalink
Update rector/rector requirement from ^0.14.3 to ^0.15.1 (#175)
Browse files Browse the repository at this point in the history
* Update rector/rector requirement from ^0.14.3 to ^0.15.1

Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@0.14.3...0.15.1)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
  • Loading branch information
dependabot[bot] and vjik committed Feb 27, 2023
1 parent 62c33ce commit e1c31b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -51,7 +51,7 @@
"maglnet/composer-require-checker": "^4.2",
"nyholm/psr7": "^1.3",
"phpunit/phpunit": "^9.4",
"rector/rector": "^0.14.3",
"rector/rector": "^0.15.18",
"roave/infection-static-analysis-plugin": "^1.16",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.30|^5.7",
Expand Down
4 changes: 4 additions & 0 deletions rector.php
Expand Up @@ -19,4 +19,8 @@
$rectorConfig->sets([
LevelSetList::UP_TO_PHP_80,
]);

$rectorConfig->skip([
__DIR__ . '/tests/DumperTest.php',
]);
};
6 changes: 0 additions & 6 deletions tests/DumperTest.php
Expand Up @@ -82,19 +82,13 @@ public function jsonDataProvider(): array
$staticShortFunctionObjectId = spl_object_id($staticShortFunctionObject);

// @formatter:off
/**
* @noRector
*/
$functionObject = function () {
return 1;
};
// @formatter:on
$functionObjectId = spl_object_id($functionObject);

// @formatter:off
/**
* @noRector
*/
$staticFunctionObject = static function () {
return 1;
};
Expand Down

0 comments on commit e1c31b7

Please sign in to comment.