Commit Graph

14779 Commits

Author SHA1 Message Date
Tomas Votruba
fad0b90180 Updated Rector to commit 3f3fc412140becdc86cc43a6ef87b5be495c9444
3f3fc41214 [CodeQuality][CodingStyle] Handle crash assert( >= 0 &&  >= 0) on combination CodeQuality and CodingStyle rules (#2707)
2022-07-25 20:13:13 +00:00
Tomas Votruba
e9a18115e4 Updated Rector to commit 3f3fc412140becdc86cc43a6ef87b5be495c9444
3f3fc41214 [CodeQuality][CodingStyle] Handle crash assert( >= 0 &&  >= 0) on combination CodeQuality and CodingStyle rules (#2707)
2022-07-24 07:46:34 +00:00
Tomas Votruba
8e5d4128e7 Updated Rector to commit b047c81634f8325b94d6e5b39fae6a599f65bca8
b047c81634 [automated] Re-Generate Nodes/Rectors Documentation (#2706)
2022-07-24 00:40:22 +00:00
Tomas Votruba
d6319ec783 Rector 0.13.9 2022-07-23 10:55:44 +00:00
Tomas Votruba
66a5285042 Updated Rector to commit cdf7bf581c6a417cfc8fc2b256597f30165d061f
cdf7bf581c [BetterPhpDocParser] Merge PhpDocInfo::getParamTagValueByName() with getParamTagValueNodeByName() (#2703)
2022-07-23 09:02:51 +00:00
Tomas Votruba
d21608a0d4 Updated Rector to commit c4d6f19b4d6386758b1f7aee3f1a9d4e41b59b42
c4d6f19b4d [TypeDeclaration] Add AddReturnTypeDeclarationBasedOnParentClassMethodRector to type-declaration config set (#2702)
2022-07-22 14:40:56 +00:00
Tomas Votruba
1d657845a7 Updated Rector to commit 1836de97836c78ae4c85c1fdce3664688fb1011f
1836de9783 AddReturnTypeDeclarationBasedOnParentClassMethodRector (#2666)
2022-07-22 14:18:53 +00:00
Tomas Votruba
e383186790 Updated Rector to commit 764416672a588c4bd80084a853973773f9835690
764416672a Fix InlineArrayReturnAssignRector and ChangeReadOnlyPropertyWithDefaultValueToConstantRector collision (#2700)
2022-07-21 21:45:25 +00:00
Tomas Votruba
be073d8e55 Updated Rector to commit 1000cd51c57f7672d7e87c312cada4150bd98dd6
1000cd51c5 Attempt to fix incorrect doctrine table attribute values on php 8.1 (#2699)
2022-07-21 21:29:13 +00:00
Tomas Votruba
254b108ff5 Updated Rector to commit ff524c546b9bc82cd5f1dcf3d0870d40d2cd64df
ff524c546b bump deps (#2698)
2022-07-21 11:54:36 +00:00
Tomas Votruba
2f66cf1f32 Updated Rector to commit 07ab6051dff0262c2ee6ea060056bf9e56186ada
07ab6051df [PHPStan] Clean up ignore errors for narrow public (#2697)
2022-07-21 09:19:12 +00:00
Tomas Votruba
951e340c94 Updated Rector to commit 49a8343323c6cc5c40e1ca0ef4b3e6c418848ea7
49a8343323 [PHP 8.1] Keep use stmts in MyCLabsClassToEnumRector enum (#2696)
2022-07-20 13:38:02 +00:00
Tomas Votruba
cebbc835dd Updated Rector to commit 963c48c32a154f0045adde8793492afb0bf3caf2
963c48c32a [PHP 8.1] Extend MyCLabsMethodCallToEnumConstRector with getValue() and static call (#2695)
2022-07-20 13:20:59 +00:00
Tomas Votruba
cce8c4f1c9 Updated Rector to commit aee31cebb921d7213c9ffdf802e7481221c0453c
aee31cebb9 change to list of configs (#2694)
2022-07-20 11:52:30 +00:00
Tomas Votruba
aa6004e082 Updated Rector to commit ae31fb60aeb3c49fb47b3fa12c792098e67831c5
ae31fb60ae [PHPStan] Resolve variable name casing (#2689)
2022-07-20 05:05:58 +00:00
Tomas Votruba
8a0350a804 Updated Rector to commit 9cb0a5efb59c51c662a4b6eb56753b9cc2174e21
9cb0a5efb5 [PHPStan] Resolve duplicated regex value (#2690)
2022-07-20 05:00:44 +00:00
Tomas Votruba
f01bc715ee Updated Rector to commit c74cda7cead18dc51061bd8540c64e98a6aec3b8
c74cda7cea Remove UnwrapFutureCompatibleIfFunctionExistsRector as very niche and specific (#2688)
2022-07-19 22:41:37 +00:00
Tomas Votruba
3d514a7b40 Updated Rector to commit 0972dedb01bbc4ff1fa83965ffd8b26ab172f1eb
0972dedb01 Extend dead-code set (#2687)
2022-07-19 22:22:01 +00:00
Tomas Votruba
9b6234b1bc Updated Rector to commit b492d2077dfb0ee9c08664747c0c3e8ed73dbc97
b492d2077d [DX] Cleanup, Remove RepeatedLiteralToClassConstantRector, as very narrow use case; use rather phpstan + Remove ChangeLocalPropertyToVariableRector, as buggy and unreliable; better use PHPStan (#2686)
2022-07-19 21:15:00 +00:00
Tomas Votruba
643657d0ed Updated Rector to commit c3e31f067de83606b46188d26fcca61a3e89c3c8
c3e31f067d move ReturnTypeFromStrictTypedCallRector to enterprise (#2685)
2022-07-19 20:28:05 +00:00
Tomas Votruba
4f969ebd66 Updated Rector to commit c474c67319c9072b81dd9bcb1f4d6f201e1a1e4e
c474c67319 misc (#2678)
2022-07-19 18:25:44 +00:00
Tomas Votruba
ab3565ff17 Updated Rector to commit 0ffaacaf3cf1094d3abfb3e0aee9543d12aa6490
0ffaacaf3c Cleanup set list from old sets (#2684)
2022-07-19 18:21:38 +00:00
Tomas Votruba
6f849831d7 Updated Rector to commit d030813bb995528a026e8ea3c84028fd47a4debd
d030813bb9 Clean up skip rector.php config (#2682)
2022-07-19 08:22:01 +00:00
Tomas Votruba
9244858669 Updated Rector to commit ddb08dc9dd6e4a279dd0d88633cdd51ca14581e0
ddb08dc9dd Clean up PHPStan ignore errors (#2681)
2022-07-19 08:04:51 +00:00
Tomas Votruba
e87c453b7e Updated Rector to commit a66e6530decedb25b89c0049da402ec5828034b3
a66e6530de [Transform] Handle crash string in EnumCase on StringToClassConstantRector (#2680)
2022-07-18 23:37:02 +00:00
Tomas Votruba
9c5eda645c Updated Rector to commit c9ecc86d7e1621b435aed598317a6962e22e8039
c9ecc86d7e Cleanup of assign void (#2679)
2022-07-18 23:10:43 +00:00
Tomas Votruba
e67795209e Updated Rector to commit f74bdede72ab3a95dfa5f8670b369c2d4cd2e4db
f74bdede72 [CodingStyle] Deprecate PHPStormVarAnnotationRector, rather tokens responsibility (#2677)
2022-07-18 15:33:08 +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
b8d580b548 Updated Rector to commit d1f91502773e1cc2de6fc5c7ee7b2077165f6762
d1f9150277 [CodeQuality] Handle crash attribute used on trait on CallableThisArrayToAnonymousFunctionRector (#2675)
2022-07-18 14:32:34 +00:00
Tomas Votruba
ce84017a24 Updated Rector to commit f6090319c24eb98de56d09353c24b5c30da9e7fc
f6090319c2 [PHPStan] Reduce PHPStan errors for narrow public - take 3 (#2674)
2022-07-17 12:27:00 +00:00
Tomas Votruba
da70700f98 Updated Rector to commit ce32685688660a000848322caadcf336bfc282f8
ce32685688 [PHPStan] Reduce PHPStan errors for narrow public - take 2 (#2673)
2022-07-17 01:16:52 +00:00
Tomas Votruba
46dd47dd4e Updated Rector to commit ac94ddd5bd269b17afc339f39af711c02d56b34a
ac94ddd5bd [PHPStan] Reduce PHPStan errors for narrow public - take 1 (#2672)
2022-07-16 14:24:54 +00:00
Tomas Votruba
5bce2cfaec Updated Rector to commit 97ef9ff17fb2a92141621baccae2f52d9659d0e6
97ef9ff17f Improve namespace names validation (#2670)
2022-07-16 12:31:38 +00:00
Tomas Votruba
09e7c38ed0 Updated Rector to commit e302870bd68ae670fdaffe529d26b5e1c5347408
e302870bd6 Improve RectorAssert tests + add assert name on rename configs (#2669)
2022-07-16 11:25:49 +00:00
Tomas Votruba
4b2bd56de7 Updated Rector to commit 6577da612c2824c2add06721b903de4cd438631e
6577da612c [DX] Add input validation for method, property and function name to avoid invalid output ast (#2668)
2022-07-16 09:41:53 +00:00
Tomas Votruba
587cd1ea1b Updated Rector to commit e8d0d572934d5faec64d480d9cd985a3823c9c0a
e8d0d57293 Fix getter method property substitution when the readable types don't match. (#2667)
2022-07-15 23:16:52 +00:00
Tomas Votruba
6f2ea78a3d Updated Rector to commit 12ab2ac8277a0899e2440ea36fb50ace4299f444
12ab2ac827 Fix test to only resolve to known classes (#2663)
2022-07-15 20:47:06 +00:00
Tomas Votruba
a05f4bdb4d Updated Rector to commit db7012edc116426e441645abdc1cffcb8c47ee85
db7012edc1 [Php80] Add implements interface support on single file on AddParamBasedOnParentClassMethodRector (#2660)
2022-07-15 15:03:05 +00:00
Tomas Votruba
0077120e40 Updated Rector to commit db7012edc116426e441645abdc1cffcb8c47ee85
db7012edc1 [Php80] Add implements interface support on single file on AddParamBasedOnParentClassMethodRector (#2660)
2022-07-15 08:20:20 +00:00
Tomas Votruba
ead00ac355 Updated Rector to commit 84012e4ac915dd5d8e7527bffdec302d53dc222e
84012e4ac9 Static type improvements (#2662)
2022-07-15 08:14:37 +00:00
Tomas Votruba
f75d563163 Updated Rector to commit 8a6b70456e536174d88a29c865bed73a6fa89534
8a6b70456e [Core] Move check CREATED_BY_RULE attribute from AbstractRector into RectifiedAnalyzer (#2665)
2022-07-15 08:02:59 +00:00
Tomas Votruba
4b78498132 Updated Rector to commit 328c43713e7b7ec77675637582117619af012985
328c43713e static fixes (#2661)
2022-07-14 22:29:28 +00:00
Tomas Votruba
24b5f6d999 Updated Rector to commit 14b5cb1d6747f44e827dcce2160105dc17496927
14b5cb1d67 [TypeDeclaration] Skip property exists in parent on TypedPropertyFromStrictConstructorRector (#2659)
2022-07-14 00:42:36 +00:00
Tomas Votruba
9d2c3a2853 Updated Rector to commit ae7648ed92396d39b4d364328312250b2c66f40e
ae7648ed92 [CodingStyle] Add StaticClosureRector (#2658)
2022-07-13 20:35:23 +00:00
Tomas Votruba
2747e037dd Updated Rector to commit 743fef03d939a8a4fc4aa9364df057854e97e5c7
743fef03d9 [CodingStyle] Add StaticArrowFunctionRector (#2657)
2022-07-13 16:07:41 +00:00
Tomas Votruba
4ddedc166e Updated Rector to commit b1ae9a141523ee35af1f63aab39d945e8df03275
b1ae9a1415 [DeadCode] Handle crash on indirect parent BinaryOp on RemoveDuplicatedInstanceOfRector (#2652)
2022-07-11 13:39:30 +00:00
Tomas Votruba
10beeee699 Updated Rector to commit aae75c63d5b30a61bcd9fae806ee201530a54669
aae75c63d5 [Php74] Skip TypedPropertyRector on final class by @final docblock (#2654)
2022-07-11 13:39:15 +00:00
Tomas Votruba
5741d7a8f3 Updated Rector to commit 5debc09c986ee0d92de270d4cd170f6285c430e8
5debc09c98 [TypeDeclaration] Skip modififed type between assign and return on ReturnTypeFromStrictNewArrayRector (#2651)
2022-07-10 17:47:25 +00:00
Tomas Votruba
0837a1f067 Updated Rector to commit 7e1c2bb2b9a0b8d5342499e0dbb8ebee921769d0
7e1c2bb2b9 [TypeDeclaration] Skip Type modified between Assign and Return_ on ReturnTypeFromReturnNewRector (#2650)
2022-07-10 15:47:24 +00:00
Tomas Votruba
368ad1b2c7 Updated Rector to commit f5896ace8c46fcfb1936946052e57623cced7f60
f5896ace8c [automated] Apply Coding Standard (#2649)
2022-07-10 00:42:06 +00:00