4311 Commits

Author SHA1 Message Date
Tomas Votruba
fa67d66a44 Updated Rector to commit 3eb503653fc1240a10c8be730f1ecfd45c47396c
3eb503653f [BetterStandardPrinter] Using Expr_ArrowFunction->returnType with print return type double colon right after the bracket (#596)
2021-08-05 05:49:38 +00:00
Tomas Votruba
fcfef6acab Updated Rector to commit 529eb40360f0a40a03bdaeb0e657fbaaec2a1c02
529eb40360 [DowngradePhp80] Handle both DowngradeTypedPropertyRector and DowngradeMixedTypeDeclarationRector Name parameter (#591)
2021-08-04 07:34:48 +00:00
Tomas Votruba
54d8b7a970 Updated Rector to commit 0a51a73ad61b0ec2f9195ead66880e71a0e6779b
0a51a73ad6 [CodeQuality] Remove MoveVariableDeclarationNearReferenceRector for too wide domain, not capable on most of real projects (#587)
2021-08-03 18:06:18 +00:00
Tomas Votruba
46cf4c1774 Updated Rector to commit 0888a92985f8018f486798af0f33928f221e7f0f
0888a92985 [CodeQuality] Skip class with constructor parameter for ClassConstFetch on CallableThisArraToAnonymousFunctionRector (#581)
2021-08-03 10:22:54 +00:00
Tomas Votruba
b1a34f7f49 Updated Rector to commit 23bf1ca7716bc88387095b541df97b5f7ae28b83
23bf1ca771 static fixes (#578)
2021-08-02 19:35:36 +00:00
Tomas Votruba
1452c5d9ff Updated Rector to commit b3480900f3da86846dfabdfcd7e12f07b16a3f78
b3480900f3 [CodingStyle] Remove YieldClassMethodToArrayClassMethodRector, rather PHPStorm job (#576)
2021-08-02 17:48:07 +00:00
Tomas Votruba
4a5ca2c9e5 Updated Rector to commit 66e21558ba914cba2549e1940ef1e0fd7b4e6521
66e21558ba [PHPOffice] Extract package to standalone project (#575)
2021-08-02 15:56:42 +00:00
Tomas Votruba
ab81b0c165 Updated Rector to commit e5b00c449ce9485df836dbfa9043219153045453
e5b00c449c [VersionBonding] Correctly shows missed rectors that will not run (#574)
2021-08-02 14:42:58 +00:00
Tomas Votruba
bfa1433bd5 Updated Rector to commit 2c71aa697612bf1e90a7be545f31c338278b0579
2c71aa6976 [VersionBonding] Update rector warning message for min PHP version project (#572)
2021-08-02 09:39:41 +00:00
Tomas Votruba
90467ad594 Updated Rector to commit b34ff8ca1311c8819a0dab972c1864c771daca2f
b34ff8ca13 [Defluent] Skip clone uses trait on DefluentReturnMethodCallRector (#558)
2021-08-01 17:00:37 +00:00
Tomas Votruba
0347b32272 Updated Rector to commit 44a00682aaf0dfb612463e85e40bb42d2e110b53
44a00682aa [Config] Add scoper.php to rector config path (#569)
2021-08-01 16:55:31 +00:00
Tomas Votruba
d0e5aaee2f Updated Rector to commit 645b7a8e8ff13fd4bbefaee6a874d49c744e8b29
645b7a8e8f [automated] Re-Generate Nodes/Rectors Documentation (#562)
2021-08-01 00:25:55 +00:00
Tomas Votruba
bee6271c0a Updated Rector to commit 59d63d6f4a486d574b17f68e406fa72125c8eb7d
59d63d6f4a [TypeDeclaration] Allow ArrowFunction on ReturnTypeFromStrictTypedCallRector (#556)
2021-07-31 11:40:13 +00:00
Tomas Votruba
c3bc0fc47d Updated Rector to commit d9f47f85729740fe2108d8b0e92e9c97403b6849
d9f47f8572 [DeadCode] Using SideEffectNodeDetector::detectCallExpr() on RemoveOverriddenValuesRector (#554)
2021-07-31 11:34:50 +00:00
Tomas Votruba
406cb3c9f8 Updated Rector to commit a152283fd7c858f74110d9d220e322bc0e256a67
a152283fd7 cleanup (#547)
2021-07-30 07:40:46 +00:00
Tomas Votruba
74fd096ad7 Updated Rector to commit 46a6ab042e2e522c3c2b4b11aa09414df374387b
46a6ab042e [PHP 8.0] Fix strinable interface detection (#542)
2021-07-29 16:36:00 +00:00
Tomas Votruba
ff5108a964 Updated Rector to commit cdad000d81c83a9f828281ff85fa67f0adfeee24
cdad000d81 [DowngradePhp80] Register DowngradeThrowExprRector to downgrade-php80 config set (#538)
2021-07-29 00:44:05 +00:00
Tomas Votruba
74c3f7c261 Updated Rector to commit f44e09e077b78216cd721f2bdf83a4e063450b83
f44e09e077 [DeadCode][Defluent][NodeNameResolver] Using CallAnalyzer to check object call when possible (#529)
2021-07-28 11:11:32 +00:00
Tomas Votruba
6f760e17cc Updated Rector to commit 5d8789025dc14a3956b83bd934bbb78bf9e648ed
5d8789025d Fix NullsafeOperatorRector (#532)
2021-07-28 10:00:12 +00:00
Tomas Votruba
0032287992 Updated Rector to commit 687a77765f975a2449ea8010192ac84e6548bc51
687a77765f Added MemoryCacheStorage and use it in  (#525)
2021-07-28 07:05:44 +00:00
Tomas Votruba
b8d4e57170 Updated Rector to commit a7f111e201b95271acfdd090d017e3d112c5d1dd
a7f111e201 [PHPStan] Clean up PHPStan ignore error messages (#530)
2021-07-28 04:37:30 +00:00
Tomas Votruba
a23b777a9a Updated Rector to commit 3a96b9097d6fbc29085210f2d85dd5d95755ef31
3a96b9097d [DeadCode] Skip fluent return  on RemoveEmptyMethodCallRector (#521)
2021-07-27 11:16:44 +00:00
Tomas Votruba
e105af90f5 Updated Rector to commit 89ef54d16c529539c882df7417ebfbb63dc384a3
89ef54d16c fix cs (#517)
2021-07-26 16:26:09 +00:00
Tomas Votruba
2e2725a511 Updated Rector to commit 6478ec1c41639675a88d7056ca441d0acec2ba5e
6478ec1c41 Sync FileCacheStorage with changes from phpstan-src (#498)
2021-07-26 13:28:02 +00:00
Tomas Votruba
516a748cf7 Updated Rector to commit b47f2c980dac6f39c680c393489c843c3d6a5498
b47f2c980d [TypeDeclaration] Keep simple class on auto import for CompleteVarDocTypePropertyRector (#513)
2021-07-26 13:12:59 +00:00
Tomas Votruba
c231e32779 Updated Rector to commit eb91c61b9537167d6e07a08eae8874ad2c294f5d
eb91c61b95 [Config] Clean up rector.php config (#514)
2021-07-26 09:06:10 +00:00
Tomas Votruba
dfa7a8133f Updated Rector to commit 923bb729839db311cdc77f3105164949a9da61a7
923bb72983 [Naming] Remove MakeBoolPropertyRespectIsHasWasMethodNamingRector, not reliable and rather PHPStan scope (#511)
2021-07-25 16:57:05 +00:00
Tomas Votruba
c87080e236 Updated Rector to commit a5d59dab8bd712261c5f0c56be070d7c15487265
a5d59dab8b Remove PropertyAdder, extra layer without value (#507)
2021-07-25 12:40:11 +00:00
Tomas Votruba
c4c84e0db7 Updated Rector to commit 34fff11f804db752790ca22c7fd5e69bbf51f037
34fff11f80 Remove deprecated addConstructorDependencyToClass() from AbstractRector class, use PropertyToAddCollector directly instaed (#506)
2021-07-25 11:42:11 +00:00
Tomas Votruba
c141cde162 Updated Rector to commit 34c3e8fce9249c87666ac525aa8fb889d443beca
34c3e8fce9 [TypeDeclaration] Handle (object) cast on CompleteVarDocTypePropertyRector (#503)
2021-07-25 11:41:40 +00:00
Tomas Votruba
3f2ea1ec26 Updated Rector to commit dfbd366b74df51ca25f509c779499cd9978b5045
dfbd366b74 [Transform] Add MethodCallToMethodCallRector (#505)
2021-07-25 11:10:57 +00:00
Tomas Votruba
4a70b89e41 Updated Rector to commit 4456c4690bbe679448a02e20ebc521b1fa9b6b48
4456c4690b extend AutowiredClassMethodAnalyzer with property
2021-07-25 07:47:04 +00:00
Tomas Votruba
4c03335bdf Updated Rector to commit 771a3390b05887e1ff9443cb8b697b3a7455b4ca
771a3390b0 [TypeDeclaration] Handle simple class name as string for non-native class (#501)
2021-07-24 11:53:32 +00:00
Tomas Votruba
29501d46b5 Updated Rector to commit 9d51f3c47f6826240523816fd106b6912b42487a
9d51f3c47f [Naming] Fix imported trait names (#500)
2021-07-23 14:43:26 +00:00
Tomas Votruba
27e4e06416 Updated Rector to commit 5967ffa2674cda52c5487be141a0b5297e913035
5967ffa267 Fix along other packages gha (#492)
2021-07-23 06:16:10 +00:00
Tomas Votruba
a3e534ff19 Updated Rector to commit db2e76b99cfca0c66d190410f2011a073451e7dc
db2e76b99c load stubs in config
2021-07-22 23:37:17 +00:00
Tomas Votruba
29db7ec980 Updated Rector to commit 1747d9899af2115e6aa0af488a106b3abc8ea413
1747d9899a [DeadCode] Skip next used as variable variable on RemoveUnusedVariableAssignRector (#486)
2021-07-22 14:50:45 +00:00
Tomas Votruba
8b47bb5ba9 Updated Rector to commit bba606c609ede6368a7cd1a84c73b9d86b1480aa
bba606c609 Fix alias object imports (#480)
2021-07-21 14:23:45 +00:00
Tomas Votruba
e3f99041de Updated Rector to commit 24a32dfefb21f925bbf48ad58b3d834d7988ca40
24a32dfefb Fix docs double import (#478)
2021-07-21 13:46:30 +00:00
Tomas Votruba
1127b0c4e2 Updated Rector to commit bc9d2d48d5c7bd9fe011377e46b0dca464c8dceb
bc9d2d48d5 [DX] Add MissedRectorDueVersionChecker (#465)
2021-07-21 09:35:57 +00:00
Tomas Votruba
7483b5a016 Updated Rector to commit 692e9e3db43bf4786fcd8fd7980ff6b239344620
692e9e3db4 Rector 7.0 Native init steps (#475)
2021-07-21 08:41:12 +00:00
Tomas Votruba
9e4b848150 Updated Rector to commit 48ccb539d49aede106e02c5a855b51f8548f3c07
48ccb539d4 [DeadCode] Handle null start token position attribute in NodeByTypeAndPositionCollector (#469)
2021-07-20 14:23:43 +00:00
Tomas Votruba
f5fb11d45f Updated Rector to commit 269a76303d2d4095eac68143431a56325c657f61
269a76303d skip Windows-broken rules (#463)
2021-07-19 21:11:19 +00:00
Tomas Votruba
cad500c817 Updated Rector to commit 0d3e54357f39cef2be8581d78596be1a9e252313
0d3e54357f extract VendorLocationDetector (#462)
2021-07-19 20:57:26 +00:00
Tomas Votruba
0ead874fad Updated Rector to commit 75c06eab69f50725add0c315bc6dfaf4a7b2f5c5
75c06eab69 Fix match static method name in annotation (#446)
2021-07-19 05:06:26 +00:00
Tomas Votruba
3b70eb89d7 Updated Rector to commit b76df70f2fee3206737d2fa3803fa7b5ca69fda6
b76df70f2f [Core] Refactor RectorError ValueObject with inject with SmartFileInfo (#453)
2021-07-18 11:02:23 +00:00
Tomas Votruba
d77b300a95 Updated Rector to commit 2fc18bd2c0f1a0f5a3183e9115abd597e87f2241
2fc18bd2c0 [Rectify] Manual twice run rector against rules directory (#448)
2021-07-18 02:11:18 +00:00
Tomas Votruba
e3f781999f Updated Rector to commit 2a28758894a0a5668f6d369714c5d731737ec6fd
2a28758894 [Core] Fix --no-progress-bar option not applied (#447)
2021-07-17 03:01:09 +00:00
Tomas Votruba
e71a1c12e1 Updated Rector to commit b001e388ccfb37f8af1f4873c63212a0155f642a
b001e388cc [TypeDeclaration] Skip ReturnTypeFromStrictTypedCallRector on possible no return (#441)
2021-07-16 16:43:25 +00:00
Tomas Votruba
cc15e42d73 Updated Rector to commit a0f2ad97896e7b0afc830e0f51c89679948dd2be
a0f2ad9789 [Privatization] Skip ChangeGlobalVariablesToPropertiesRector on read only global variable (#442)
2021-07-16 09:16:38 +00:00