Commit Graph

3453 Commits

Author SHA1 Message Date
Tomas Votruba
4861972121 Updated Rector to commit a85934ba03b62bf1c8f24d0a1e6d464866492d71
a85934ba03 DX: Add composer keywords (#3386)
2023-02-28 12:48:47 +00:00
Tomas Votruba
4b3a85382e Rector 0.15.19 2023-02-28 10:47:53 +00:00
Tomas Votruba
139ecb760e Updated Rector to commit 3c34abb42a46a7e1f49dbef49e72dc49850a5dd2
3c34abb42a Skip not natively typed property in AddParamTypeFromPropertyTypeRector (#3421)
2023-02-27 21:26:51 +00:00
Tomas Votruba
bc68a7b39c Updated Rector to commit 3c34abb42a46a7e1f49dbef49e72dc49850a5dd2
3c34abb42a Skip not natively typed property in AddParamTypeFromPropertyTypeRector (#3421)
2023-02-27 09:36:44 +00:00
Tomas Votruba
d72ba9e07b Updated Rector to commit 9cf87f6ac68f0386a27e2892d832ee113ffcc642
9cf87f6ac6 Skip nullable DateTimeInterface in RenamePropertyToMatchTypeRector (#3420)
2023-02-27 00:09:29 +00:00
Tomas Votruba
f44d4bbee3 Updated Rector to commit b7b3a1dc2ea5c141aa1c48e626af10a31f832b77
b7b3a1dc2e [CodeQuality] Handle deep comments merged on ShortenElseIfRector (#3419)
2023-02-26 19:44:22 +00:00
Tomas Votruba
1317535781 Updated Rector to commit 8d9ff0a35673fc8c4566b92f464ce36bbbe03ba4
8d9ff0a356 [Core][e2e] Handle space before content and space before open tag on deep content on PhpFileProcessor (#3418)
2023-02-26 18:36:59 +00:00
Tomas Votruba
ddf1288090 Updated Rector to commit a8731b5c07598bbd6480c8f081c0f20f0e2e217f
a8731b5c07 [e2e] Remove use-rector-configurator e2e tests (#3417)
2023-02-25 18:43:49 +00:00
Tomas Votruba
53c0e8d8c1 Updated Rector to commit 8b59452f8ce943b28600da64313c979748b749d3
8b59452f8c rename fixture (#3416)
2023-02-25 18:27:33 +00:00
Tomas Votruba
2822d142fb Updated Rector to commit ad4d11bdd28af115f8b6dd071c82666dcc3d8daa
ad4d11bdd2 Fixing random stop rules-tests with paratest (#3415)
2023-02-25 17:57:50 +00:00
Tomas Votruba
d785bbe2e0 Updated Rector to commit 6e31710cca5c1cc0dcc9c5e08de1a0d53281c84b
6e31710cca [e2e][core][Printer] Use more reliable FileDiff instead of empty ->getRectorWithLineChanges() on PhpFileProcessor (#3414)
2023-02-25 17:42:55 +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
949980905b Updated Rector to commit 2cca234e54b88d14b9017ec343b3a9804d90a348
2cca234e54 Remove PropertyFetchTypeAnalyzer and it's usages (#3410)
2023-02-24 15:35:18 +00:00
Tomas Votruba
1b65d11365 Updated Rector to commit 9c7da411e7a32b7adca8af2bc9640c3cf0029583
9c7da411e7 Revert file not changed detected to be printed by PhpParser (#3409)
2023-02-23 15:02:52 +00:00
Tomas Votruba
547b750176 Updated Rector to commit 61348a86a5a9f113e0bd7d40324b3a0eec6fcd7d
61348a86a5 [e2e][core] Do not print on execute without --dry-run when no change (#3407)
2023-02-23 13:52:00 +00:00
Tomas Votruba
db9dc03ef1 Updated Rector to commit 61348a86a5a9f113e0bd7d40324b3a0eec6fcd7d
61348a86a5 [e2e][core] Do not print on execute without --dry-run when no change (#3407)
2023-02-23 13:14:36 +00:00
Tomas Votruba
20cb65540b Updated Rector to commit a8983ad8685a442077ee716d258ecd2b502a2962
a8983ad868 Rename fixture on e2e test without .inc (#3406)
2023-02-23 11:35:10 +00:00
Tomas Votruba
b510b80cd1 Updated Rector to commit ec785119cb2a97e957bb576990efe3d09a94649b
ec785119cb [Core] Improve performance: do not compare after refactor and after post Rector stmts if  already true (#3405)
2023-02-23 10:47:05 +00:00
Tomas Votruba
3837758530 Updated Rector to commit ec785119cb2a97e957bb576990efe3d09a94649b
ec785119cb [Core] Improve performance: do not compare after refactor and after post Rector stmts if  already true (#3405)
2023-02-23 10:40:11 +00:00
Tomas Votruba
34705bb179 Updated Rector to commit bcc44fb1de64537d2249c2960ffc1a359fb31b41
bcc44fb1de Allow class vs function names on imports (#3404)
2023-02-23 10:33:44 +00:00
Tomas Votruba
baee5d9d4a Updated Rector to commit 48e97cb0e710d6b7d704d31a6e3c4320486e1ed4
48e97cb0e7 [Core][e2e] Do not reprint from PhpParser when no RectorWithLineChange or empty diff (#3403)
2023-02-23 10:31:39 +00:00
Tomas Votruba
bfb3b0cf14 Updated Rector to commit 4a583b6a777b38f14791374a8793f37ae024e6f9
4a583b6a77 [phpstan-extensions] Provide phpstan container to bootstrap file from extensions (#3401)
2023-02-23 09:42:39 +00:00
Tomas Votruba
3689432167 Updated Rector to commit b1b48bceab3cf56858ebe565a22bba74458a497f
b1b48bceab [DeadCode] Skip if cond use variable from @param doc on RemoveAlwaysTrueIfConditionRector (#3402)
2023-02-22 18:49:35 +00:00
Tomas Votruba
2c4708affb Rector 0.15.18 2023-02-22 12:06:55 +00:00
Tomas Votruba
9524f2ffb4 Updated Rector to commit 5e8ee3129dcb3e0e402aed139396f3ef887ad6ad
5e8ee3129d Fix: print non PHP file processors changes in parallel runs (#3384)
2023-02-22 11:08:06 +00:00
Tomas Votruba
5d735c2311 Updated Rector to commit b2d6fa6ee64096cb358f8e29c490386989b4cfb0
b2d6fa6ee6 Revert recursive check on always array param on phpstan 1.10 on AddMethodCallBasedStrictParamTypeRector (#3399)
2023-02-22 01:54:59 +00:00
Tomas Votruba
908a3c39d3 Updated Rector to commit 648a2f5ca994605a85e8f10279936a864eefc09c
648a2f5ca9 Fix BleedingEdgeIncludePurifier to use random value on temporary file to avoid crash (#3396)
2023-02-21 17:09:39 +00:00
Tomas Votruba
cf3b24e388 Updated Rector to commit f9f4217a6d0cf0a13f17af52a4c4f52e246fbe5b
f9f4217a6d [e2e] [printer] Fix short open tag mixed php+html cause surplus <?php  (#3395)
2023-02-21 11:29:31 +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
88aaa17af1 Updated Rector to commit 38372f25c3171a2d12c1bc1d8194610bc5d88327
38372f25c3 [Php56][Php70] Handle infinite loop on AddDefaultValueForUndefinedVariableRector+IfToSpaceshipRector (#3394)
2023-02-20 16:55:22 +00:00
Tomas Votruba
f913db6069 Updated Rector to commit 62d8685ce5b653a71014231d6a7dbf6934c30e60
62d8685ce5 Reuse anonymous class detection via ClassAnalyzer on PHPStanNodeScopeResolver (#3393)
2023-02-19 17:53:18 +00:00
Tomas Votruba
c97a6c91a3 Updated Rector to commit c65e60f70b628fd0602a9107189a1e9b6f0d3adf
c65e60f70b [Php56] Skip after infinite loop on AddDefaultValueForUndefinedVariableRector (#3390)
2023-02-19 14:50:05 +00:00
Tomas Votruba
17ffb97ef9 Updated Rector to commit bf7648c317c5f12bc2964de223b494dbc73b79a4
bf7648c317 improve excpeiton message
2023-02-19 14:31:54 +00:00
Tomas Votruba
44595ed746 Updated Rector to commit 937bf3e28b7868d79c4679d8e1e03cfb2e366a42
937bf3e28b [Transform] Add MethodCallToFuncCallRector (#3391)
2023-02-19 13:39:22 +00:00
Tomas Votruba
7f6ee79741 Rector 0.15.17 2023-02-17 20:34:07 +00:00
Tomas Votruba
2a475d5b03 Updated Rector to commit 9c6f41e6c0b943912ca1fd2b6a289106b556efbe
9c6f41e6c0 Fix external packages bleeding edge includes (#3389)
2023-02-17 19:53:09 +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
def6b091b1 Updated Rector to commit 5db390cb7b67d3537acc34d3eabb04de1ef4b35a
5db390cb7b [Php81] Handle null defined in variable first on NullToStrictStringFuncCallArgRector (#3385)
2023-02-16 08:42:29 +00:00
Tomas Votruba
9db8a3ec2f Updated Rector to commit 5db390cb7b67d3537acc34d3eabb04de1ef4b35a
5db390cb7b [Php81] Handle null defined in variable first on NullToStrictStringFuncCallArgRector (#3385)
2023-02-15 15:21:14 +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
826539a991 Rector 0.15.16 2023-02-14 22:22:09 +00:00
Tomas Votruba
9805e05484 Rector 0.15.15 2023-02-14 21:45:03 +00:00
Tomas Votruba
e16bff2256 Rector 0.15.15 2023-02-14 20:12:02 +00:00
Tomas Votruba
3cf283e9a5 Rector 0.15.14 2023-02-14 19:21:17 +00:00
Tomas Votruba
28b649cb75 Updated Rector to commit f6d2041d0dec98b36d3ef45dcf8861a06bf3ef01
f6d2041d0d Fix test on RenameClassRector (#3381)
2023-02-14 16:27:41 +00:00
Tomas Votruba
c46fbe6ac2 Updated Rector to commit 842106a8470a9a356c9014151da2dbb899f86edb
842106a847 remove doc rename, probably multirun cache issue, works well standalone
2023-02-14 15:47:46 +00:00
Tomas Votruba
bb73357927 Updated Rector to commit 48228edf4647336d860ab24af7d4c62ea06c75a1
48228edf46 [config] include bootstrap files of extensions, to let rector know about types as well (#3380)
2023-02-14 15:08:14 +00:00
Tomas Votruba
fc230fdbc6 Updated Rector to commit dffddb244ffe016e94446f00a1ac61daac900ca6
dffddb244f Fix grammar in user-facing exception (#3379)
2023-02-14 14:21:08 +00:00