Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 18, 2022

Updates the requirements on rector/rector to permit the latest version.

Release notes

Sourced from rector/rector's releases.

Released Rector 0.12.21

New RectorConfig to configure your rector.php Without Effort!

  • Add RectorConfig for custom configuration methods (#2019) (#2063)

Before

use Rector\Core\Configuration\Option;
use Rector\Php74\Rector\Property\TypedPropertyRector;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $containerConfigurator): void {
$parameters = $containerConfigurator->parameters();
$parameters->set(Option::PARALLEL, true);
$parameters->set(Option::AUTO_IMPORT_NAMES, true);
$services = $containerConfigurator->services();
$services->set(TypedPropertyRector::class);

};

Now

use Rector\Php74\Rector\Property\TypedPropertyRector;
use Rector\Config\RectorConfig;
return static function (RectorConfig $rectorConfig): void {
$rectorConfig->parallel();
$rectorConfig->importNames();
$rectorConfig->rule(TypedPropertyRector::class);

};

New Features 🎉

  • Add new rule to add explicit public scope to unscoped class methods (#2022), Thanks @​Firehed!
  • [Transform] Add FileGetContentsAndJsonDecodeToStaticCallRector (#2059)
  • Add VarAnnotationIncorrectNullableRector for fixing incorrect null type in @​var (#2053), Thanks @​dorrogeray!
  • Add ReturnAnnotationIncorrectNullableRector for fixing incorrect null type in @​return (#2060), Thanks @​dorrogeray!
  • [TypeDeclaration] Make TypedPropertyFromAssignsRector configurable with INLINE_PUBLIC (#2052), Thanks @​samsonasik!
  • Add ParamAnnotationIncorrectNullableRector for fixing incorrect null type in @​param (#2069), Thanks @​dorrogeray!
  • Add configurable InlineSimplePropertyAnnotationRector for inlining of simple annotations (#2070), Thanks @​dorrogeray!
  • [Php74] Handle standalone false on php >=8 feature enabled on TypedPropertyRector (#2084), Thanks @​samsonasik!

... (truncated)

Commits
  • 2fb3b1c Rector 0.12.21
  • 5a655d6 Updated Rector to commit 11fdd74f8abe3deefbb2492c00868c57184fd484
  • 5d5bb83 Updated Rector to commit c7ff21825ec2c480bba1f09f09d2d650b37de5b4
  • 6bec008 Updated Rector to commit 996caa3f1f7c92c3b811cf51eb2fb887bb27d230
  • 4b9139b Updated Rector to commit b8d06063052510644cd2224cdf468aa2181e78dd
  • 5f10b80 Updated Rector to commit 46d2c00038e83165e8e9b2d773cfa5deb838c243
  • c821b32 Updated Rector to commit 92c2fc1035a6d03fd2b3e3fe7f7d8571ba26b69a
  • 99ecd74 Updated Rector to commit f0cad1a722a091bbc309345d92c2617ced64a130
  • 840e8ec Updated Rector to commit 6cb95c1be3852a2d3295837320335104f0a24438
  • cfa1942 Updated Rector to commit 73bf29c279191373755f08c2fdff45c013443c37
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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.12.20...0.12.21)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update external dependencies php Pull requests that update Php code labels Apr 18, 2022
@samsonasik
Copy link
Member

I cleaned up removed service and updated to use new RectorConfig

@samsonasik samsonasik self-assigned this Apr 18, 2022
samsonasik referenced this pull request in rectorphp/rector-src Apr 18, 2022
…nectingVisitor tags (#2014)

* [PHPStan] Set compatible with upcoming PHPStan 1.6.x with set NodeConnectingVisitor tags

* update phpstan 1.6.x-dev and conditional tags

* try require phpstan/phpstan:1.6.x-dev in packages_tests workflow

* remove ->tag call as register in PHPStan conditionalTags

* clean up tweak packages-tests
@samsonasik samsonasik merged commit a1ee4bd into develop Apr 18, 2022
@samsonasik samsonasik deleted the dependabot/composer/rector/rector-0.12.21 branch April 18, 2022 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update external dependencies php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants