drevops / behat-steps

🧪 A collection of Behat step definitions for Drupal
GNU General Public License v3.0
18 stars 13 forks source link

chore(deps): update dependency palantirnet/drupal-rector to ^0.18 #150

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 11 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
palantirnet/drupal-rector ^0.15 -> ^0.18 age adoption passing confidence

Release Notes

palantirnet/drupal-rector (palantirnet/drupal-rector) ### [`v0.18.2`](https://togithub.com/palantirnet/drupal-rector/releases/tag/0.18.2) [Compare Source](https://togithub.com/palantirnet/drupal-rector/compare/0.18.1...0.18.2) #### New rector - Add rector for system_time_zones by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/271](https://togithub.com/palantirnet/drupal-rector/pull/271) #### What's Changed - Link packagist version shield to package on packagist.org by [@​kasperg](https://togithub.com/kasperg) in [https://github.com/palantirnet/drupal-rector/pull/269](https://togithub.com/palantirnet/drupal-rector/pull/269) #### New Contributors - [@​kasperg](https://togithub.com/kasperg) made their first contribution in [https://github.com/palantirnet/drupal-rector/pull/269](https://togithub.com/palantirnet/drupal-rector/pull/269) **Full Changelog**: https://github.com/palantirnet/drupal-rector/compare/0.18.1...0.18.2 ### [`v0.18.1`](https://togithub.com/palantirnet/drupal-rector/releases/tag/0.18.1) [Compare Source](https://togithub.com/palantirnet/drupal-rector/compare/0.18.0...0.18.1) #### New rector - Add $defaultTheme property if missing on BrowserTestBase by [@​mglaman](https://togithub.com/mglaman) in [https://github.com/palantirnet/drupal-rector/pull/211](https://togithub.com/palantirnet/drupal-rector/pull/211) #### What's Changed - Update README.md by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/264](https://togithub.com/palantirnet/drupal-rector/pull/264) - Restructure rules by major and generate rule list (docs) by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/267](https://togithub.com/palantirnet/drupal-rector/pull/267) - Fix db_query.php expected test. by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/268](https://togithub.com/palantirnet/drupal-rector/pull/268) - Update README-automated-testing.md by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/266](https://togithub.com/palantirnet/drupal-rector/pull/266) - Add php-cs-fixer by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/265](https://togithub.com/palantirnet/drupal-rector/pull/265) - Add $defaultTheme property if missing on BrowserTestBase by [@​mglaman](https://togithub.com/mglaman) in [https://github.com/palantirnet/drupal-rector/pull/211](https://togithub.com/palantirnet/drupal-rector/pull/211) **Full Changelog**: https://github.com/palantirnet/drupal-rector/compare/0.18.0...0.18.1 ### [`v0.18.0`](https://togithub.com/palantirnet/drupal-rector/releases/tag/0.18.0) [Compare Source](https://togithub.com/palantirnet/drupal-rector/compare/0.15.1...0.18.0) #### Release highlights This release of Drupal Rector introduces backwards compatible fixes for new rectors that target deprecations in Drupal 10. This is made possible by using the new `DeprecationHelper` class introduced in Drupal 10.1. We also worked on making the code more sustainable by employing `ConfigurableRectorInterface`. This interface allows passing configuration to a rector to set certain variables. This means it is easier to reuse rectors that for example rewrite a function to a static call without introducing new code. Rector has also been upgraded from 0.15 to 0.18, bringing a lot of improvement, but also making it harder to add comments to code generated by Rector. This there are instances where the previous version added comments, that the current does not. - Support for Drupal 10 deprecations and testing by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/252](https://togithub.com/palantirnet/drupal-rector/pull/252) - Support for backwards compatible rector rules and version scoping of rules by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/250](https://togithub.com/palantirnet/drupal-rector/pull/250) #### Upgrade notes Because rector moved to Laravel dependency injection a new version of `rector.php` must be copies/configured in your project root. #### New rectors - Issue [#​3354343](https://togithub.com/palantirnet/drupal-rector/issues/3354343): Add TwigSetList::TWIG\_240 to D9 deprecations. by [@​m4olivei](https://togithub.com/m4olivei) in [https://github.com/palantirnet/drupal-rector/pull/223](https://togithub.com/palantirnet/drupal-rector/pull/223) - Add new Rector for system_sort_modules_by_info_name() by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/253](https://togithub.com/palantirnet/drupal-rector/pull/253) - module_load_install() is deprecated in 9.4 and removed in 10. by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/239](https://togithub.com/palantirnet/drupal-rector/pull/239) - Implement watchdog_exception rector by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/262](https://togithub.com/palantirnet/drupal-rector/pull/262) - 9.3 Multiple taxonomy rectors by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/254](https://togithub.com/palantirnet/drupal-rector/pull/254) #### What's Changed - Remove NodesToAddCollector by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/225](https://togithub.com/palantirnet/drupal-rector/pull/225) - Remove dependency on rector-src by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/236](https://togithub.com/palantirnet/drupal-rector/pull/236) - Update PHPUnit configuration by [@​agentrickard](https://togithub.com/agentrickard) in [https://github.com/palantirnet/drupal-rector/pull/237](https://togithub.com/palantirnet/drupal-rector/pull/237) - Phase 1 - Refactor to support Rector 0.17 by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/238](https://togithub.com/palantirnet/drupal-rector/pull/238) - Simplify codebase: replace EntityLoadBase with configurable rule by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/228](https://togithub.com/palantirnet/drupal-rector/pull/228) - Refactor AssertLegacyTraitBase and ConstantToClassConstantBase to configurable rule by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/229](https://togithub.com/palantirnet/drupal-rector/pull/229) - Improve AssertNoFieldByIdRector by [@​mglaman](https://togithub.com/mglaman) in [https://github.com/palantirnet/drupal-rector/pull/213](https://togithub.com/palantirnet/drupal-rector/pull/213) - Create FunctionToServiceRector to replace all function to service call deprecations by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/242](https://togithub.com/palantirnet/drupal-rector/pull/242) - New StaticToFunctionRector to replace StaticToFunctionBase by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/243](https://togithub.com/palantirnet/drupal-rector/pull/243) - Remove single use FunctionToImmutableConfigBase by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/245](https://togithub.com/palantirnet/drupal-rector/pull/245) - StaticArgumentRenameBase and DrupalServiceRenameBase are now covered with StaticArgumentRenameRector by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/241](https://togithub.com/palantirnet/drupal-rector/pull/241) - New ExtensionPathRector to replace ExtensionPathBase by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/244](https://togithub.com/palantirnet/drupal-rector/pull/244) - New DBRector to replace DbBase with configurable rector. by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/246](https://togithub.com/palantirnet/drupal-rector/pull/246) - GetMockRector as configurable rule by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/248](https://togithub.com/palantirnet/drupal-rector/pull/248) - Upgrade to PHPStan level 6 by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/249](https://togithub.com/palantirnet/drupal-rector/pull/249) - MethodToMethodWithCheckRector to replace methods with a certainty check by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/247](https://togithub.com/palantirnet/drupal-rector/pull/247) - Refactor Base\FunctionToStatic to configurable rule. by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/251](https://togithub.com/palantirnet/drupal-rector/pull/251) - Upgrade to Rector 0.18.x by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/240](https://togithub.com/palantirnet/drupal-rector/pull/240) - Refactored BC rules with configuration by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/255](https://togithub.com/palantirnet/drupal-rector/pull/255) - Add better labels to readme by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/256](https://togithub.com/palantirnet/drupal-rector/pull/256) - Add failing unit test for ExtensionPathRector when assining by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/258](https://togithub.com/palantirnet/drupal-rector/pull/258) - Add WatchdogExceptionRector the 10.1 setlist by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/263](https://togithub.com/palantirnet/drupal-rector/pull/263) - PHPUnit deprecations should be checked in Drupal 9 to 10 by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/261](https://togithub.com/palantirnet/drupal-rector/pull/261) - Fix MethodToMethodWithCheckRector by also matching on MethodCall. by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/260](https://togithub.com/palantirnet/drupal-rector/pull/260) - ExtensionPathRector does not handle Assignments by [@​bbrala](https://togithub.com/bbrala) in [https://github.com/palantirnet/drupal-rector/pull/259](https://togithub.com/palantirnet/drupal-rector/pull/259) #### New Contributors - [@​m4olivei](https://togithub.com/m4olivei) made their first contribution in [https://github.com/palantirnet/drupal-rector/pull/223](https://togithub.com/palantirnet/drupal-rector/pull/223) **Full Changelog**: https://github.com/palantirnet/drupal-rector/compare/0.15.1...0.18.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 10 months ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (^0.18). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.