Commit Graph

3675 Commits

Author SHA1 Message Date
Tomas Votruba
3280541fc8 Updated Rector to commit 9af763f23d4f12db2b18f0aa23afe08b082cb5f0
9af763f23d [Core] Improve performance of InlineHTMLAnalyzer: use findFirst instead of find all (#3448)
2023-03-04 08:51:54 +00:00
Tomas Votruba
bc4d62886b Updated Rector to commit b2e90e8df6609979f068858c5912aba7e2d1ede3
b2e90e8df6 [DeadCode] Skip assign inside if cond on RemoveAlwaysTrueIfConditionRector (#3447)
2023-03-04 08:51:42 +00:00
Tomas Votruba
9d9213d70c Updated Rector to commit 658e48f31fcb26a0e56740a49a994dbab3c1e6b5
658e48f31f Handle ->getDefaultValueExpression() return null (#3446)
2023-03-03 10:07:09 +00:00
Tomas Votruba
f2707dea96 Updated Rector to commit c9a621de856eac0be037169c3c07c1b279b3cc9f
c9a621de85 [Privatization] Remove ReplaceStringWithClassConstantRector as rather dynamic and can lead to unexpected results (#3443)
2023-03-03 03:15:36 +00:00
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
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
Tomas Votruba
ebd356eff2 Updated Rector to commit dffddb244ffe016e94446f00a1ac61daac900ca6
dffddb244f Fix grammar in user-facing exception (#3379)
2023-02-14 13:44:15 +00:00
Tomas Votruba
2dc52bcb24 Updated Rector to commit 61db165a8fc8a52935610500826b11e87c4cc33d
61db165a8f [TypeMapper] Use Identifier instead of Name on bool and null (#3378)
2023-02-14 12:16:55 +00:00
Tomas Votruba
90ca96064c Updated Rector to commit 56e1633c826c009e643873ca8461ea45d0fff217
56e1633c82 [TypeMapper] Use Identifier instead of Name on ObjectWithoutClassType (#3377)
2023-02-14 11:52:01 +00:00
Tomas Votruba
17071f1320 Updated Rector to commit dbaf0da38ac23091d39d4df71749da474e8df8ac
dbaf0da38a [TypeMapper] Use Identifier instead of Name on non-object types (#3375)
2023-02-13 18:21:59 +00:00
Tomas Votruba
0888a196e1 Updated Rector to commit dbaf0da38ac23091d39d4df71749da474e8df8ac
dbaf0da38a [TypeMapper] Use Identifier instead of Name on non-object types (#3375)
2023-02-13 16:16:52 +00:00
Tomas Votruba
e946e57476 Updated Rector to commit dbaf0da38ac23091d39d4df71749da474e8df8ac
dbaf0da38a [TypeMapper] Use Identifier instead of Name on non-object types (#3375)
2023-02-13 14:43:04 +00:00
Tomas Votruba
51f97eb7a9 Updated Rector to commit 7f9704010043e95a107d2a5fd5112fcfc2c2990b
7f97040100 [Php80][AutoImport] Do not import iterable on AutoImport enabled on UnionTypesRector (#3374)
2023-02-13 09:45:26 +00:00
Tomas Votruba
535ff0b0ef Updated Rector to commit 91ddd680c78eacc11006126398d64c4b97d38694
91ddd680c7 [TypeDeclaration] Remove unused intersection docblock on nullable intersection on TypedPropertyFromAssignsRector (#3373)
2023-02-13 01:08:43 +00:00
Tomas Votruba
7e939b3a17 Updated Rector to commit 91ddd680c78eacc11006126398d64c4b97d38694
91ddd680c7 [TypeDeclaration] Remove unused intersection docblock on nullable intersection on TypedPropertyFromAssignsRector (#3373)
2023-02-12 18:36:15 +00:00
Tomas Votruba
1044a9f5fe Updated Rector to commit db4ec0218f0ad9670790d5725c98bbb34120a97e
db4ec0218f [TypeDeclaration] Handle nullable intersection on TypedPropertyFromAssignsRector (#3372)
2023-02-12 17:34:35 +00:00
Tomas Votruba
5b5530d0ab Updated Rector to commit 67fd1651d647fca53597dbd6afe795ffe0ea75ca
67fd1651d6 [Php72] Handle crash on variable as operator on CreateFunctionToAnonymousFunctionRector (#3370)
2023-02-11 17:57:17 +00:00
Tomas Votruba
90d627a739 Updated Rector to commit 75149b2fdba0ce29e899e6610db8a703f3d30090
75149b2fdb [Renaming] Skip rename as Namespace_ name on RenameClassRector (#3371)
2023-02-11 17:56:10 +00:00
Tomas Votruba
baa729956a Updated Rector to commit 2acb78be7361011f47c301344d8bb8ef4aa0e33d
2acb78be73 [Php55] Handle crash on direct $ without double quote backreference on PregReplaceEModifierRector (#3369)
2023-02-11 12:25:19 +00:00
Tomas Votruba
3483839cce Updated Rector to commit 2acb78be7361011f47c301344d8bb8ef4aa0e33d
2acb78be73 [Php55] Handle crash on direct $ without double quote backreference on PregReplaceEModifierRector (#3369)
2023-02-11 11:34:35 +00:00
Tomas Votruba
776fe1ae1e Updated Rector to commit 2acb78be7361011f47c301344d8bb8ef4aa0e33d
2acb78be73 [Php55] Handle crash on direct $ without double quote backreference on PregReplaceEModifierRector (#3369)
2023-02-10 12:02:22 +00:00
Tomas Votruba
9e70c63b46 Updated Rector to commit 2acb78be7361011f47c301344d8bb8ef4aa0e33d
2acb78be73 [Php55] Handle crash on direct $ without double quote backreference on PregReplaceEModifierRector (#3369)
2023-02-10 11:47:52 +00:00
Tomas Votruba
d5ab1e22cf Updated Rector to commit 2acb78be7361011f47c301344d8bb8ef4aa0e33d
2acb78be73 [Php55] Handle crash on direct $ without double quote backreference on PregReplaceEModifierRector (#3369)
2023-02-09 14:03:33 +00:00
Tomas Votruba
dd993a84a8 Updated Rector to commit beb6e9127c74b5844dc6165cd60cba9c7136a411
beb6e9127c Skip namespaced use no backslash on removeUnusedImports() (#3366)
2023-02-08 22:45:28 +00:00
Tomas Votruba
561809dcd2 Updated Rector to commit beb6e9127c74b5844dc6165cd60cba9c7136a411
beb6e9127c Skip namespaced use no backslash on removeUnusedImports() (#3366)
2023-02-08 17:54:26 +00:00
Tomas Votruba
13aa217ffa Updated Rector to commit 208d52e2a160e8563ef94e2afc53239f8ecf55cf
208d52e2a1 [CodeQuality] Remove DoWhileBreakFalseToIfElseRector, rather manual static spot and refactoring (#3367)
2023-02-08 17:44:29 +00:00
Tomas Votruba
637250b084 Updated Rector to commit 9807d95c6b83a852c60d103e148cca123fd7ca01
9807d95c6b Skip namespaced use on removeUnusedImports() feature (#3365)
2023-02-08 17:11:31 +00:00
Tomas Votruba
182c2e0346 Updated Rector to commit d762bcedae5f4b8472dd70532566755b83701e88
d762bcedae Apply remove unused imports on the rest of RenameClassRector test fixtures (#3364)
2023-02-08 16:03:21 +00:00
Tomas Votruba
a8167497a7 Updated Rector to commit d762bcedae5f4b8472dd70532566755b83701e88
d762bcedae Apply remove unused imports on the rest of RenameClassRector test fixtures (#3364)
2023-02-08 15:52:48 +00:00
Tomas Votruba
9463a3bf8f Updated Rector to commit b9fef0f123d379125f7d946c49959c292feea723
b9fef0f123 Add unused import remover to cleanup use imports after changes (#3358)
2023-02-08 15:30:12 +00:00
Tomas Votruba
99c36383bb Updated Rector to commit 638a0ad9723a505b4908ed6b6534027bfd4dc5f2
638a0ad972 Remove unused RectorServiceConfigurator, use RectorConfig instead (#3363)
2023-02-08 14:55:14 +00:00
Tomas Votruba
37a3402479 Updated Rector to commit 6e5b0fd73cb89d2c139312f815ebd84e0d5c5647
6e5b0fd73c Update using paratest 7.0.4 to support phpunit 10.0.6 (#3362)
2023-02-08 11:01:46 +00:00
Tomas Votruba
f0b34d4760 Updated Rector to commit 5fc8c1a0539ba0f4ff29ed90f29633d4414e3ff6
5fc8c1a053 Replace ParametersAcceptorSelector::selectSingle() with ParametersAcceptorSelectorVariantsWrapper::select() when possible (#3361)
2023-02-08 10:25:24 +00:00
Tomas Votruba
73d7bba3b0 Updated Rector to commit a3bc2dcf8045157aafb20645b9e3cf49fa0542fb
a3bc2dcf80 [TypeDeclaration] Handle crash Multiple variants - use selectFromArgs() on ReturnAnnotationIncorrectNullableRector (#3359)
2023-02-08 09:19:48 +00:00
Tomas Votruba
3b73a69c61 Updated Rector to commit b999639103204532273571a43e9a9d1b19ea4ff2
b999639103 Added RenameClassNonPhpRector dependency to ClassRenamingPostRector (#3360)
2023-02-08 09:16:54 +00:00
Tomas Votruba
63b8be39f7 Updated Rector to commit 7f1f57acc358e4c7724b146f3a9d976bae4cb0c9
7f1f57acc3 remove pointless docblock from data providers
2023-02-07 23:09:03 +00:00
Tomas Votruba
cbcca1762d Updated Rector to commit dc4bb542e9e497dfe1bb6663e6568bfee0d625a6
dc4bb542e9 cleanup phpstan errors
2023-02-07 23:04:39 +00:00
Tomas Votruba
3eae173041 Updated Rector to commit e63368496d15c462b24731b528aba64526200657
e63368496d misc
2023-02-07 23:03:38 +00:00
Tomas Votruba
6481c8dccc Updated Rector to commit 5f4edd9230355cadc311ba8e8954fb9ae5bdc849
5f4edd9230 Remove NonVariableToVariableOnFunctionCallRector, should be handled manually as might need attention (#3357)
2023-02-07 22:56:24 +00:00
Tomas Votruba
0a33500839 Updated Rector to commit 651e283c439ef593c6609ccc2623e11142544f4f
651e283c43 The php-parser 5.0 is far away from release, no need to include it for now (#3355)
2023-02-07 17:02:42 +00:00
Tomas Votruba
b971f67811 Updated Rector to commit 51fcdc2639267a875c3d5c1a985800104e984ead
51fcdc2639 [Cache] Replace Strings::webalize() with sha1_file() from resolved path on ChangedFilesDetector (#3356)
2023-02-07 16:56:38 +00:00
Tomas Votruba
1f4ea6f9b2 Updated Rector to commit 7f873f0311679c23feacabd3089c8185b9a93c74
7f873f0311 [DX] Add back node helper functions to ease debugging (#3354)
2023-02-07 13:11:11 +00:00
Tomas Votruba
76b2c64b5f Updated Rector to commit e68c8d23cbbdb9dbfef66133af6bb4f1857015ad
e68c8d23cb Fix CallableTypeParameterNode and IdentifierTypeParameterNode crash (#3353)
2023-02-07 12:41:14 +00:00
Tomas Votruba
f397ad92ed Updated Rector to commit e68c8d23cbbdb9dbfef66133af6bb4f1857015ad
e68c8d23cb Fix CallableTypeParameterNode and IdentifierTypeParameterNode crash (#3353)
2023-02-07 12:32:23 +00:00
Tomas Votruba
1e09b81ddb Updated Rector to commit e68c8d23cbbdb9dbfef66133af6bb4f1857015ad
e68c8d23cb Fix CallableTypeParameterNode and IdentifierTypeParameterNode crash (#3353)
2023-02-07 12:26:09 +00:00
Tomas Votruba
05df336f8e Rector 0.15.13 2023-02-07 01:46:29 +00:00
Tomas Votruba
5cc4e62142 Updated Rector to commit 74bb7a0a7153e3b4423dd816da23c5de55875fc2
74bb7a0a71 Remove deprecated TYPE_DECLARATION_SET (#3352)
2023-02-07 00:42:51 +00:00
Tomas Votruba
baf4489760 Updated Rector to commit 4ef31e92b88053cf22ca1f379fc92ecc3d45f371
4ef31e92b8 Remove deprecated TemplateResolverInterface, RectorServiceConfigurator (#3351)
2023-02-06 19:28:33 +00:00
Tomas Votruba
f923fd0998 Updated Rector to commit 43dd2efc5d663bc16327911fe31c6f6ecf60e753
43dd2efc5d Remove deprecated ReturnTypeDeclarationRector, TypedPropertyRector, ParamTypeDeclarationRector rules (#3350)
2023-02-06 19:23:07 +00:00
Tomas Votruba
fc81ed9173 Updated Rector to commit 75d1dca2ef328d91cff2b642e79f1c442696d0a1
75d1dca2ef Don't get type from PropertyFetch for not natively typed properties (#3327)
2023-02-06 18:49:21 +00:00
Tomas Votruba
ab40a52407 Updated Rector to commit 75d1dca2ef328d91cff2b642e79f1c442696d0a1
75d1dca2ef Don't get type from PropertyFetch for not natively typed properties (#3327)
2023-02-06 17:12:10 +00:00
Tomas Votruba
e30c207496 Updated Rector to commit 913ccba104bde2c858fba76ae56f1c4d7c35b067
913ccba104 Fix duplicate fixture class take 4 (#3349)
2023-02-06 16:37:32 +00:00
Tomas Votruba
8266b2e01e Updated Rector to commit 2db6fc62f43a895e8ea3a7d1fa98c03dee299c92
2db6fc62f4 Fix duplicate fixture class take 3 (#3348)
2023-02-06 16:21:54 +00:00
Tomas Votruba
2d77391e5f Updated Rector to commit 8ddc3d94d4686f10d48c555aae69fe3219360e02
8ddc3d94d4 Do not run paratest on merge to main (#3347)
2023-02-06 16:05:18 +00:00
Tomas Votruba
f624d966b2 Updated Rector to commit 5c4a1212932dea9ca226abc55d480dbae2051562
5c4a121293 [CodeQuality] Skip has AllowDynamicProperties attribute on CompleteDynamicPropertiesRector (#3346)
2023-02-06 15:51:07 +00:00
Tomas Votruba
d2fb1c9b1f Updated Rector to commit 59622573c0c1b915570cd91924931771143bfbce
59622573c0 Fix duplicate class take 2 (#3345)
2023-02-06 14:57:01 +00:00
Tomas Votruba
5b904774c7 Updated Rector to commit ece1e1960dd00397ae00d2811c4356e157e02cce
ece1e1960d Upgrade ramsey/composer-install to v2 (#3344)
2023-02-06 14:52:09 +00:00
Tomas Votruba
6ee3993948 Updated Rector to commit ead3757690731bb9ee4d0686126077194e2280d0
ead3757690 Fix duplicate class fixtures (#3343)
2023-02-06 14:44:10 +00:00
Tomas Votruba
37587523fc Updated Rector to commit 0270c68855c20ef0a8526d043c4c95a7de1e6156
0270c68855 Regenerate composer docs with new php-config-printer (#3341)
2023-02-06 14:31:06 +00:00
Tomas Votruba
8c3f7d543f Updated Rector to commit b17d4a39222960783a78207f24d404d8dbc97eab
b17d4a3922 [Testing] Make temp fixture file names exposed next to the fixture file, to make easier fixes and path resolvements (#3338)
2023-02-06 14:23:37 +00:00
Tomas Votruba
e7daa642b3 Updated Rector to commit 256571c01e578d24fedb69a4aa74bcc5569f2357
256571c01e [StaticReflection] Fix unintended behavior in PHP 8.1 and later (#3340)
2023-02-06 12:02:45 +00:00
Tomas Votruba
6551c3feef Updated Rector to commit 4c76526033e105cbd3de89368b00c0de7ae535aa
4c76526033 Remove sebastian/diff 5.0 as 4.0.4 requirement (#3339)
2023-02-06 09:25:47 +00:00
Tomas Votruba
dcf76eb71d Updated Rector to commit 60d6bf0672c29da289477ad1d3310b79818bd820
60d6bf0672 Update fidry/cpu-core-counter to ^0.5.1 (#3337)
2023-02-05 12:18:20 +00:00
Tomas Votruba
02965e2a27 Updated Rector to commit 9ec3967a5bb51519dec381255b7c6c0659a41d6e
9ec3967a5b Restore paratest (#3335)
2023-02-05 09:48:41 +00:00
Tomas Votruba
bf9c351bb7 Updated Rector to commit 9ec3967a5bb51519dec381255b7c6c0659a41d6e
9ec3967a5b Restore paratest (#3335)
2023-02-04 15:09:47 +00:00
Tomas Votruba
6f9bc2e5e6 Updated Rector to commit bac8c0691d7eee55e38924b49d7fac64f61456d8
bac8c0691d [CodeQuality] Mirror comment on ShortenElseIfRector (#3334)
2023-02-04 14:18:19 +00:00
Tomas Votruba
5c98e6b30d Updated Rector to commit 2cf94e2631cb3c13505d44a7078ac91b236ab0ac
2cf94e2631 trigger CI
2023-02-04 14:07:22 +00:00
Tomas Votruba
fff74c77ab Rector 0.15.12 2023-02-04 13:52:29 +00:00
Tomas Votruba
98e08867dc Rector 0.15.12 2023-02-04 13:37:11 +00:00
Tomas Votruba
9b9b8ed4d9 Rector 0.15.12 2023-02-03 17:49:48 +00:00
Tomas Votruba
08d49bfaa4 Updated Rector to commit 2506002e1868bba60d2db058ad0a31a1ed934a9d
2506002e18 remove old phpunit xml
2023-02-03 17:47:56 +00:00
Tomas Votruba
5a533a3702 Updated Rector to commit c3ff0fd4328b603df30c7e7bb833cb1e641f410c
c3ff0fd432 Upgrade to PHPUnit 10 🥳️ (#3332)
2023-02-03 17:47:50 +00:00
Tomas Votruba
84eb4a5d0c Updated Rector to commit 1fd38073d08dff31e7b6f5fecdfc0df8f6e897b0
1fd38073d0 remove monorepo builder
2023-02-02 16:55:05 +00:00
Tomas Votruba
0034e743da Rector 0.15.11 2023-02-02 16:53:15 +00:00
Tomas Votruba
c280a335b8 Updated Rector to commit e7ac52e9739ee461999d2a1d537f940e377667dd
e7ac52e973 Remove check-markdown command from composer fix-cs and composer docs (#3331)
2023-02-02 12:39:35 +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
0e6257502f Updated Rector to commit b32a1902b7d179f12e1df2270dd9bae37dc7fd71
b32a1902b7 Fix main branch alias to 0.15 (#3329)
2023-01-31 20:26:11 +00:00
Tomas Votruba
b6935368be Updated Rector to commit 88a1434ef75fa9fb83524e3db1824cd8e961bc85
88a1434ef7 Use rector/phpstan-rules:^0.6.5 (#3328)
2023-01-31 10:09:37 +00:00
Tomas Votruba
ab985638db Updated Rector to commit 033b0c2bf86dc2f7cd3c6d6183ddc5ad1a3ab390
033b0c2bf8 Fix nested extends pattern in AddReturnTypeDeclarationBasedOnParentClassMethodRector (#3325)
2023-01-31 00:52:02 +00:00
Tomas Votruba
2e9b687937 Updated Rector to commit 82163244c12ff8d14073bda37f21cfb03e532a6f
82163244c1 skip migrations, storage and database
2023-01-30 15:35:13 +00:00
Tomas Votruba
67f4bcd4f3 Updated Rector to commit 0b5d2ed239b45cddcf4597eac75e23bad1e90cbf
0b5d2ed239 Make init part of process command to help new users with creating config (#3326)
2023-01-30 15:32:02 +00:00
Tomas Votruba
dde7f41fda Updated Rector to commit 0f025099cbdd8c4cc6c9a3ffa0775a9250f112de
0f025099cb [TypeDeclaration] Move method ParentClassMethodTypeOverrideGuard::isReturnTypeChangeAllowed to ClassMethodReturnTypeOverrideGuard and make it private (#3323)
2023-01-29 16:34:12 +00:00
Tomas Votruba
ad67b2505d Updated Rector to commit 2ddd44b249f552c8a4bd573763965de31417aaa3
2ddd44b249 [TypeDeclaration] Replace ParentClassMethodTypeOverrideGuard::isReturnTypeChangeAllowed() with ClassMethodReturnTypeOverrideGuard::shouldSkipClassMethod()  in ReturnNeverTypeRector (#3321)
2023-01-29 13:52:29 +00:00
Tomas Votruba
820bd2010e Updated Rector to commit 8714537bfb668d453cb56d3e1f303371c3987597
8714537bfb [TypeDeclaration] Consume ParentClassMethodTypeOverrideGuard from ClassMethodReturnTypeOverrideGuard::shouldSkipClassMethod() (#3320)
2023-01-29 13:29:20 +00:00
Tomas Votruba
e25df78489 Updated Rector to commit bbc100ce821ca98123ac0996673dbf48fc2b71e8
bbc100ce82 [TypeDeclaration] Add ReturnTypeFromStrictTernaryRector (#3318)
2023-01-29 12:39:10 +00:00
Tomas Votruba
9dda9c3cc2 Updated Rector to commit 3450bed50204db27ca622d2056a82580a59914fb
3450bed502 [TypeDeclaration] Skip used by trait on PropertyTypeFromStrictSetterGetterRector (#3319)
2023-01-29 12:28:42 +00:00
Tomas Votruba
6d10127c95 Updated Rector to commit b98de3edc21312c2e5483b6a120ccb04642f5346
b98de3edc2 [Php70] Handle crash on IfToSpaceshipRector with enum case (#3317)
2023-01-29 09:53:53 +00:00
Tomas Votruba
0e1b533718 Updated Rector to commit d2080c2267a7bfa4b132fa3f728fd509fb3a39e3
d2080c2267 [Php82] Move consume trait property skip check to ReadOnlyClassRector (#3316)
2023-01-29 06:15:33 +00:00
Tomas Votruba
8d6b5e9645 Updated Rector to commit 76a6df8f8ddc9f1aab255783498f28714b36140e
76a6df8f8d [Php81] Skip ReadonlyProperty for class that consume Trait with Property (#3314)
2023-01-29 03:47:42 +00:00
Tomas Votruba
f35a09015b Updated Rector to commit e2f73fa67a2a8f1ee48e14a140359c3470d4d1a3
e2f73fa67a [CodeQuality] Skip reassign key on SimplifyForeachToCoalescingRector (#3315)
2023-01-29 02:03:17 +00:00
Tomas Votruba
64a999931a Updated Rector to commit 76a6df8f8ddc9f1aab255783498f28714b36140e
76a6df8f8d [Php81] Skip ReadonlyProperty for class that consume Trait with Property (#3314)
2023-01-29 02:02:55 +00:00
Tomas Votruba
297478ae00 Updated Rector to commit 9e321a11ac21440a33abef87add34945a1490b8f
9e321a11ac [TypeDeclaration] Add PropertyTypeFromStrictSetterGetterRector (#3313)
2023-01-28 16:20:41 +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
b0a48d1e0a Updated Rector to commit dda7cdb03aa2b273af0ce35e1b195e03d0e3d3d2
dda7cdb03a [Printer] Use <= 0 check for getStartTokenPos() for current node availability on MixPhpHtmlDecorator (#3308)
2023-01-26 17:16:47 +00:00
Tomas Votruba
16e7e0d008 Updated Rector to commit 8ddb48097219683f23faa75e2365c5161cc623a8
8ddb480972 [PHPStanStaticTypeMapper] Handle crash on OversizedArrayType (#3306)
2023-01-26 16:13:48 +00:00
Tomas Votruba
d28a86773d Updated Rector to commit 8ddb48097219683f23faa75e2365c5161cc623a8
8ddb480972 [PHPStanStaticTypeMapper] Handle crash on OversizedArrayType (#3306)
2023-01-26 00:51:59 +00:00
Tomas Votruba
afc46ddaaf Updated Rector to commit 8ddb48097219683f23faa75e2365c5161cc623a8
8ddb480972 [PHPStanStaticTypeMapper] Handle crash on OversizedArrayType (#3306)
2023-01-26 00:27:06 +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
c466aa15a9 Updated Rector to commit fe326cb516b16c678b3d31cef2b014fbbd384351
fe326cb516 [NodeDecorator] Improve MixPhpHtmlDecorator::decorateNextNodesInlineHTML() performance: stop loop on found InlineHTML (#3305)
2023-01-25 22:17:54 +00:00
Tomas Votruba
bbb27b399f Updated Rector to commit 828ec4e66ed7118e0cc6315df0190941d7db1c72
828ec4e66e [Printer] Handle return array of nodes with InlineHTML (#3304)
2023-01-25 19:21:39 +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
f904de44f2 Updated Rector to commit bd68c98f0bc5cb8b41a62dd9e7bd94bf82e731a5
bd68c98f0b Run tests workflow as well on push (#3301)
2023-01-23 21:59:09 +00:00
Tomas Votruba
f82175f981 Updated Rector to commit bd68c98f0bc5cb8b41a62dd9e7bd94bf82e731a5
bd68c98f0b Run tests workflow as well on push (#3301)
2023-01-23 21:35:10 +00:00
Tomas Votruba
a0a7aca50e Updated Rector to commit bd68c98f0bc5cb8b41a62dd9e7bd94bf82e731a5
bd68c98f0b Run tests workflow as well on push (#3301)
2023-01-22 23:10:23 +00:00
Tomas Votruba
5d0bd503ff Updated Rector to commit bd68c98f0bc5cb8b41a62dd9e7bd94bf82e731a5
bd68c98f0b Run tests workflow as well on push (#3301)
2023-01-22 18:53:49 +00:00
Tomas Votruba
8244a6a0cd Updated Rector to commit bd68c98f0bc5cb8b41a62dd9e7bd94bf82e731a5
bd68c98f0b Run tests workflow as well on push (#3301)
2023-01-22 13:24:56 +00:00
Tomas Votruba
8c235d2f05 Updated Rector to commit bd68c98f0bc5cb8b41a62dd9e7bd94bf82e731a5
bd68c98f0b Run tests workflow as well on push (#3301)
2023-01-22 12:23:23 +00:00
Tomas Votruba
69bec676cd Updated Rector to commit 58da24c6aef2117167d14c79e2c0751f887e7f54
58da24c6ae trigger build
2023-01-22 12:07:56 +00:00
Tomas Votruba
1d4fb67d29 Updated Rector to commit 93b225a3b3382fcf8bb0862746dab560ee64a53a
93b225a3b3 [Php72] Handle crash on CreateFunctionToAnonymousFunctionRector on quoted variable arg concat (#3300)
2023-01-22 12:07:32 +00:00
Tomas Votruba
475ff30ed0 Updated Rector to commit 93b225a3b3382fcf8bb0862746dab560ee64a53a
93b225a3b3 [Php72] Handle crash on CreateFunctionToAnonymousFunctionRector on quoted variable arg concat (#3300)
2023-01-22 08:48:34 +00:00
Tomas Votruba
61ec077d92 Updated Rector to commit d2a553c87255d379f20d9d447701c87abeb0b3e4
d2a553c872 [automated] Re-Generate Nodes/Rectors Documentation (#3299)
2023-01-22 00:34:51 +00:00
Tomas Votruba
d74121b574 Updated Rector to commit cc8c4d0933a25224d93f1dd206547b96f5918ec5
cc8c4d0933 misc
2023-01-21 22:24:50 +00:00
Tomas Votruba
bad766b609 Updated Rector to commit cc8c4d0933a25224d93f1dd206547b96f5918ec5
cc8c4d0933 misc
2023-01-21 21:36:32 +00:00
Tomas Votruba
000bfb6f79 Rector 0.15.10 2023-01-21 14:30:16 +00:00
Tomas Votruba
39a38b4fc5 Rector 0.15.9 2023-01-21 14:17:30 +00:00
Tomas Votruba
df111d9b04 Updated Rector to commit 9cb97aa042de32f336321516131f007dd519c2d4
9cb97aa042 [Php82] Skip non-FilesystemIterator on FilesystemIteratorSkipDotsRector (#3298)
2023-01-21 13:08:39 +00:00
Tomas Votruba
49dcc089a5 Rector 0.15.8 2023-01-20 20:26:11 +00:00
Tomas Votruba
c0543b1366 Updated Rector to commit 6ff46171a59dbfe0eddabf6ffcd8c091fbea8915
6ff46171a5 Show different code on found errors, and on fatal errors (#3297)
2023-01-20 20:25:25 +00:00
Tomas Votruba
defe1882fe Updated Rector to commit 1ab342a4ee4bf282bb436c636c401d37a9476d23
1ab342a4ee [Core] Use Original node to pull Scope on AbstractScopeAwareRector (#3295)
2023-01-20 02:17:05 +00:00
Tomas Votruba
3caa257b2c Updated Rector to commit 1ab342a4ee4bf282bb436c636c401d37a9476d23
1ab342a4ee [Core] Use Original node to pull Scope on AbstractScopeAwareRector (#3295)
2023-01-18 12:08:19 +00:00
Tomas Votruba
1253856e99 Updated Rector to commit 2d6869fe3933347397a2ce879805a91e829e09a9
2d6869fe39 Bump php-parser 4.15.3 and re-generate preload file (#3294)
2023-01-17 17:54:18 +00:00
Tomas Votruba
c67791b001 Updated Rector to commit cec3a1183d0a82e38dfdb06ecfa9b9b5d97125de
cec3a1183d [Php73] Skip prev() call on items after key called on ArrayKeyFirstLastRector (#3293)
2023-01-17 15:07:40 +00:00
Tomas Votruba
78a094be89 Updated Rector to commit fc77aa08f716935ceb22db7ec32f4a45fabf6cf1
fc77aa08f7 Bump to symplify/phpstan-rules 11.1.28.72 (#3292)
2023-01-17 04:24:15 +00:00
Tomas Votruba
f544364f8d Updated Rector to commit 541bf4529b7d6c078843c1104b530356687b847c
541bf4529b [Php80] Handle crash leaveNode() returned invalid value of type integer on TokenGetAllToObjectRector (#3291)
2023-01-17 01:10:44 +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
8c806f8911 Updated Rector to commit 8f4642c78eebd8fdf1770f01187128a59c712146
8f4642c78e [AutoImport] Skip first stmt is InlineHTML (#3288)
2023-01-15 10:47:14 +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
2c3af6740f Updated Rector to commit 833ac7279b9fe8ecdc20dbc225f9cc28230ef929
833ac7279b clear
2023-01-15 02:12:00 +00:00
Tomas Votruba
bede86547e Updated Rector to commit 505a2490fab1d61dffe6a9fa0cd95efc35ff9ac0
505a2490fa remove MethodTypeAnalyzer
2023-01-15 01:58:44 +00:00
Tomas Votruba
f456cdf31c Updated Rector to commit daf7d2b5edd3bd83433630d1c189de78ed38d62b
daf7d2b5ed remove removeAbstract() unused method
2023-01-15 01:48:13 +00:00
Tomas Votruba
707c267250 Updated Rector to commit 71aacbee32ca0db0841b233c91663fd1ca0abee1
71aacbee32 remove unused namespace name decorator
2023-01-15 01:18:27 +00:00
Tomas Votruba
838e4d7b3f Updated Rector to commit 3f0dc2aee83ec3249e2aa1fba70dc89bed8a9227
3f0dc2aee8 remove NamedVariableFactory
2023-01-15 01:10:38 +00:00
Tomas Votruba
b000cd08e5 Updated Rector to commit f6463a551369f884954c0f7dbc8b423e7d29d8e4
f6463a5513 remove unused ClassFromEnumFactory
2023-01-15 01:08:52 +00:00
Tomas Votruba
b57aa6b1c1 Updated Rector to commit 3d7de8a15dfd61b80af51711c28a03ef886267e1
3d7de8a15d remove unused DoctrineAnnotationFactory
2023-01-15 00:59:39 +00:00
Tomas Votruba
01b8c03d60 Updated Rector to commit 8bf0045044d1357c6d10bc61e84fd962f69ccc20
8bf0045044 remove downgrade only method
2023-01-15 00:50:07 +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
788f8c3fea Updated Rector to commit d9ee43c28dd0718bd2a2528a4313be2c6199666d
d9ee43c28d [CodeQuality] Handle mix HTML+PHP on ForRepeatedCountToOwnVariableRector (#3282)
2023-01-14 08:08:29 +00:00
Tomas Votruba
a43370e1f4 Rector 0.15.7 2023-01-13 21:14:19 +00:00
Tomas Votruba
f21fb3b126 Updated Rector to commit 774de56c848e9b4c4bbf2a8319cbfaebd16f6ef9
774de56c84 Fix AddMethodCallBasedStrictParamTypeRector for invalid generics type (#3281)
2023-01-13 20:02:32 +00:00
Tomas Votruba
827c456b07 Updated Rector to commit fe7ed4fb9a4ed31a13f70ee9e6595552aecb0f58
fe7ed4fb9a Skip attribute in RemoveUnusedPromotedPropertyRector (#3280)
2023-01-13 19:41:09 +00:00
Tomas Votruba
2980e4cdbf Updated Rector to commit 3b3ee7ea805d2a5d4abe1049d595b456abdd400c
3b3ee7ea80 Skip Doctrine Collection in RenamePropertyToMatchTypeRector (#3279)
2023-01-13 19:34:52 +00:00
Tomas Votruba
81f82f7474 Rector 0.15.6 2023-01-13 19:10:49 +00:00
Tomas Votruba
28ec152d46 Updated Rector to commit bea3bc6d9fd4fd5596486490f4abb612cd05b160
bea3bc6d9f Skip date time on naming, as custom standard (#3278)
2023-01-13 19:10:03 +00:00
Tomas Votruba
3bf1b86a9a Updated Rector to commit 9a2bcbf87e0e9ef7a243bae52d666f9704c1aee1
9a2bcbf87e [Naming] Fix add fixture RenameVariableToMatchMethodCallReturnTypeRector  for date time assign (#3277)
2023-01-13 18:58:01 +00:00
Tomas Votruba
f0db3872cf Updated Rector to commit b91f35ff6e833e2abb6591044309984549f0b539
b91f35ff6e Fix FinalizeClassesWithoutChildrenRector for changed class, use more reliable reflection to detect Doctrine attributes (#3276)
2023-01-13 15:37:04 +00:00
Tomas Votruba
4372e75c82 Updated Rector to commit fbf9506c5de7389260e8a842c911b3315b053df3
fbf9506c5d Skip RenamePropertyToMatchTypeRector for promoted property date time (#3275)
2023-01-13 15:20:40 +00:00
Tomas Votruba
d37a463efc Updated Rector to commit fbf9506c5de7389260e8a842c911b3315b053df3
fbf9506c5d Skip RenamePropertyToMatchTypeRector for promoted property date time (#3275)
2023-01-13 15:15:08 +00:00
Tomas Votruba
b27945f635 Rector 0.15.5 2023-01-12 19:13:08 +00:00
Tomas Votruba
db3869fd18 Updated Rector to commit 7c4d0ce7eca325b22e35c2653bf99a119a82668d
7c4d0ce7ec Includes PHPStan bleedingEdge.neon config in phpstan-for-rector and phpstan-for-downgrade config (#3274)
2023-01-12 13:57:33 +00:00
Tomas Votruba
2494cc52a4 Updated Rector to commit 69c4ca8aaffd3340d8c9011b52f16189d15778f7
69c4ca8aaf [TypeDeclaration] Skip crash Undefined property: PhpParser\Node\Stmt\Enum_:: on AddParamTypeDeclarationRector (#3272)
2023-01-11 09:15:59 +00:00
Tomas Votruba
2662858a47 Updated Rector to commit 69c4ca8aaffd3340d8c9011b52f16189d15778f7
69c4ca8aaf [TypeDeclaration] Skip crash Undefined property: PhpParser\Node\Stmt\Enum_:: on AddParamTypeDeclarationRector (#3272)
2023-01-10 14:56:25 +00:00
Tomas Votruba
96c131c440 Updated Rector to commit c406c850e227b673b256fef4c9d1a368982f2a2e
c406c850e2 docs
2023-01-10 11:16:07 +00:00
Tomas Votruba
1dcdf54ebf Rector 0.15.4 2023-01-10 11:09:49 +00:00
Tomas Votruba
b771e1ca1a Updated Rector to commit 58c8f170182d3350e21a3b141bb3971651943e63
58c8f17018 [CodingStyle] Add DataProviderArrayItemsNewlinedRector (#3271)
2023-01-10 11:07:38 +00:00
Tomas Votruba
70d56f8d24 Updated Rector to commit e8dd953f10a7afc3610d5185c6b42216e6d9e050
e8dd953f10 [Php80] Don't add null as default to variadic parameter (#3270)
2023-01-10 10:35:25 +00:00
Tomas Votruba
4734e7527f Updated Rector to commit e8dd953f10a7afc3610d5185c6b42216e6d9e050
e8dd953f10 [Php80] Don't add null as default to variadic parameter (#3270)
2023-01-09 13:34:26 +00:00
Tomas Votruba
7fa05c4332 Updated Rector to commit e8dd953f10a7afc3610d5185c6b42216e6d9e050
e8dd953f10 [Php80] Don't add null as default to variadic parameter (#3270)
2023-01-09 11:19:09 +00:00
Tomas Votruba
71448aaa79 Updated Rector to commit aafb99246d40b436486c90eaad7e45f21a823075
aafb99246d skip automated and core from generate changelog
2023-01-08 16:24:14 +00:00
Tomas Votruba
3f15e3a241 Rector 0.15.3 2023-01-08 16:14:58 +00:00
Tomas Votruba
29be2b6a0f Updated Rector to commit 9c64c2a7ef9aa19592349b3928173adc9b9eb394
9c64c2a7ef [TypeDeclaration] Fix TypedPropertyFromStrictConstructorRector to avoid conflict with default type (#3269)
2023-01-08 16:13:32 +00:00
Tomas Votruba
6b7133ac92 Updated Rector to commit d43f7498b821cf58437f622bce3b3aae290fa89e
d43f7498b8 Bump PHPStan ^1.9.7 (#3268)
2023-01-05 10:03:05 +00:00
Tomas Votruba
9548122236 Updated Rector to commit d43f7498b821cf58437f622bce3b3aae290fa89e
d43f7498b8 Bump PHPStan ^1.9.7 (#3268)
2023-01-05 03:42:38 +00:00
Tomas Votruba
80b6ffce36 Updated Rector to commit 8c439cffaee2124388b4fd03db951f43f10a5359
8c439cffae [TypeDeclaration] Do not remove multiple docblocks with comment on TypedPropertyFromAssignsRector (#3263)
2023-01-03 15:14:20 +00:00
Tomas Votruba
a8b92bef9a Updated Rector to commit 27d57142d9581209db7809c3e1f50e77140574cb
27d57142d9 Bump to PHPStan ^1.9.6 (#3266)
2023-01-03 14:38:26 +00:00
Tomas Votruba
ee002f4649 Updated Rector to commit fe5292d39dde5bfbd9ad3f652762bf70f621ee48
fe5292d39d Bump to PHPStan ^1.9.5 (#3265)
2023-01-03 12:53:46 +00:00
Tomas Votruba
9b5abdcb18 Updated Rector to commit fe5292d39dde5bfbd9ad3f652762bf70f621ee48
fe5292d39d Bump to PHPStan ^1.9.5 (#3265)
2023-01-03 00:44:59 +00:00
Tomas Votruba
3e51438f07 Updated Rector to commit 5b76f7b43b18b04c4eb32fbf55d6795478a09a43
5b76f7b43b [TypeDeclaration] Handle comment + single docblock on TypedPropertyFromAssignsRector (#3264)
2023-01-02 16:27:11 +00:00
Tomas Votruba
11b6f003b8 Updated Rector to commit a94a11a157b69172d32dbdd6de3328d313f9f5ce
a94a11a157 [Utils] Add ArrayChecker util to verify first data found on given array (#3262)
2023-01-02 12:05:00 +00:00
Tomas Votruba
0fc42c2559 Updated Rector to commit 47fa234379b7b9f28081e8bc6e683628f8d53f2b
47fa234379 [CodeQuality] Add Variable support on class arg on InlineIsAInstanceOfRector (#3261)
2023-01-02 11:58:30 +00:00
Tomas Votruba
b8f374dc0e Updated Rector to commit cba980b719f48eb580f8afcf4e3843843436ba35
cba980b719 [NodeRemoval] Refactor NodeRemover to always use removeNode() method to ensure Node in NodesToRemoveCollector (#3255)
2023-01-02 11:53:04 +00:00
Tomas Votruba
fe418cfdc0 Updated Rector to commit 79a34f9e0116081e31472c2d6cd415e7d077c21f
79a34f9e01 [CodeQuality] Handle class-string case insensitive on CompleteDynamicPropertiesRector (#3260)
2023-01-02 11:52:28 +00:00
Tomas Votruba
764b0a2692 Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
cb5b01223d [automated] Re-Generate Nodes/Rectors Documentation (#3259)
2023-01-01 00:36:31 +00:00
Tomas Votruba
cc6482f10f Updated Rector to commit e61c1774f94bfd37023ad789542200a63f8ce9cd
e61c1774f9 [Core] Make consistent BetterNodeFinder findParent and findParentByTypes (#3258)
2022-12-31 23:46:11 +00:00
Tomas Votruba
1ccd0845db Updated Rector to commit eadd54081521c7d426a8d4249157f6239dd2bc8a
eadd540815 [Core] Remove ParentAttributeSourceLocator (#3257)
2022-12-31 10:11:25 +00:00
Tomas Votruba
dbb3bb2510 Updated Rector to commit 6bd6b3cc85138b0d2b754175fad616d02cea6b72
6bd6b3cc85 PHP80 string helpers loose comparison (#3246)
2022-12-29 13:26:54 +00:00
Tomas Votruba
e8d8146deb Updated Rector to commit 0146fc085ba712bc4d3713ef89bdb06e8e1d959f
0146fc085b bump deps
2022-12-29 12:31:28 +00:00
Tomas Votruba
b6297a1113 Updated Rector to commit 384e84a982b8535dc06e49c0ed90b1979029e0e8
384e84a982 refactors Spatie enum method calls to native enums (#3226)
2022-12-28 12:01:35 +00:00
Tomas Votruba
8a89fc1eb2 Updated Rector to commit ac2f8537c1f5b9739baaeeb8228d514b29c6b0b6
ac2f8537c1 [CodeQuality] Handle crash on ReturnTypeFromStrictScalarReturnExprRector on ConditionalTypeForParameter (#3254)
2022-12-25 14:11:20 +00:00
Tomas Votruba
f5dcbb18c6 Updated Rector to commit 55c9472f44600ac55e0064ae83e2098539c473f6
55c9472f44 [Privatization] Optimize ParentPropertyLookupGuard, make  parameter required (#3252)
2022-12-25 10:56:01 +00:00