Skip to content

Releases: driftingly/rector-laravel

2.0.2

17 Jan 18:06
Compare
Choose a tag to compare

New Rules & Features πŸš€

  • Upgrade RouteActionCallableRector rule to handle groups by @peterfox in #284
  • Add AvoidNegatedCollectionContainsOrDoesntContainRector by @spawnia in #288
  • Add UnaliasCollectionMethodsRector by @spawnia in #291

Bugfixes πŸ›

  • EloquentWhereTypeHintClosureParameterRector refactor by @peterfox in #290
  • Do not convert to whereLike methods with Expressions by @GeniJaho in #295
  • Skip setting an exception as a default value in ApplyDefaultInsteadOfNullCoalesceRector by @hans-thomas in #294
  • chore: removed migrator from the list as not needed by @MrPunyapal in #296
  • fix: removed all classes which are not bounded to container by @MrPunyapal in #297

Extras βš™οΈ

New Contributors

Full Changelog: 2.0.1...2.0.2

2.0.1

03 Jan 16:28
Compare
Choose a tag to compare

New Rules & Features πŸš€

Bugfixes πŸ›

  • AddGenericReturnTypeToRelationsRector fix for chained relation call by @rudiedirkx in #280

New Contributors

Full Changelog: 2.0.0...2.0.1

2.0.0

12 Dec 15:20
Compare
Choose a tag to compare

Rector Laravel 2.0 πŸš€

Check the release notes of the core Rector 2.0 release, now supporting PHPParser 5 and PHPStan 2.

  • Rector 2.0 support by @GeniJaho in #277
  • Add MigrateToSimplifiedAttributeRector to Laravel 9 set by @maks-oleksyuk in #275
  • Adds a new RectorLaravel\AbstractRector class that replaces the core AbstractRector and implements the DocumentedRuleInterface.

Thank you to @samsonasik, @maks-oleksyuk, and @mwikberg-virta for your help in this release.

Full Changelog: 1.2.6...2.0.0

1.2.6

05 Dec 17:28
Compare
Choose a tag to compare

New Rules & Features πŸš€

  • Remove null coalesce for methods with default argument by @peterfox in #268

Full Changelog: 1.2.5...1.2.6

1.2.5

04 Nov 19:25
Compare
Choose a tag to compare

New Rules & Features πŸš€

  • Add new rule AssertSeeToAssertSeeHtmlRector by @GeniJaho in #251
  • Improvements to the AssertStatusToAssertMethodRector by @peterfox in #255
  • Add ResponseHelperCallToJsonResponseRector by @Stoffo in #252
  • Make RemoveDumpDataDeadCodeRector rule configurable by @jivanf in #258
  • Add migration rules for Laravel 5.3 by @GeniJaho in #261
  • Adds the EnvVariableToEnvHelperRector rule by @peterfox in #264
  • Adds RequestVariablesToRequestFacadeRector rule by @peterfox in #265
  • feat: adjust AddGenericReturnTypeToRelationsRector rule to be able to generate new generic style code by @canvural in #263
  • Laravel 11 new generic types by @GeniJaho in #266

Bugfixes πŸ›

Extras βš™οΈ

New Contributors

Full Changelog: 1.2.4...1.2.5

1.2.4

12 Sep 12:55
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.2.3...1.2.4

1.2.3

09 Sep 21:30
Compare
Choose a tag to compare

Bugfixes πŸ›

  • Bump to Rector 1.2.5 and fix compatible of isObjectType() usage to use ClassLike instead of ClassMethod by @samsonasik in #247

Full Changelog: 1.2.2...1.2.3

1.2.2

02 Sep 19:29
Compare
Choose a tag to compare

New Rules & Features πŸš€

  • Add AvoidNegatedCollectionFilterOrRejectRector by @spawnia in #234
  • Improve documentation about sets by @spawnia in #237
  • Livewire computed property class method to Computed Attribute by @peterfox in #236
  • Add CarbonSetTestNowToTravelToRector rule by @tamiroh in #240
  • Adds the ReverseCondiationableMethodCallRector by @peterfox in #245
  • Adds the TypeHintTappableCallRector by @peterfox in #244

Bugfixes πŸ›

New Contributors πŸ₯³

Full Changelog: 1.2.1...1.2.2

1.2.1

30 Jul 17:02
Compare
Choose a tag to compare

New Rules & Features πŸš€

  • Update README.md with available sets by @GeniJaho in #209
  • Adds the ArrayAccess to Method Call set by @peterfox in #218
  • Update laravel-arrayaccess-to-method-call.php by @peterfox in #226
  • Update laravel-container-string-to-fully-qualified-name.php by @peterfox in #232
  • Livewire set and first rule for QueryString to Url attributes by @peterfox in #222

Bugfixes πŸ›

  • Fix FactoryDefinitionRector to work with arrow functions by @GeniJaho in #214
  • Add missing renames for dispatchNow method on Jobs by @GeniJaho in #219
  • Fix redundant default arguments in Laravel 9 Set by @GeniJaho in #221
  • Use FullyQualified for class instead of Name by @megawubs in #225
  • Update laravel-container-string-to-fully-qualified-name.php by @peterfox in #227
  • Fix test reference in AssertStatusToAssertMethodRector by @spawnia in #233
  • Add failing test for jobs imported as alias by @Sparclex in #224
  • Fix DispatchNonShouldQueueToDispatchSyncRector for aliased jobs by @GeniJaho in #230
  • Clean up via rector / linting by @peterfox in #223
  • Fix code style by @GeniJaho in #229
  • Fix JSON GET calls with the route helper by @GeniJaho in #231

New Contributors πŸ₯³

Full Changelog: 1.2.0...1.2.1

1.2.0

03 May 16:09
Compare
Choose a tag to compare

What's Changed

  • Remove redundant rule in laravel-static-to-injection set by @GeniJaho in #208

Full Changelog: 1.1.1...1.2.0