1853 Commits

Author SHA1 Message Date
Tomas Votruba
9094a0693a Updated Rector to commit 73306740de2dfdd73b05e22c88fcfc0d15bc8c52
73306740de [Transform] Handle property exists via Property Promotion on NewToMethodCallRector (#1915)
2022-03-08 08:23:12 +00:00
Tomas Votruba
35e69e8ef4 Updated Rector to commit 72710eb9476b64a35ede0ab231dd02a624a1a936
72710eb947 Typo fix: ecs -> rector in ApplicationFileProcessor (#1914)
2022-03-07 19:06:49 +00:00
Tomas Votruba
a033b9c203 Updated Rector to commit dbdcaa188c139032272572f327fc13f1daab5f02
dbdcaa188c [Php81] Skip override __construct from interface on NewInInitializerRector (#1913)
2022-03-07 18:55:56 +00:00
Tomas Votruba
644d49bcf9 Updated Rector to commit c149cb40413fafa8885bfbe1b580c7013be99ac0
c149cb4041 remove fixed errors
2022-03-07 13:49:52 +00:00
Tomas Votruba
e2b38df3ff Updated Rector to commit 0c18cf682f15f1cf66cdbcf7e0613659e204652f
0c18cf682f [TypeDeclaration] Skip ArrayShapeFromConstantArrayReturnRector on class name as key (#1911)
2022-03-07 12:15:05 +00:00
Tomas Votruba
4e57fb25dc Updated Rector to commit 15c81068713a06138dd99103da8321a386998137
15c8106871 [Order] Deprecate rather coding standard related set, use OrderedClassElementsFixer instead (#1910)
2022-03-07 12:13:17 +00:00
Tomas Votruba
c91768f1b2 Updated Rector to commit 96601889449e4ff8b8090ed7d6f90480dd5593e1
9660188944 [phpstan] Add known array keys types (#1909)
2022-03-07 11:51:39 +00:00
Tomas Votruba
fe65ca2911 Updated Rector to commit 8057e33f915e9bab0ad10271414a1504e60331c0
8057e33f91 [TypeDeclaration] Add ArrayShapeFromConstantArrayReturnRector (#1908)
2022-03-07 11:34:50 +00:00
Tomas Votruba
cbb0b7e7e8 Updated Rector to commit 55a13c00205d47c74cb39bdd39c8a579be5dfe89
55a13c0020 test run in phpstan 1.4.8 (#1904)
2022-03-06 13:52:52 +00:00
Tomas Votruba
a310d71ba1 Updated Rector to commit 55a13c00205d47c74cb39bdd39c8a579be5dfe89
55a13c0020 test run in phpstan 1.4.8 (#1904)
2022-03-06 13:14:20 +00:00
Tomas Votruba
2d19ff31f4 Updated Rector to commit 55a13c00205d47c74cb39bdd39c8a579be5dfe89
55a13c0020 test run in phpstan 1.4.8 (#1904)
2022-03-06 00:42:13 +00:00
Tomas Votruba
41d47ce22b Updated Rector to commit 3948d8b1d43ac7732a269d2e679d7b7541532501
3948d8b1d4 [Arguments] Add RemoveMethodCallParamRector (#1906)
2022-03-05 11:39:32 +00:00
Tomas Votruba
63e7bd57f7 Updated Rector to commit 00e857f07e0b09ac69fa404820b20514c79a7376
00e857f07e [Transform] Add type matching to MethodCallToPropertyFetchRector (#1905)
2022-03-05 11:00:01 +00:00
Tomas Votruba
4659b9e983 Updated Rector to commit 460e0b464e4fcc696f1d106200187ab713505b73
460e0b464e make insertBefore() private, as used only locally (#1903)
2022-03-04 11:22:36 +00:00
Tomas Votruba
fe55b1f78a Updated Rector to commit 4296dd55591ccf738bb2d1aed5b3f0e644e3f941
c60362fd41 typo 4296dd5559 update docs
2022-03-04 11:12:01 +00:00
Tomas Votruba
d71817eb06 Updated Rector to commit 978fd782538b543e8a4ef930c0927d71c1f21852
978fd78253 remove fixed phpstan errors
2022-03-03 22:09:30 +00:00
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 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