Commit Graph

3546 Commits

Author SHA1 Message Date
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