13910 Commits

Author SHA1 Message Date
Tomas Votruba
d5b8c5e35f Updated Rector to commit efd8084ae631dd97f4a418ffc9a9110ebf5738cf
efd8084ae6 [CodeQuality] Handle default value on CallableThisArrayToAnonymousFunctionRector (#1900)
2022-03-03 21:57:13 +00:00
Tomas Votruba
1cc0b6c8ca Updated Rector to commit 4c890be2c146d7862a1a4c210923c5e10b748ea9
4c890be2c1 Remove old PHPSpec 3 and 4 sets (#1902)
2022-03-03 20:04:11 +00:00
Tomas Votruba
d7bd6b98d4 Updated Rector to commit e2cc867255a343411916b64db5d6daafe768573d
e2cc867255 [PhpSpecToPHPUnit] Deprecate historical set, mostly for experimental in early days (#1901)
2022-03-03 19:57:16 +00:00
Tomas Votruba
be1a72534c Updated Rector to commit 320cdcd8dec579a3bb9a6138d1e50f72a22c0419
320cdcd8de [MockeryToProphecy] Deprecate micro set as not practical (#1899)
2022-03-03 16:37:48 +00:00
Tomas Votruba
4f32575b71 Rector 0.12.17 0.12.17 2022-03-03 12:18:11 +00:00
Tomas Votruba
6be685bf77 Updated Rector to commit 77a4582d5044446b8da43ab91a09082fa0413a23
77a4582d50 [Core] Clean up NodeFactory::createSelfFetchConstant(), remove unused  parameter (#1898)
2022-03-03 11:38:10 +00:00
Tomas Votruba
6e53e4e59c Updated Rector to commit 76bb6ecd4d999e70d8d7c8918d6b6a8dbf35c851
76bb6ecd4d [Privatization] Skip class constant from parent on ChangeReadOnlyVariableWithDefaultValueToConstantRector (#1897)
2022-03-03 09:38:53 +00:00
Tomas Votruba
0c4c1109f0 Updated Rector to commit 85e39c7c243fc47c48216df00f5157158342cef5
85e39c7c24 [Privatization] Allow only current class const fetch to avoid unnecessary assign constant to constant (#1896)
2022-03-03 09:07:31 +00:00
Tomas Votruba
1f89fb5963 Updated Rector to commit a1faa32b17ba822f12fe4297c9928ffdb1725a56
a1faa32b17 [Privatization] Allow constant only if inside array on ChangeReadOnlyVariableWithDefaultValueToConstantRector (#1895)
2022-03-03 06:53:03 +00:00
Tomas Votruba
acd3eb894c Updated Rector to commit 8baf876ad2dcbe0c5d2d555576b0b3293ef39f1a
8baf876ad2 [Scoper] Fix scoping on AbstractUnicodeString which has RectorPrefix20220303 on preg_replace (#1894)
2022-03-03 05:27:00 +00:00
Tomas Votruba
5224477400 Updated Rector to commit 1b717dc74e41874263590dc012a34167ecb35099
1b717dc74e [DeadCode] Ensure parent assign is Expression Stmt for RemoveUnusedVariableAssignRector (#1893)
2022-03-03 04:28:33 +00:00
Tomas Votruba
59c4f05339 Updated Rector to commit 18f306ec6137576b1d530a9425177474e12e8d3e
18f306ec61 [DeadCode] Handle variable reference on openssl_sign() on RemoveUnusedVariableAssignRector (#1892)
2022-03-02 16:49:04 +00:00
Tomas Votruba
66990d6b24 Updated Rector to commit ad400308cb8c85f8125d09def4b4ddbe11366646
ad400308cb [Doc] Add laminas/laminas-servicemanager-migration to Projects using Rector section (#1883)
2022-03-02 14:49:13 +00:00
Tomas Votruba
2696a014f1 Updated Rector to commit 926a7e02bc1d856a65b3f4b232e6305ef0f00d3b
926a7e02bc [Privatization] Add constant support on ChangeReadOnlyVariableWithDefaultValueToConstantRector (#1890)
2022-03-02 11:43:06 +00:00
Tomas Votruba
dd64fa545d Updated Rector to commit 0cac723079d1511bf1ffb137d3818c1da5776d6c
0cac723079 [DeadCode] Clean casted CallLike in Assign Expr on RemoveUnusedVariableAssignRector (#1889)
2022-03-02 10:10:00 +00:00
Tomas Votruba
8b3037c2dd Updated Rector to commit 7c00e0ab4b685247433f242a8d45b9008abb2832
7c00e0ab4b [Php74] Nullify accessed before initialization on TypedPropertyRector (#1885)
2022-03-01 14:29:22 +00:00
Tomas Votruba
f5cca00c6b Updated Rector to commit 7c00e0ab4b685247433f242a8d45b9008abb2832
7c00e0ab4b [Php74] Nullify accessed before initialization on TypedPropertyRector (#1885)
2022-03-01 10:24:53 +00:00
Tomas Votruba
09bf6a0592 Updated Rector to commit 10de06f33fd090baa4bb7e5743ef4a525779ad88
10de06f33f [DeadCode] Skip RemoveUnusedVariableAssignRector on assign to dynamic variable (#1884)
2022-03-01 10:08:14 +00:00
Tomas Votruba
615bf88fc5 Updated Rector to commit 2ad95b64ebf9436f8b3285be646d18a1356de5e0
2ad95b64eb Add Projects using Rector section to README.md (#1881)
2022-02-28 15:57:34 +00:00
Tomas Votruba
72f5531969 Updated Rector to commit 2ad95b64ebf9436f8b3285be646d18a1356de5e0
2ad95b64eb Add Projects using Rector section to README.md (#1881)
2022-02-28 10:53:45 +00:00
Tomas Votruba
bcf1b8a018 Updated Rector to commit a9c5b1b456ea68da21a958ff85592079a531cb10
a9c5b1b456 [Core] Remove deprecated addNodes?(?:Before|After)Node method on AbstractRector (#1879)
2022-02-28 10:23:34 +00:00
Tomas Votruba
9e282c87ec Updated Rector to commit 2604c7675c76ea48bed535ced1d1c5441b18e3c5
2604c7675c Fixing rules return values (take 2) (#1880)
2022-02-28 06:43:27 +00:00
Tomas Votruba
5df6e7e84e Updated Rector to commit d93639c5f48eebe45d676b0c9248d1dd09b3ab44
d93639c5f4 [Core] Throw ShouldNotHappenException() when refactor() returns empty array (#1878)
2022-02-27 19:48:41 +00:00
Tomas Votruba
0d3739b9b8 Updated Rector to commit fce9a92a584b8c1c9979fc0baad198c6c82e952d
fce9a92a58 [Renaming] Do not replace interface call on RenameClassRector (#1877)
2022-02-27 11:34:32 +00:00
Tomas Votruba
ca31c3958d Updated Rector to commit eec25fff0d9f57d2ef2aaeb6b54e4e4e9a9127eb
eec25fff0d [automated] Re-Generate Nodes/Rectors Documentation (#1876)
2022-02-27 00:40:38 +00:00
Tomas Votruba
c980b3090a Updated Rector to commit 53d8a6d06319f8048bd390bca51c7e42794f6e82
53d8a6d063 [DowngradePhp74] Remove ALREADY_DOWNGRADED constant on DowngradeCovariantReturnTypeRector (#1875)
2022-02-26 11:24:25 +00:00
Tomas Votruba
7cad7620bd Updated Rector to commit b33e22de6b3345a35dd8944f177cfd75de7132d2
b33e22de6b [Core] Remove InfiniteLoopValidator (#1871)
2022-02-26 10:14:02 +00:00
Tomas Votruba
6f5f340b84 Updated Rector to commit dd9ffc0bb174ef27169464008d16f300b782e157
dd9ffc0bb1 Fix in assign on DowngradePregUnmatchedAsNullConstantRector (#1873)
2022-02-26 05:06:29 +00:00
Tomas Votruba
598bce3f9d Updated Rector to commit f686cbac1cfba1808e8ce9fa9cc0b9c39e3ee079
f686cbac1c [DowngradePhp72] Handle in assign on DowngradePregUnmatchedAsNullConstantRector (#1872)
2022-02-26 04:25:13 +00:00
Tomas Votruba
7afdbe00e6 Updated Rector to commit 4dee58ba84af36784c9fbf7d8e964363dd15ecc0
4dee58ba84 [Php81] Fix property with attribute inlined on ReadOnlyPropertyRector (#1869)
2022-02-25 12:34:50 +00:00
Tomas Votruba
7ca19c8bbf Updated Rector to commit 961c3aea5c550c4b7bb3b4c2f781a2e22625dc13
961c3aea5c [Core] Remove unneeded ChangedNodeAnalyzer service (#1868)
2022-02-25 10:00:26 +00:00
Tomas Votruba
16915ba0c1 Updated Rector to commit da3c99706690e165c462d8649933f3d714bc0170
da3c997066 [Rules] Fixing Rector rules return values (#1867)
2022-02-25 08:28:29 +00:00
Tomas Votruba
dd6375743e Updated Rector to commit 429291313aa2996c226b06188f068a444baf836e
429291313a [DowngradePhp80] Show applied rules on DowngradeUnionTypeDeclarationRector when only param decorated (#1866)
2022-02-24 19:24:03 +00:00
Tomas Votruba
96d0db87e5 Updated Rector to commit 3f0006085529dfa4deedfb828898187d7c5118cc
3f00060855 end ; token on FollowedByCommaAnalyzer (#1865)
2022-02-24 19:09:08 +00:00
Tomas Votruba
28efce4d1b Updated Rector to commit b9734b410075038354d6df420ca163cf98f63465
b9734b4100 [Core] Do not show DowngradeAttributeToAnnotationRector when updated docblock, but not attribute (#1864)
2022-02-24 18:47:53 +00:00
Tomas Votruba
8f37054aa8 Updated Rector to commit 3d2732790dbe972d9b8be88fbb7ddccfac118c8e
3d2732790d [Core] Fixing applied rules not shown when refactor() only change docblock (#1861)
2022-02-24 14:28:35 +00:00
Tomas Votruba
eecb24a948 Updated Rector to commit bb4a9068c23321c711cc7d7ce881116ef4dd36a2
bb4a9068c2 Do not prepend a \ to the type, if it is already Fully Qualified (#1863)
2022-02-24 13:30:15 +00:00
Tomas Votruba
a80272fff1 Updated Rector to commit 3486e78f7e418cfcb1a65f4ee5c317bf955c035e
3486e78f7e remove fixed phpstan errors
2022-02-23 14:15:27 +00:00
Tomas Votruba
2e01de459a Updated Rector to commit 3e33dd1aa758f95ff16cb7e5b6f95fc8a972f743
3e33dd1aa7 [DeadCode] Handle empty try and catch on RemoveDeadTryCatchRector (#1860)
2022-02-23 08:20:48 +00:00
Tomas Votruba
520fbeb947 Updated Rector to commit 44b84f44cbd67b26f53726776a226f3f04e7440d
44b84f44cb double slashes
2022-02-22 22:27:51 +00:00
Tomas Votruba
8497ae2fae Updated Rector to commit d82e55584df01db892d1ff0b85db42023a241478
d82e55584d correct slashes
2022-02-22 22:16:27 +00:00
Tomas Votruba
36d07430a9 Updated Rector to commit b472f5a94188cb6d4dda16faa08ec7d6c283c88b
b472f5a941 double slash
2022-02-22 21:58:01 +00:00
Tomas Votruba
8e7b067fa3 Updated Rector to commit babf1be7dba2b451790b18fc58eadd9fc4101e52
babf1be7db mask
2022-02-22 21:46:37 +00:00
Tomas Votruba
8fe6be7927 Updated Rector to commit 5db4ed9285348a3e88e68b535c841aef62e2b429
5db4ed9285 end
2022-02-22 21:46:28 +00:00
Tomas Votruba
1f36f770f5 Updated Rector to commit 81152d35e8e4a0dec1f8d5ff69f8cac64354007a
81152d35e8 [scoper] fix preg_replace buggy prefixing
2022-02-22 21:45:57 +00:00
Tomas Votruba
fdb67de470 Updated Rector to commit 99c460830e55a42989287ebb0648a33030e7d76a
99c460830e check build (#1859)
2022-02-22 17:38:01 +00:00
Tomas Votruba
dae491b26a Updated Rector to commit 368a58c33aca72f3aedf2f41d06b653936c75dad
368a58c33a [Scoped] Use composer global require for parallel-lint (#1856)
2022-02-22 07:02:00 +00:00
Tomas Votruba
a398597def Updated Rector to commit 35b07ce068557cf9de22fcead88d61ebb0ef1486
35b07ce068 [Scoped] Using php-parallel-lint latest with --no-dev (#1855)
2022-02-22 00:28:05 +00:00
Tomas Votruba
5c5f771155 Updated Rector to commit b765bdb683494caac0327202da7f46e893df99cc
b765bdb683 Enable MemoryCacheStorage in more CI setups (#1853)
2022-02-21 17:03:43 +00:00
Tomas Votruba
636e1a8227 Updated Rector to commit 710e77b2b802a8fdf3ff229775281057dde8e07e
710e77b2b8 [Scoped] Using php-parallel-lint 1.3.1 (#1854)
2022-02-21 15:01:26 +00:00