Commit Graph

72 Commits

Author SHA1 Message Date
Tomas Votruba 7141ae6e56 Updated Rector to commit 8281a06bc8432d9d7f8e20842e3961df99a277bc
8281a06bc8 [PHP 7.2] Add error suppres support to each() rule (#5844)
2024-04-24 08:56:31 +00:00
Tomas Votruba 28f5dbde13 Updated Rector to commit c14f8d45175bd4c10fef503e350d677c4a73ce29
c14f8d4517 [Php72][TypeDeclaration] Rollback tweak infinite loop handling on DeclareStrictTypesRector (#5700)
2024-03-08 06:34:02 +00:00
Tomas Votruba e4d714cf5f Updated Rector to commit f7caedf1b61070322bfb44bb266fbf26f8c993d3
f7caedf1b6 [Performance][PhpParser] Deprecate InlineCodeParser::parse(), extract into parseFile() and parseString() (#5482)
2024-01-23 09:41:00 +00:00
Tomas Votruba 7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba 9ccb6367c0 Updated Rector to commit 9b03d8367cd3c69b36b8b1aedf458b191f46655a
9b03d8367c [TypeDeclaration] Add ReturnUnionTypeRector (#4655)
2023-08-05 10:29:33 +00:00
Tomas Votruba 9bef88551a Updated Rector to commit a771c5621971eb1c527c75de17119a82ac8294e6
a771c56219 [DX] Remove autowrapping of expr/stmt to make return values in the same type and reliable (#4466)
2023-07-09 17:30:30 +00:00
Tomas Votruba 503a6059f8 Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
a8922f7431 skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba 3313a231b7 Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
bb609b28e3 [Core] Always reset stopTraversal to false on next Rector visit (#4182)
2023-06-11 14:17:34 +00:00
Tomas Votruba 917ce32d7a Updated Rector to commit ddcc807ffcdf24c49889125682d1bcb223387d09
ddcc807ffc Make use of REMOVE_NODE return constant in refator() method (#4075)
2023-06-05 09:32:57 +00:00
Tomas Votruba 1f621e91a4 Updated Rector to commit 88eed987cc361166359c158ffd22d264d165aa8b
88eed987cc Ensure check isFirstClassCallable() before node->getArgs() on CallLike (#4049)
2023-06-02 12:32:12 +00:00
Tomas Votruba 84236fa01b Updated Rector to commit 25d6a9740ed21735c4194b94f4d5cabe5b976832
25d6a9740e Cleanup usage of NodesToAddCollector, return nodes directly instead (#4003)
2023-05-28 20:45:54 +00:00
Tomas Votruba eae5c53485 Updated Rector to commit 265d627ddf7663fe65bfda2aa4cf32fc4a3ba95d
265d627ddf Remove IsObjectOnIncompleteClassRector as blindly turns all incomplete checks to negated, better examine manually (#3969)
2023-05-25 16:35:30 +00:00
Tomas Votruba 1f89bb9561 Updated Rector to commit c050b66f9b9812f8f7735673e651deaccded0071
c050b66f9b Refactor PARENT_NODE away from ListEachRector (#3946)
2023-05-24 10:04:51 +00:00
Tomas Votruba 13cb0fa921 Updated Rector to commit 279126145e995c4d0b39a60bd6fc5fff5799199e
279126145e Refactor PARENT_NODE away from UnsetCastRector (#3945)
2023-05-24 09:42:43 +00:00
Tomas Votruba d7eced92e2 Updated Rector to commit c504b2f11f2b732a744ad804b3a4b5afc30e2841
c504b2f11f Refactor PARENT_NODE away from GetClassOnNullRector (#3944)
2023-05-24 09:36:58 +00:00
Tomas Votruba da149bb5b0 Updated Rector to commit 645071a650fc50d7e084378facaebcc868a52ba1
645071a650 Add test fixture for sprintf number + make use of getArgs() to get always an Arg type (#3822)
2023-05-13 17:20:02 +00:00
Tomas Votruba 8af1a1213f Updated Rector to commit 1e052f588331717f87a8d610db6eb7f89f8690d3
1e052f5883 [cleanup] Make use of getArgs(), remove ignored from phpstan (#3771)
2023-05-08 12:54:32 +00:00
Tomas Votruba af500df8f4 Updated Rector to commit f6c4edcd0c3feaad4abc075bae39474ac34bb82d
f6c4edcd0c [CodeQuality] Add CleanupUnneededNullsafeOperatorRector (#3767)
2023-05-08 10:34:10 +00:00
Tomas Votruba 39697489d4 Updated Rector to commit 5a32ed95b75b179e77c14a83a65f2eff1f1474b8
5a32ed95b7 [cleanup] Make use of getArgs(), remove ignores from phpstan.neon (#3770)
2023-05-08 10:34:06 +00:00
Tomas Votruba 930a1a2ba2 Updated Rector to commit 2d583eba1512d3b51e79503eba46466a32cb7374
2d583eba15 [cleanup] Make use of getArgs() (#3769)
2023-05-08 07:49:33 +00:00
Tomas Votruba a2c39b778e Updated Rector to commit 13d81f90894396f7e443cb5cb9198aeacb6bc05a
13d81f9089 [Cleanup] Make use of getArgs() directly (#3766)
2023-05-08 07:37:37 +00:00
Tomas Votruba f8706c58a3 Updated Rector to commit ffec9f0960d8f26c81b745a218b56a32e187c157
ffec9f0960 Remove parent node dependency from ReplaceEachAssignmentWithKeyCurrentRector (#3751)
2023-05-07 07:53:03 +00:00
Tomas Votruba f4c30b037a Updated Rector to commit f8e3c7b0644e4e106e18e3177bcd5eb110e9ab31
f8e3c7b064 [Php72] Remove next attribute usage on ParseStrWithResultArgumentRector (#3566)
2023-04-05 17:38:53 +00:00
Tomas Votruba 0b3c5d9bcc Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
f22ddc8f18 Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513)
2023-03-23 23:21:34 +00:00
Tomas Votruba b5afb126a3 Updated Rector to commit 5e29a35bb60f92bece6fede8080645e7ba7fc421
5e29a35bb6 Performance: Reduce isObjectType calls (#3502)
2023-03-22 14:20:22 +00:00
Tomas Votruba e288bdf650 Updated Rector to commit 802d98e8c6cb0b29c731e2238160b860b33be13c
802d98e8c6 [Php72] Handle crash on trailing comma last on WhileEachToForeachRector (#3186)
2022-12-11 10:32:24 +00:00
Tomas Votruba 8885e287b6 Updated Rector to commit b9cc90c058942d82f84a68f3d1971b2db6b1601d
b9cc90c058 Make use of new types by fixed rector/phpstan-rules extensions (#2748)
2022-08-09 19:37:14 +00:00
Tomas Votruba f7bb838601 Updated Rector to commit f0425bc3cb3d5855da1bff9c38b872a9003e357b
f0425bc3cb Improve scope, PHPStan extension types (#2747)
2022-08-09 13:39:17 +00:00
Tomas Votruba c855f5df1c Updated Rector to commit 6d7404c65000caede512a5bc5a993f472e11cd0d
6d7404c650 Home cleaning with Exacat 😎 (#2676)
2022-07-18 15:25:27 +00:00
Tomas Votruba 68e1f45251 Updated Rector to commit 4d01db5c10372f2a0a7cf63ec51fa7e2913ee2a3
4d01db5c10 [DX] Improve direct return of Stmt arrays in Rector rules, remove NodesToAddCollector from AbstractRector (#2623)
2022-07-03 21:09:19 +00:00
Tomas Votruba bdec76e60e Updated Rector to commit 5ed173f14865e72ba7156645e2a79930152e1cc5
5ed173f148 skip RuleDefinition explicitly
2022-06-07 09:18:30 +00:00
Tomas Votruba bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba aa2cb1b997 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba 8506c85563 Updated Rector to commit 01fc91e575
01fc91e575 [CodeQuality] Add empty array support to InlineArrayReturnAssignRector (#2397)
2022-05-31 07:47:20 +00:00
Tomas Votruba 7e46eb8267 Updated Rector to commit a2d6da8b4e
a2d6da8b4e Back to php-scoper 0.14 with scoping from php 8.0 (#2370)
2022-05-27 11:51:31 +00:00
Tomas Votruba beba7d6efe Updated Rector to commit 1249d947f4
1249d947f4 Try php-scoper 0.17 (#2368)
2022-05-27 11:25:02 +00:00
Tomas Votruba 99edeb9629 Updated Rector to commit 52ea41240e
47bea33c2e use changelog annotations to display useful into under the change 52ea41240e restore regex replaces
2022-05-12 19:17:07 +00:00
Tomas Votruba bca89e29da Updated Rector to commit 33cd52e703
33cd52e703 Fix position of class after non-reachable stmts (#2299)
2022-05-12 09:11:03 +00:00
Tomas Votruba 5147929731 Updated Rector to commit 43aa4d91f7
43aa4d91f7 Add SameNamespacedTypeSpecifier (#2169)
2022-04-26 08:13:18 +00:00
Tomas Votruba 19e48f49f2 Updated Rector to commit 366c994a5c
366c994a5c More current statement attribute clean up (#2150)
2022-04-24 17:30:55 +00:00
Tomas Votruba fe65ca2911 Updated Rector to commit 8057e33f91
8057e33f91 [TypeDeclaration] Add ArrayShapeFromConstantArrayReturnRector (#1908)
2022-03-07 11:34:50 +00:00
Tomas Votruba d86e5d640a Updated Rector to commit dae413184b
dae413184b [static] Fix mixed type on property fetches and method calls (#1769)
2022-02-05 11:57:25 +00:00
Tomas Votruba 3266f22182 Updated Rector to commit 1d409bc35b
1d409bc35b safe by default
2021-12-10 10:22:23 +00:00
Tomas Votruba 058d52567d Updated Rector to commit c621d7650d
c621d7650d [TypeDeclaration] Add void upper inner function has return on ReturnTypeDeclarationRector (#1447)
2021-12-10 09:57:54 +00:00
Tomas Votruba c726969380 Updated Rector to commit fc10fce13d
fc10fce13d [Rectify] [Php81] Enable Rectify on Readonly Property only (#1384)
2021-12-04 12:47:17 +00:00
Tomas Votruba 3d98187ea1 Updated Rector to commit 39a530c1f5
39a530c1f5 [DX] Add strict PHPStan rules - step #2 (#1330)
2021-11-28 17:01:20 +00:00
Tomas Votruba a42ac7439f Updated Rector to commit c3b6efea7e
c3b6efea7e Move from CLASS_NODE attribute to more reliable parent node finder (#1162)
2021-11-06 12:10:48 +00:00
Tomas Votruba a94a50e863 Updated Rector to commit e525dad6ab
e525dad6ab [PHPStan 1.0] Use Nette filesystem over phpstan filewriter (#1115)
2021-10-30 14:18:31 +00:00
Tomas Votruba 2b6e4f5909 Updated Rector to commit d1e09e3d5e
d1e09e3d5e [ECS] remove ignored rules that are now fixed, use SimplePhpParser for ad-hoc node resolving (#1076)
2021-10-27 08:50:45 +00:00