Commit Graph

324 Commits

Author SHA1 Message Date
Tomas Votruba 3240f9e962 Updated Rector to commit 58abec4c5663a5d92ac6cd0a2eef6aace80ab408
58abec4c56 [automated] Apply Coding Standard (#5665)
2024-02-25 00:28:21 +00:00
Tomas Votruba cd427d527e Updated Rector to commit 3ef3e35c45970bce4000f45f9c1cb651f078c5a0
3ef3e35c45 [Php71] Skip re-assign as string on AssignArrayToStringRector part 2 (#5661)
2024-02-23 19:28:49 +00:00
Tomas Votruba 94501442a5 Updated Rector to commit d754bec5f11ce2d37928901c6998e1cc62e6f20d
d754bec5f1  [Php71] Skip re-assign as string on AssignArrayToStringRector  (#5659)
2024-02-23 10:03:16 +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 ab4ff53673 Updated Rector to commit 026398c9e1078cb3ac5cac41767b620872166859
026398c9e1 Remove return type in case of void in RemoveUselessReturnTagRector (#5318)
2023-12-03 19:10:14 +00:00
Tomas Votruba ea7666298a Updated Rector to commit 3e6bdd8174e88b0e339365a9d76df8be173b7070
3e6bdd8174 [Php71] Ensure re-assign after definition on AssignArrayToStringRector (#5262)
2023-11-19 00:05:14 +00:00
Tomas Votruba 5fa526e204 Updated Rector to commit de333f27982cd1b27450c6dfa87ec723b29fbc1c
de333f2798 [Php71] Skip re-assigned as array on AssignArrayToStringRector (#5261)
2023-11-19 00:02:19 +00:00
Tomas Votruba fe7a135a9e Updated Rector to commit 5d1286061c8bf264c95085edf8b24731cf62c91e
5d1286061c BinaryOpBetweenNumberAndStringRector don't trust phpdoc (#5199)
2023-10-25 13:44:54 +00:00
Tomas Votruba 764b0cbdb5 Updated Rector to commit 3eb8e7d7a52ed8d45ca685e570fbfa0fd14e9be1
3eb8e7d7a5 Deprecate CountOnNullRector as depends on previous context and require manual adjustment of previous result (#5101)
2023-10-01 09:51:45 +00:00
Tomas Votruba 01c783a2bf Updated Rector to commit c8ff683305a228aa2bfbe2c11eccc7a712c5db94
c8ff683305 Remove inline-@var use (#5028)
2023-09-16 11:45:20 +00:00
Tomas Votruba ad2ad2a097 Updated Rector to commit 77258018af10a7c23477831e0eab49dd7c0b2bfe
77258018af Trigger Rectify (#4701)
2023-08-07 11:02:42 +00:00
Tomas Votruba 9fac241be1 Updated Rector to commit e9a97469558e5e154a185bae388f214e1f0d5c56
e9a9746955 [PhpParser] Remove #[Required] on ClassLikeAstResolver (#4688)
2023-08-07 03:26:51 +00:00
Tomas Votruba 45ea7eeb2a Updated Rector to commit 7b2f2e8f866a4f7f32e37e37180d401a4b2cc199
7b2f2e8f86 Skip traits in CountOnNullRector (#4556)
2023-07-20 19:10:29 +00:00
Tomas Votruba 3c275c29fd Updated Rector to commit 3ed219bb2fb0f598e09ecc061655a97f28a77454
3ed219bb2f [Php71] Add Closure support on AssignArrayToStringRector (#4303)
2023-06-20 09:52:55 +00:00
Tomas Votruba 0b8bae3feb Updated Rector to commit f4f9d5c771017ccf1ca99f30efcdb0e71ebcc22c
f4f9d5c771 [Php71] Remove parent lookup on AssignArrayToStringRector (#4302)
2023-06-20 08:50:04 +00:00
Tomas Votruba a0d8cc6508 Updated Rector to commit 8550c092de01d1167d95922a77490c282f3154d5
8550c092de [Ast] Use ClassLikeAstResolver directly when possible (#4262)
2023-06-17 19:37:05 +00:00
Tomas Votruba e00ac02415 Updated Rector to commit 3122f5ec7f47d275de30bfbc44f61607dbc9cc64
3122f5ec7f [Php71] Remove parent lookup on CountableAnalyzer (#4251)
2023-06-17 09:37:22 +00:00
Tomas Votruba 9434de01cc Updated Rector to commit 5612c7f86c18379ccd927bba33bca524f94f0759
5612c7f86c [Php71] Remove direct return STOP_TRAVERSAL on CountOnNullRector (#4189)
2023-06-12 09:19:13 +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 9d288b9b77 Updated Rector to commit 0fe5ee02fe3527bff3a1cd1c10508e2148ea8031
0fe5ee02fe Remove PARENT_NODE from ReadOnlyPropertyRector (#4150)
2023-06-10 07:01:52 +00:00
Tomas Votruba 9e103260ec Updated Rector to commit 2f3e9be0ae108c75f9de8fbf2ea92f0393ad9839
2f3e9be0ae [DX] Test BetterNodeFinder with Laravel container (#4106)
2023-06-08 14:23:03 +00:00
Tomas Votruba a21bcfc1f7 Updated Rector to commit 141923f2484a506bbd523021facb07d37575e62f
141923f248 Remove removeNode() from MultiExceptionCatchRector (#4063)
2023-06-04 17:44:36 +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 eb19a0084e Updated Rector to commit 18d8df639c4376c2784a585eb5deafeda971597e
18d8df639c Refactor away PARENT_NODE from AssignArrayToStringRector (#3983)
2023-05-27 09:26:50 +00:00
Tomas Votruba 2774b5f9dd Updated Rector to commit c70a5b8fdbbb3306603c67a972265872eaa3da2b
c70a5b8fdb Refactor away from PARENT_NODE in ListToArrayDestructRector (#3982)
2023-05-27 08:27:32 +00:00
Tomas Votruba 1539fc211a Updated Rector to commit c1cb710c872d25f5daa3fd085fc24640716a80f4
c1cb710c87 Remove ReservedObjectRector as requires explicit configuration and is handled by RenameClassRector already (#3975)
2023-05-26 13:14:15 +00:00
Tomas Votruba 5f824909cb Updated Rector to commit 79ffda7d8537ca6b04e14082bd9f0091fb97215d
79ffda7d85 Remove PARENT_NODE from CountOnNullRector (#3924)
2023-05-22 13:31:04 +00:00
Tomas Votruba 41a479f910 Updated Rector to commit 0d3a9a263b6649548270dd503b8ac3bb0df107c4
0d3a9a263b [Traverser] Add GlobalVariableNodeVisitor (#3816)
2023-05-13 10:12:10 +00:00
Tomas Votruba 2b9f121320 Updated Rector to commit 0e4a46d75ac336dfdfc268bf8c2019121593a7b2
0e4a46d75a Drop AttributeKey::SCOPE in CountableAnalyzer (#3804)
2023-05-11 19:27:18 +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 a2c39b778e Updated Rector to commit 13d81f90894396f7e443cb5cb9198aeacb6bc05a
13d81f9089 [Cleanup] Make use of getArgs() directly (#3766)
2023-05-08 07:37:37 +00:00
Tomas Votruba eebb3e5a4f Updated Rector to commit 103148c1af587421c31c68c6a7bc2ce623aaf7cf
103148c1af Defer type-resolving in BinaryOpBetweenNumberAndStringRector (#3763)
2023-05-08 04:38:58 +00:00
Tomas Votruba b61a41bf01 Updated Rector to commit d13351c5b5800fdd9a25f1d8d9198749898ff2f6
d13351c5b5 Apply Rector + coding standard (#3745)
2023-05-06 18:23:35 +00:00
Tomas Votruba a02530c7e5 Updated Rector to commit 6a8ebb97e32dbd283ebb1e83d9eae7dacdb2df2b
6a8ebb97e3 Fix ShortenedObjectType not resolving to correct class reflection (#3397)
2023-05-06 16:51:05 +00:00
Tomas Votruba 65abab80de Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
5c1be93b80 PHP 8.2 is supported (#3717)
2023-05-01 01:36:32 +00:00
Tomas Votruba 9038a0d99c Updated Rector to commit 1a91d04c5256e451c744eeb848aaa0182dd227c5
1a91d04c52 [CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544)
2023-04-01 10:14:17 +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 7d0f151a40 Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
a2cd7283fb Typo fix comment php 7.3 compat on rector workflow (#3432)
2023-03-01 13:00:30 +00:00
Tomas Votruba 7a073d6432 Updated Rector to commit 5e78981c52c275786a67ca64a7b7104ef0d8775a
5e78981c52 [Php71] Set public constant on final constant on PublicConstantVisibilityRector (#3431)
2023-02-28 20:41:27 +00:00
Tomas Votruba 66cc09e8b6 Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
d118ae38e2 Use phpstan-deprecation-rules (#3330)
2023-02-02 09:24:12 +00:00
Tomas Votruba 764b0a2692 Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
cb5b01223d [automated] Re-Generate Nodes/Rectors Documentation (#3259)
2023-01-01 00:36:31 +00:00
Tomas Votruba c9d5c64791 Updated Rector to commit 14e60b06039ff4af2e8d4670390fdcf8c66f5cbe
14e60b0603 [Php71] Skip defer() function on RemoveExtraParametersRector (#3211)
2022-12-17 08:32:50 +00:00
Tomas Votruba ff75474d25 Updated Rector to commit 39f43c01cbc34a8bb064f056d39f1b8d2bd7a152
39f43c01cb Use Symfony ~6.1.x to avoid crash on update vendor-patch (#3134)
2022-12-01 14:10:32 +00:00
Tomas Votruba ddc864eff4 Updated Rector to commit 7b7d5a4b8bb61b52a298cbf941b7df131897f55b
7b7d5a4b8b Revert string specific identifier values on Type Mappers (#3024)
2022-11-01 14:15:38 +00:00
Tomas Votruba e87c848801 Updated Rector to commit ff4d797c73a51a3fb12cb644c6911ecd7313ec1b
ff4d797c73 [DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector+RemoveAlwaysElseRector (#2964)
2022-10-02 20:24:31 +00:00
Tomas Votruba 6c20d257e3 Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
d3d18d442c keep relative paths
2022-09-01 09:30:44 +00:00
Tomas Votruba 7b90cd54eb Updated Rector to commit 08ccd5a1a4f8757ff8f392c0e823a02bc95c14c1
08ccd5a1a4 [DX] Remove the composer upgrade as unused to narrow focus back to PHP (#2865)
2022-08-31 09:02:41 +00:00