Skip to content

Releases: driftingly/rector-laravel

2.1.9

25 Dec 23:31

Choose a tag to compare

What's Changed

  • Bump to rector ^2.3.0 and migrate FileWithoutNamespace to FileNode by @samsonasik in #452

Full Changelog: 2.1.8...2.1.9

2.1.8

17 Dec 15:28

Choose a tag to compare

What's Changed

  • Stricter checks for converting startOfDay() to today() by @philo23 in #449
  • [Feature] Where comparison to null refactored whereNull rule by @peterfox in #450

New Contributors

Full Changelog: 2.1.7...2.1.8

2.1.7

10 Dec 11:30

Choose a tag to compare

What's Changed

  • Additional Analysers for Models/Query Builder by @peterfox in #438
  • Move beforeTraverse() to global Node since beforeTraverse() not overrideable by @samsonasik in #443

Full Changelog: 2.1.6...2.1.7

2.1.6

04 Dec 13:37

Choose a tag to compare

What's Changed

  • Reduce NodeVisitor::DONT_TRAVERSE_* usage on ArrayToArrGetRector, ReplaceFakerInstanceWithHelperRector, ServerVariableToRequestFacadeRector, RequestVariablesToRequestFacadeRector, SessionVariableToSessionFacadeRector and ArrayToArrGetRector by @samsonasik in
  • chore: clean up app to resolve by @calebdw in #434

Full Changelog: 2.1.5...2.1.6

2.1.5

02 Dec 00:53

Choose a tag to compare

What's Changed

Full Changelog: 2.1.4...2.1.5

2.1.4

30 Nov 21:38

Choose a tag to compare

What's Changed

  • fix: Ensure reset key of stmts/args before returning node when there is unset by key by @samsonasik in #424
  • fix: deficiencies in the EloquentMagicMethodToQueryBuilderRector by @calebdw in #422
  • fix: PHPStan error in ApplicationAnalyzer by @peterfox in #427
  • feat: add app to resolve rector by @calebdw in #430
  • fix: bugs in eloquent magic method to query builder rector by @calebdw in #431
  • fix: enhance ArrayToArrGetRector to skip isset, empty checks, and assignments by @MrPunyapal in #426

Full Changelog: 2.1.3...2.1.4

2.1.3

04 Nov 18:32

Choose a tag to compare

Bugfixes 🐛

  • fix: add missing webmozart/assert dependency by @calebdw in #420

Full Changelog: 2.1.2...2.1.3

2.1.2

31 Oct 21:56

Choose a tag to compare

Bugfixes 🐛

  • fix: property/variable static calls, EloquentMagicMethodToQueryBuilderRector by @parth391 in #406
  • [Issue 411] - Fix and refactor ThrowIfRector rule by @Androoha1 in #415

Extras ⚙️

New Contributors

Full Changelog: 2.1.1...2.1.2

2.1.1

23 Oct 13:53

Choose a tag to compare

Extras ⚙️

  • Remove AttributeGroupNewLiner usage as removed in rector:dev-main by @samsonasik in #413

Full Changelog: 2.1.0...2.1.1

2.1.0

12 Oct 21:51

Choose a tag to compare

New Rules & Features 🚀

  • feat: add ArrayToArrGetRector by @MrPunyapal in #382
  • chore: move orphaned rules into sets by @calebdw in #377
  • Refactor Carbon static calls to Date Facade by @imliam in #402
  • Refactor config() calls to use type-specific methods when the expected type is known by @imliam in #399

Bugfixes 🐛

  • fix: ContainerBindConcreteWithClosureOnlyRector Rule when the abstract is a variable by @jf-m in #386
  • fix: skip rule when its overriding the method by @canvural in #387
  • fix: use scope to get the correct type in ConvertEnumerableToArrayToAllRector by @calebdw in #384
  • fix: skip scope method that is not a scope by @calebdw in #380
  • fix: bugs in ServerVariableToRequestFacadeRector by @calebdw in #392
  • fix: skip first class callable in DispatchToHelperFunctionsRector by @calebdw in #391
  • Exclude Request::input calls from ApplyDefaultInsteadOfNullCoalesceRector by @GeniJaho in #393
  • fix: make EloquentOrderByToLatestOrOldestRector more robust by @calebdw in #395
  • Fix interpolation processing in ValidationRuleArrayStringValueToArrayRector by @GeniJaho in #396
  • Fix DispatchToHelperFunctionsRector when dispatching within self by @GeniJaho in #407

New Contributors

Full Changelog: 2.0.7...2.1.0