Tomas Votruba
3c6c1c03f8
Updated Rector to commit a2f70054a7d976acd2c73b06789095b998829be6
...
a2f70054a7
[DocBlock] Update docblock contents right in the rule (#4999 )
2023-09-11 21:30:42 +00:00
Tomas Votruba
67ef720476
Updated Rector to commit 780ef4010d45be3e89844dec073ce2078a10f96f
...
780ef4010d
Deprecated PhpDocInfo::markAsChanged() to ensure doc block is changed directly in the Rector rule (#4987 )
2023-09-11 14:54:44 +00:00
Tomas Votruba
4c20b79d3c
Updated Rector to commit ae3608b3d6464b63a041dd5e779c7b4e8f4cedb6
...
ae3608b3d6
Remove ununnecesary markAsChanged() in PhpDocTypeChanger, print docblock in explicit way when changed (#4983 )
2023-09-11 09:47:14 +00:00
Tomas Votruba
aaa2d927d5
Updated Rector to commit cda957718f1eb9d1629bc27ed8b060c6f41ce033
...
cda957718f
[Performance][Printer] Reduce regex check use( no space on BetterStandardPrinter (#4971 )
2023-09-10 18:48:21 +00:00
Tomas Votruba
5b0f55fa4b
Updated Rector to commit 7433ffeb07507632659635152b35af66320d1e07
...
7433ffeb07
[Printer] Reduce regex for end with \n detection on BetterStandardPrinter (#4957 )
2023-09-10 01:02:05 +00:00
Tomas Votruba
326e84f967
Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
...
7078b51a7c
[TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890 )
2023-09-01 11:10:35 +00:00
Tomas Votruba
3fe8eb8e32
Updated Rector to commit a29e3afdb65a6378eb91a9fec7c706d54366633b
...
a29e3afdb6
Make indent size and char fetchable (#4762 )
2023-08-11 09:14:44 +00:00
Tomas Votruba
38d5eacbd5
Updated Rector to commit 56d1c1822bd594c2643a0f5431444d1454cf2335
...
56d1c1822b
[Printer] Fix printing PHPStan AlwaysRememberedExpr with add unwrapper inside BetterStandardPrinter::p (#4629 )
2023-08-03 09:57:07 +00:00
Tomas Votruba
aae549741f
Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
...
0cb3fd0feb
[Php73] Handle crash Type Error on JsonThrowOnErrorRector (#4626 )
2023-08-01 10:55:14 +00:00
Tomas Votruba
e24fff2c36
Updated Rector to commit 68d092c547af462f8e036a6d06bd343e15103901
...
68d092c547
[DX] Make use of SimpleParameterProvider directly, deprecate RectorConfigProvider (#4460 )
2023-07-09 13:51:12 +00:00
Tomas Votruba
6981c70c9a
Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
...
9ed8c21b12
[DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector (#4388 )
2023-07-01 09:41:56 +00:00
Tomas Votruba
fba1230ae5
Updated Rector to commit 0d9828f9d90ee0dd4b50f759c150575785cce6b8
...
0d9828f9d9
[automated] Apply Coding Standard (#4265 )
2023-06-18 00:34:36 +00:00
Tomas Votruba
455a66f4b6
Updated Rector to commit 628260708ccc40d17e1ef2147774170ac030597f
...
628260708c
[Performance] Only map comment to php_doc_info for Stmt and Param on BetterStandardPrinter (#4250 )
2023-06-17 07:46:33 +00:00
Tomas Votruba
503a6059f8
Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
...
a8922f7431
skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba
3313a231b7
Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
...
bb609b28e3
[Core] Always reset stopTraversal to false on next Rector visit (#4182 )
2023-06-11 14:17:34 +00:00
Tomas Votruba
f82e30a026
Updated Rector to commit ae874efa148e6d5a031503892a6307824b4d7003
...
ae874efa14
Remove SourceLocatorProviderInterface as unused (#4126 )
2023-06-08 22:00:17 +00:00
Tomas Votruba
f6e608f751
Updated Rector to commit 6c3eb864d7a543b9e6f0379959bb98de489ab853
...
6c3eb864d7
Remove MultipleClassFileToPsr4ClassesRector as only PSR4 rule, bit risky and better handled with PHPStan + remove adding/removing files logic, use printer instead (#4117 )
2023-06-08 17:22:43 +00:00
Tomas Votruba
9e103260ec
Updated Rector to commit 2f3e9be0ae108c75f9de8fbf2ea92f0393ad9839
...
2f3e9be0ae
[DX] Test BetterNodeFinder with Laravel container (#4106 )
2023-06-08 14:23:03 +00:00
Tomas Votruba
a97ef30b94
Updated Rector to commit fe33aad6cbff85882e60ef2461e929d5b1957456
...
fe33aad6cb
[Printer] Rename method decorateInlineHTMLOrNopAndUpdatePhpdocInfo() to moveCommentsFromAttributeObjectToCommentsAttribute() (#4110 )
2023-06-07 16:12:13 +00:00
Tomas Votruba
348aef8907
Updated Rector to commit f4f94bcd4bb9fd9819ae11b1d2b06b74a078c205
...
f4f94bcd4b
[NodeTraverser] Remove double apply FileWithoutNamespace, remove recursive lookup stmts on BetterStandardPrinter (#4097 )
2023-06-07 02:01:28 +00:00
Tomas Votruba
9e58a778f4
Updated Rector to commit 02b93319906ffa9842cbab8f80d58d8b5576cf43
...
02b9331990
[Traverser] Add BreakingRemovalGuardNodeVisitor to reduce parent attribute usage on BreakingRemovalGuard (#3978 )
2023-06-04 09:14:10 +00:00
Tomas Votruba
062552321e
Updated Rector to commit 4635c3936d920f9350e985772156a51b40604c9c
...
4635c3936d
[PHP+HTML cleanup] Remove MixPhpHtmlDecorator (#4054 )
2023-06-03 13:48:48 +00:00
Tomas Votruba
9a2931cbe4
Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
...
bdc2fc9963
[NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037 )
2023-06-01 08:56:46 +00:00
Tomas Votruba
d8c877db45
Updated Rector to commit 33d05d3b9ee7838d254edf58dbd05a355891b48b
...
33d05d3b9e
Refactor RenameVariableToMatchMethodCallReturnTypeRector to StmtsAwareInterface (#3977 )
2023-05-26 14:00:49 +00:00
Tomas Votruba
4fa709b27b
Updated Rector to commit 05c4367a51af6f0d4c56a9ab466aa32a873acc83
...
05c4367a51
[Printer] Reduce parent attribute usage on BetterStandardPrinter on print ArrowFunction comment (#3855 )
2023-05-15 08:40:30 +00:00
Tomas Votruba
e02a2a45af
Updated Rector to commit 33e59eeadf3da67db8dcdebfc8bef3701a17592a
...
33e59eeadf
Remove UpdateFileNameByClassNameFileSystemRector niche rule that was added just for example sake (#3849 )
2023-05-14 16:07:53 +00:00
Tomas Votruba
65abab80de
Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
...
5c1be93b80
PHP 8.2 is supported (#3717 )
2023-05-01 01:36:32 +00:00
Tomas Votruba
9038a0d99c
Updated Rector to commit 1a91d04c5256e451c744eeb848aaa0182dd227c5
...
1a91d04c52
[CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544 )
2023-04-01 10:14:17 +00:00
Tomas Votruba
0b3c5d9bcc
Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
...
f22ddc8f18
Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513 )
2023-03-23 23:21:34 +00:00
Tomas Votruba
7a5d9d8a62
Updated Rector to commit 6091bdd821a72aa9df52363d944b003ec2fbaf1d
...
6091bdd821
[Printer] Avoid undefined index 0 on printing FileWithoutNamespace (#3459 )
2023-03-05 23:49:34 +00:00
Tomas Votruba
7d0f151a40
Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
...
a2cd7283fb
Typo fix comment php 7.3 compat on rector workflow (#3432 )
2023-03-01 13:00:30 +00:00
Tomas Votruba
acd9d65c74
Updated Rector to commit f60aaa59539dfa31b03085ba0747a73b1815d23e
...
f60aaa5953
[Core] Handle space removed on no rules applied on PhpFileProcessor (#3412 )
2023-02-25 12:53:14 +00:00
Tomas Votruba
105747beb9
Updated Rector to commit 7a6531d32db4db72241628feb6f8257e2df3720e
...
7a6531d32d
[Core][Printer] Re-use resolveNewStmts() from BetterStandardPrinter on FormatPerservingPrinter (#3411 )
2023-02-25 02:42:36 +00:00
Tomas Votruba
d7f9660bce
Updated Rector to commit f9f4217a6d0cf0a13f17af52a4c4f52e246fbe5b
...
f9f4217a6d
[e2e] [printer] Fix short open tag mixed php+html cause surplus <?php (#3395 )
2023-02-21 09:58:59 +00:00
Tomas Votruba
d17680f2a5
Updated Rector to commit d8aa22b6713269ddafa80679777b3de9a4f456dd
...
d8aa22b671
[Printer][EarlyReturn] Enable InlineHTML on RemoveAlwaysElseRector (#3387 )
2023-02-16 20:39:52 +00:00
Tomas Votruba
ab02d967b9
Updated Rector to commit 24a976b881b31b643138f24fc089ad8f77898689
...
24a976b881
[Printer] Ensure disable flag isRequireReprintInlineHTML on change file on MixPhpHtmlDecorator (#3383 )
2023-02-15 12:36:22 +00:00
Tomas Votruba
86f1745c0a
Updated Rector to commit a9e4d4b54b556f23e51f6bab81e1d867b185d010
...
a9e4d4b54b
[CodeQuality][Printer] Handle mix php+html on TernaryFalseExpressionToIfRector (#3382 )
2023-02-15 12:10:30 +00:00
Tomas Votruba
66cc09e8b6
Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
...
d118ae38e2
Use phpstan-deprecation-rules (#3330 )
2023-02-02 09:24:12 +00:00
Tomas Votruba
f0d1fd41e5
Updated Rector to commit 3555ee38b86510be3f9ccb35fbcc8ac080b02b70
...
3555ee38b8
[Printer] Handle add Node after Nop not first stmt (#3312 )
2023-01-28 09:29:15 +00:00
Tomas Votruba
162b97da87
Updated Rector to commit 33527d4e8d3b58bfebbac94330fd59f5be08b2b2
...
33527d4e8d
[Printer] Move handle mix php+html to BetterStandardPrinter (#3310 )
2023-01-27 08:27:34 +00:00
Tomas Votruba
599b96e995
Updated Rector to commit 226f3f5019fc58cc5aacdcc3625b8b8c6dabdbb8
...
226f3f5019
[Printer] Clean up nl usage on surplus tag check (#3307 )
2023-01-25 23:59:13 +00:00
Tomas Votruba
be2e22ede3
Updated Rector to commit 2c353227e499072689cbb22d83b3483b3015025f
...
2c353227e4
[Printer] Handle Add Node after Nop statement inlineHTML (#3303 )
2023-01-24 15:30:51 +00:00
Tomas Votruba
99023d8977
Updated Rector to commit 240fa27dca3e215bdfea9b329558d495ea344aa0
...
240fa27dca
Move Reprint previous node of first node early to NodeAddingPostRector, mix html+php take 4 (#3290 )
2023-01-15 18:55:14 +00:00
Tomas Votruba
635ae189f6
Updated Rector to commit ee9bacf6f6e76439ed9192ff39313977aef9c17b
...
ee9bacf6f6
[Printer] Skip Tweak html+php handling on File is no diff (#3289 )
2023-01-15 12:41:11 +00:00
Tomas Votruba
9ef9a43884
Updated Rector to commit 836fa59076134ade1403f84a0b89b1de7578e5a5
...
836fa59076
[Printer] Apply add node before node before HTML take 3 (#3287 )
2023-01-15 08:44:29 +00:00
Tomas Votruba
cde52ddf2f
Updated Rector to commit 09444df13c372bdd15fd9fcf92c4be6b053fb318
...
09444df13c
Clean up Mix HTML+PHP take 2 (#3286 )
2023-01-14 22:38:39 +00:00
Tomas Votruba
6064d3f279
Updated Rector to commit 4b6a55998d37cb76336ca512e3f853b8193ddd64
...
4b6a55998d
Clean up mix HTML+PHP first stmt check (#3285 )
2023-01-14 22:18:39 +00:00
Tomas Votruba
2ba10ad8e9
Updated Rector to commit 410e939ede14803bbdfc9688065d2a03a0d246d7
...
410e939ede
[Core] [Printer] Ensure empty php tag init on original node not re-printed (#3284 )
2023-01-14 20:51:32 +00:00
Tomas Votruba
efa032ded0
Updated Rector to commit 1868b930b2a893e7da5faf90042f45daddc7387b
...
1868b930b2
[Core] Improve BetterStandardPrinter printFormatPreserving on mix HTML + PHP (#3283 )
2023-01-14 14:48:39 +00:00
Tomas Votruba
b771e1ca1a
Updated Rector to commit 58c8f170182d3350e21a3b141bb3971651943e63
...
58c8f17018
[CodingStyle] Add DataProviderArrayItemsNewlinedRector (#3271 )
2023-01-10 11:07:38 +00:00