Releases: driftingly/rector-laravel
Releases · driftingly/rector-laravel
2.0.1
New Rules & Features 🚀
- New Rule to use the
whereLikeclause in Laravel 11.x by @GeniJaho in #267 - Session variable to Session Facade by @peterfox in #281
- Improve request input refactor by @peterfox in #283
- Adds ServerVariableToRequestFacadeRector rule by @peterfox in #282
Bugfixes 🐛
- AddGenericReturnTypeToRelationsRector fix for chained relation call by @rudiedirkx in #280
New Contributors
- @rudiedirkx made their first contribution in #280
Full Changelog: 2.0.0...2.0.1
2.0.0
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
MigrateToSimplifiedAttributeRectorto Laravel 9 set by @maks-oleksyuk in #275 - Adds a new
RectorLaravel\AbstractRectorclass that replaces the coreAbstractRectorand implements theDocumentedRuleInterface.
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
1.2.5
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 🐛
- Update ignored PHPStan error by @GeniJaho in #253
- Fix rule AnonymousMigrationsRector by @GeniJaho in #260
Extras ⚙️
- Add Caneco to the contribution section by @peterfox in #256
- Add banner image to readme by @driftingly in #257
- Update docs by @GeniJaho in #262
New Contributors
Full Changelog: 1.2.4...1.2.5
1.2.4
1.2.3
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
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 🐛
- Update docs by @GeniJaho in #238
- Update code example in README.md by @GeniJaho in #241
- Handle Carbon setTestNow with no arguments by @GeniJaho in #242
- Fix Argument Adding rules in Laravel 9 set by @GeniJaho in #243
New Contributors 🥳
Full Changelog: 1.2.1...1.2.2
1.2.1
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 🥳
- @megawubs made their first contribution in #225
- @spawnia made their first contribution in #233
- @Sparclex made their first contribution in #224
Full Changelog: 1.2.0...1.2.1
1.2.0
What's Changed
Full Changelog: 1.1.1...1.2.0
1.1.1
What's Changed
- Remove redundant ArgumentAdderRector for nullable arguments by @GeniJaho in #203
- Update readme to add contributors by @driftingly in #204
- Bugfix when queueing closures they were mistaken as non-queable jobs by @j3j5 in #206
- Fix typos by @szepeviktor in #207
- Fix JsonCallToExplicitJsonCallRector by skipping invalid GET requests by @GeniJaho in #211
New Contributors
- @j3j5 made their first contribution in #206
- @szepeviktor made their first contribution in #207
Full Changelog: 1.1.0...1.1.1