15788 Commits

Author SHA1 Message Date
Tomas Votruba
c0a781b4f1 Updated Rector to commit 731baeb619c884b4f9716a3a67dba3e3d8ac8403
731baeb619 Improve NodeComparator performance (#3659)
2023-04-22 22:11:30 +00:00
Tomas Votruba
bd36624100 Updated Rector to commit 81e7980962f1db29f0fc2be5800a822cfb07f656
81e7980962 Prevent unnecessary IO in ChangedFilesDetector (#3650)
2023-04-22 16:52:31 +00:00
Tomas Votruba
f84ec52872 Updated Rector to commit d777f36ffced045951e856ab22ed71591582147b
d777f36ffc fix typo (#3657)
2023-04-22 16:32:19 +00:00
Tomas Votruba
8f292260c6 Updated Rector to commit c935e91d0c13084537217f7b538a91d03b8bd4f5
c935e91d0c Improve LocalConstantFinder performance (#3652)
2023-04-22 16:24:45 +00:00
Tomas Votruba
425bfdde6c Updated Rector to commit 6374ccddd0facb7e8678a27c47e6749b0b02b3fe
6374ccddd0 Improve LocalMethodCallFinder performance (#3651)
2023-04-22 16:00:19 +00:00
Tomas Votruba
b4e10b9aac Updated Rector to commit d490fe55828f80aaf2f2a593fcddf4d3be5ff32f
d490fe5582 Improve PropertyFetchAnalyzer performance (#3654)
2023-04-22 15:51:31 +00:00
Tomas Votruba
4c33fd079a Updated Rector to commit f26a47636a3bb0b63d16dc6c3bde36406fbfd393
f26a47636a [BetterPhpdocParser] Remove getTokens() method on BetterTokenIterator (#3655)
2023-04-22 15:45:56 +00:00
Tomas Votruba
4564073a8a Updated Rector to commit 59720a1105eeec521130754510b7b1c8d4da50c1
59720a1105 Fix phpstan notice (#3653)
2023-04-22 15:32:02 +00:00
Tomas Votruba
ec5e44e489 Updated Rector to commit 61f2c4288bc6027fcdb347ace448d0936bbdcda4
61f2c4288b [TypeDeclaration] Handle mix InlineHTML on FileWithoutNamespace (#3648)
2023-04-22 08:33:24 +00:00
Tomas Votruba
7662f7e333 Updated Rector to commit 0a086a89cde5f219a5cfabcb34a6e5598a2e6e18
0a086a89cd NodeTypeResolver: prevent unncessary reflection calls (#3647)
2023-04-22 08:05:51 +00:00
Tomas Votruba
30c4c5527a Updated Rector to commit c203b601c98f4a93236c82179a2e9a5a519b48ae
c203b601c9 [Php80] Handle crash leaveNode() returned invalid value of type integer on TokenGetAllToObjectRector (#3644)
2023-04-21 15:28:50 +00:00
Tomas Votruba
3e22fca2fe Updated Rector to commit add55824f64b4b597a6b3bc3feb9a557708ace00
add55824f6 Fix SingleInArrayToCompareRector if array item is variadic (#3640)
2023-04-21 12:00:51 +00:00
Tomas Votruba
fc866d1d8d Updated Rector to commit ae99f13c3bb546659ee87450de554585a6c7974c
ae99f13c3b [Performance] Using cheap chekc first on UndefinedVariableResolver::shouldSkipVariable() (#3643)
2023-04-21 07:33:09 +00:00
Tomas Votruba
d784926da7 Updated Rector to commit 79a630987e9afffb7edda0380099472b04f2e211
79a630987e [Performance] Using findFirst() for cast to (bool) so no need search all found nodes (#3642)
2023-04-21 04:11:14 +00:00
Tomas Votruba
015935c7ed Rector 0.15.25 0.15.25 2023-04-20 16:07:39 +00:00
Tomas Votruba
72d660b556 Updated Rector to commit 20a586577e11b0fca6dc41ee9c7979f5d10725d1
20a586577e Regenerate preload (#3641)
2023-04-20 16:02:06 +00:00
Tomas Votruba
06ab496223 Updated Rector to commit 1184d2f30404844ce1c0fe161c5c6c0509127506
1184d2f304 Use faster paratest in complete-check composer script (#3637)
2023-04-20 14:58:34 +00:00
Tomas Votruba
d4a0c8ebe6 Updated Rector to commit 8425c9090832424c6c93638af5c71592151e92d6
8425c90908 [Php56][Php70] Handle infinite loop on TernaryToNullCoalescingRector+AddDefaultValueForUndefinedVariableRector (#3639)
2023-04-20 13:50:26 +00:00
Tomas Votruba
ef3f017e7b Updated Rector to commit fff22320cedf04f5aa2449592f1924bc5ebc5551
fff22320ce Simplify AccessoryNonEmptyStringTypeCorrector (#3636)
2023-04-20 13:44:42 +00:00
Tomas Votruba
91a5e19669 Updated Rector to commit ff899747379670edd250e653764e51ae592aac16
ff89974737 NodeTypeResolver: remove unnecessary check (#3626)
2023-04-20 12:15:14 +00:00
Tomas Votruba
cee0e8f32f Updated Rector to commit 9f5d6b9c9ab814382bacc1c127e1807ecc7aaec0
9f5d6b9c9a Remove runtime autoloading from NodeTypeResolver (#3627)
2023-04-20 10:43:06 +00:00
Tomas Votruba
1cb1664849 Updated Rector to commit f08216fc30ced0d29868a18cd1c2504a1a10ecd0
f08216fc30 [CodeQuality] Skip with break on SwitchTrueToIfRector (#3634)
2023-04-20 00:27:18 +00:00
Tomas Votruba
9c020977b6 Updated Rector to commit f453969311462cd11987768ae1b2843f38cadcb3
f453969311 [TypeDeclaration] Using negation on BinaryOr on BinaryOpNullableToInstanceofRector (#3633)
2023-04-20 00:20:55 +00:00
Tomas Votruba
37ad4fbc43 Updated Rector to commit a4c1d7e481d426cb82d5a5bf89bfcac21deb3764
a4c1d7e481 [TypeDeclaration] Add BinaryOpNullableToInstanceofRector (#3631)
2023-04-19 11:05:06 +00:00
Tomas Votruba
203f525759 Updated Rector to commit e3e51469627756e976a8b8afb718d77caad3a0c4
e3e5146962 [CodingStyle] Handle inner closure on FuncGetArgsToVariadicParamRector (#3630)
2023-04-19 07:14:37 +00:00
Tomas Votruba
4980a45b0b Updated Rector to commit 581fba01dfcc247be5dcec00903b72739b7eca6d
581fba01df [Php55] Add StaticToSelfOnFinalClassRector (#3629)
2023-04-19 07:12:58 +00:00
Tomas Votruba
f00ddc261c Updated Rector to commit 14cc7d49406c55acd1ce7e83c7cddd23b9fd12a2
14cc7d4940 [TypeDeclaration] Allow multiple declare on DeclareStrictTypesRector (#3628)
2023-04-18 11:12:39 +00:00
Tomas Votruba
a5fb0da98c Updated Rector to commit 8605fb95942c6433ba6c741d75e6fcdb65e92a49
8605fb9594 Apply strict declare (#3625)
2023-04-17 16:23:36 +00:00
Tomas Votruba
d5695b8b03 Updated Rector to commit 8605fb95942c6433ba6c741d75e6fcdb65e92a49
8605fb9594 Apply strict declare (#3625)
2023-04-17 15:52:08 +00:00
Tomas Votruba
f924c3de30 Updated Rector to commit 0dfc92f16f7d3d21a21ae5e6f6abb21467fb48da
0dfc92f16f Add declare strict_types rule, finally 🥳 (#3619
2023-04-17 15:47:09 +00:00
Tomas Votruba
03e48b83b1 Updated Rector to commit fbb472feb11f34bb94a1e6869e93b505103fa27f
fbb472feb1 Rename PARALLEL_TIMEOUT_IN_SECONDS to PARALLEL_JOB_TIMEOUT_IN_SECONDS (#3613)
2023-04-17 12:58:24 +00:00
Tomas Votruba
a411d4a1ec Updated Rector to commit 88fb0ace4584fd2cc627b3ee052dd8d7764d8f29
88fb0ace45 Link to Rector CI blogpost (#3624)
2023-04-17 11:35:06 +00:00
Tomas Votruba
c333025ba2 Updated Rector to commit 34e1cf13fdd613cb732d082cfcfa86bbdb7db5dc
34e1cf13fd NodeTypeResolver: cheap checks first in isObjectTypeOfObjectType() (#3621)
2023-04-16 15:11:00 +00:00
Tomas Votruba
4febb1e4a1 Updated Rector to commit 4f6de3f84ecb50aba2643f4b38dcfce6e04e1f4a
4f6de3f84e ReadOnlyPropertyRector: do cheaper checks first (#3618)
2023-04-16 10:42:58 +00:00
Tomas Votruba
6e25b4629b Updated Rector to commit eb34dee89488a8869ae5b726b03c16fe2979f7f5
eb34dee894 [automated] Re-Generate Nodes/Rectors Documentation (#3617)
2023-04-16 08:39:44 +00:00
Tomas Votruba
8754b18496 Updated Rector to commit eb34dee89488a8869ae5b726b03c16fe2979f7f5
eb34dee894 [automated] Re-Generate Nodes/Rectors Documentation (#3617)
2023-04-16 08:10:58 +00:00
Tomas Votruba
b35ad51c2c Updated Rector to commit eb34dee89488a8869ae5b726b03c16fe2979f7f5
eb34dee894 [automated] Re-Generate Nodes/Rectors Documentation (#3617)
2023-04-16 07:57:18 +00:00
Tomas Votruba
c1432a728e Updated Rector to commit eb34dee89488a8869ae5b726b03c16fe2979f7f5
eb34dee894 [automated] Re-Generate Nodes/Rectors Documentation (#3617)
2023-04-16 00:32:04 +00:00
Tomas Votruba
aac13af5a4 Updated Rector to commit 4c06d4cf195113906ad93ee822993173fce17086
4c06d4cf19 Add e2e tests for dry run (#3616)
2023-04-15 11:18:44 +00:00
Tomas Votruba
9263d6613a Updated Rector to commit 195bb62accb975904892da79996ccfb61eda34cd
195bb62acc [DeadCode] Add early return check to RemoveUnusedNonEmptyArrayBeforeForeachRector (#3611)
2023-04-14 08:11:59 +00:00
Tomas Votruba
52b2dda9f2 Updated Rector to commit f81f92cffa59603401e98b51cce2943cc47eddac
f81f92cffa [CodingStyle] Skip inside readonly class on AddArrayDefaultToArrayPropertyRector (#3612)
2023-04-13 14:10:48 +00:00
Tomas Votruba
ab279ddabc Updated Rector to commit edf54c85b6aadaecf064b797d340953697e0ca74
edf54c85b6 [Instanceof] Add FlipNegatedTernaryInstanceofRector (#3610)
2023-04-13 10:40:34 +00:00
Tomas Votruba
8e0981a696 Updated Rector to commit bc0a0d77f49995f9bba85e0aa244123cd66f5fae
bc0a0d77f4 [DX] Add INSTANCEOF set to work with types via instanceof checks (#3609)
2023-04-13 10:01:45 +00:00
Tomas Votruba
9b243e6539 Updated Rector to commit 3a9bebf657bfdf7cb5b3ab59b3471987dd6a35f6
3a9bebf657 [CodeQuality] Handle crash on BinaryOp/Mul and variable variable: 9364name on IntvalToTypeCastRector (#3608)
2023-04-12 13:24:05 +00:00
Tomas Votruba
1144dcd388 Updated Rector to commit 54a340ce750f48aa3e09f65e02df9dc6fa2206a0
54a340ce75 Revert Cache on successful file processing (#3604) (#3607)
2023-04-11 08:29:27 +00:00
Tomas Votruba
87f8efd4a8 Updated Rector to commit 4c56874ee79f5dd3ea2e97ea12e13335ebd6765b
4c56874ee7 Cache on successful file processing (#3604)
2023-04-11 06:22:54 +00:00
Tomas Votruba
c65ab46563 Updated Rector to commit 5ea7727cfd05ece95fa8730576360e58148b3d56
5ea7727cfd [DeadCode] Skip RemoveDuplicatedArrayKeyRector on ++index or --index  (#3606)
2023-04-11 04:16:20 +00:00
Tomas Votruba
f6fb04983f Updated Rector to commit 951e9f9643fcfde430aa5784596454838c6c8cb0
951e9f9643 [DeadCode] Skip used as assign var next on RemoveJustPropertyFetchRector (#3605)
2023-04-10 23:58:01 +00:00
Tomas Votruba
1284f3ba6e Updated Rector to commit 7cc59fe5f3f7cb697c707e8968f1ead67b4efd2f
7cc59fe5f3 [DX] Show empty state of the progress bar for early feedback in parallel (#3603)
2023-04-10 14:50:46 +00:00
Tomas Votruba
4b77ea5ad7 Updated Rector to commit 7dcb16a9be817798363b094ad8cf9308d0063abf
7dcb16a9be [DX] Allow --memory-limit to be configured via configuration file (#3601)
2023-04-10 14:35:48 +00:00