Commit Graph

3471 Commits

Author SHA1 Message Date
Tomas Votruba 8167a183dc Updated Rector to commit f56a0532c244b1585c66d3f1448e9be9f6833b41
f56a0532c2 Alternative Rector workflow on check repo before steps run (#3440)
2023-03-02 18:32:46 +00:00
Tomas Votruba 867e9441ef Updated Rector to commit efc969e6411704d02e004045cb8b1da5d263970c
efc969e641 Improve setup-ci command with helper links and allow override (#3438)
2023-03-02 15:27:05 +00:00
Tomas Votruba 0e8b799327 Updated Rector to commit a7d45e469a134f8671749aaf4a9a5ea797394e3a
a7d45e469a [Php80] Skip array append different keys in cases on ChangeSwitchToMatchRector (#3437)
2023-03-02 12:25:38 +00:00
Tomas Votruba 5104869465 Updated Rector to commit 4e625d0b8e545bf8fc143f5c9a18e6295ecc3989
4e625d0b8e [CodeQuality] Add concat support on ReturnTypeFromStrictScalarReturnExprRector to be string (#3435)
2023-03-02 12:17:17 +00:00
Tomas Votruba 52181ff8c7 Updated Rector to commit 10f38ea6718148f80bc24cd810a016e1a037691d
10f38ea671 add symfony/process
2023-03-02 01:50:45 +00:00
Tomas Votruba 9d8b966f01 Updated Rector to commit 1c231db5520a71dbaec34574fdafe69bcb002ff3
1c231db552 [CodingStyle] Fix infinite loop on NewlineAfterStatementRector when parent attribute is different (#3434)
2023-03-02 00:22:02 +00:00
Tomas Votruba da8b1801b0 Updated Rector to commit 4bd93ba93ddde14444c7635b77007ee523a760f3
4bd93ba93d Handle missing token on Rector CI workflow on forks (#3433)
2023-03-01 22:23:24 +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 7a073d6432 Updated Rector to commit 5e78981c52c275786a67ca64a7b7104ef0d8775a
5e78981c52 [Php71] Set public constant on final constant on PublicConstantVisibilityRector (#3431)
2023-02-28 20:41:27 +00:00
Tomas Votruba cf1958e570 Updated Rector to commit 2eac878f538ddd1e20346c14d402f7e93ee6033b
2eac878f53 [TypeDeclaration] Only apply false type on php 8.2+ configured on TypedPropertyFromAssignsRector (#3422)
2023-02-28 18:23:25 +00:00
Tomas Votruba 5901355568 Updated Rector to commit 96176848192e3214a7a311126925ffeb9912e2e5
9617684819 misc
2023-02-28 17:49:53 +00:00
Tomas Votruba 839f74669a Updated Rector to commit 6ee434a398acd9132daf5c18384fae315f96b553
6ee434a398 use default
2023-02-28 17:49:00 +00:00
Tomas Votruba 75a9f9ecc8 Updated Rector to commit af52640505b505f3932f20f867db6d9eedeba222
af52640505 Use  stefanzweifel/git-auto-commit-action on templates (#3427)Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2023-02-28 17:44:40 +00:00
Tomas Votruba 5de33b3e25 Updated Rector to commit 7b5f06dc26cd749de63e7d673735a0b44e0275f4
7b5f06dc26 [CI] Move from EndBug/add-and-commit to stefanzweifel/git-auto-commit-action (#3426)
2023-02-28 17:40:00 +00:00
Tomas Votruba 1441410773 Updated Rector to commit 2ae2430ceb73c3533dded760b0ddda9e5d68c61e
2ae2430ceb misc
2023-02-28 17:02:31 +00:00
Tomas Votruba 4714a9c55d Updated Rector to commit 8a0b8381d5435f9152e71e2dc437e604aebef9e2
8a0b8381d5 [DX] Add setup-ci command to ease integration to CI (#3425)
2023-02-28 17:00:04 +00:00
Tomas Votruba b8fc1aed27 Updated Rector to commit 8ef705e16046c3e6a8b87f81ea466ebc6ae3faf1
8ef705e160 [e2e] Remove e2e/template-extends as no longer crash on latest phpstan (#3424)
2023-02-28 15:54:53 +00:00
Tomas Votruba 88cbdce92d Updated Rector to commit fe3c6ff324a814101fdc2f489980ceb9fa219322
fe3c6ff324 [Privatization] Fix crash on assign inside Arg on ChangeReadOnlyVariableWithDefaultValueToConstantRector (#3423)
2023-02-28 15:26:15 +00:00
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