Commit Graph

2506 Commits

Author SHA1 Message Date
Tomas Votruba
4721ef64a8 Updated Rector to commit 02803bf7d5
02803bf7d5 [Attributes] Add UseAliasNameMatcherTest (#2401)
2022-05-31 14:46:02 +00:00
Tomas Votruba
abedf4d309 Updated Rector to commit 9b7ef717dd
9b7ef717dd [scoped] Keep tracy logger as needed in dump()
2022-05-31 13:09:17 +00:00
Tomas Votruba
6d0c79899d Updated Rector to commit 49b5ef525f
49b5ef525f [TypeDeclaration] Ensure return  only when changed on AddReturnTypeDeclarationRector (#2400)
2022-05-31 12:45:35 +00:00
Tomas Votruba
f04a3bc21f Updated Rector to commit 5640d513d2
5640d513d2 [Core] Fix bootstrap stubs load on PHP 7.2 when vendor/ excluded via skip() (#2394)
2022-05-31 12:44:36 +00:00
Tomas Votruba
f219c9f429 Updated Rector to commit cd405e6512
cd405e6512 [TypeDeclaration] Ensure return  only when changed on AddParamTypeDeclarationRector (#2399)
2022-05-31 12:43:03 +00:00
Tomas Votruba
38c15a123c Rector 0.13.3 2022-05-31 12:26:36 +00:00
Tomas Votruba
f40a2a241e Updated Rector to commit c85e9339be
c85e9339be lower timeouts
2022-05-31 12:24:41 +00:00
Tomas Votruba
80e45b14d2 Updated Rector to commit 32afbbe079
32afbbe079 lower
2022-05-31 12:23:22 +00:00
Tomas Votruba
82e4121076 Updated Rector to commit 967279219d
967279219d [PHP 8.2] Skip readonly class on property without type in ReadOnlyClassRector (#2398)
2022-05-31 11:41:34 +00:00
Tomas Votruba
8779477bf1 Updated Rector to commit 3619d8bdaa
3619d8bdaa rename alternate build scoped Rector to main
2022-05-31 07:50:46 +00:00
Tomas Votruba
c25adde09b Updated Rector to commit 3778486d88
3778486d88 bump phpstan to 1.7.6
2022-05-31 07:50:36 +00:00
Tomas Votruba
8506c85563 Updated Rector to commit 01fc91e575
01fc91e575 [CodeQuality] Add empty array support to InlineArrayReturnAssignRector (#2397)
2022-05-31 07:47:20 +00:00
Tomas Votruba
0501290a9d Updated Rector to commit dc6bd9680c
dc6bd9680c [e2e] Handle Parent Property empty missing Scope on StaticCallToMethodCallRector+RenameClassRector (#2396)
2022-05-31 07:17:00 +00:00
Tomas Votruba
5975ecbe2c Updated Rector to commit 0dc9777f46
0dc9777f46 [Transform] Skip different method on CallableInMethodCallToVariableRector (#2395)
2022-05-30 14:13:32 +00:00
Tomas Votruba
6612bb0c65 Updated Rector to commit 7df41da055
7df41da055 make tracy thinner
2022-05-30 09:33:37 +00:00
Tomas Votruba
56d91201bf Updated Rector to commit d61cb541f0
d61cb541f0 add link to upgrade to RectorConfig
2022-05-30 09:24:21 +00:00
Tomas Votruba
1449b6f057 Updated Rector to commit 33837ceea6
33837ceea6 rise old config to 10 s and error design, to make noticable; still pass with success
2022-05-30 09:22:21 +00:00
Tomas Votruba
e9be771b02 Updated Rector to commit b608b85de7
b608b85de7 fix installing of patches, the --no-dev kills it
2022-05-30 07:36:12 +00:00
Tomas Votruba
0d1643e025 Updated Rector to commit c4b0e48b46
c4b0e48b46 require patches
2022-05-30 07:29:56 +00:00
Tomas Votruba
a4f5c3fbe7 Updated Rector to commit 4b79e8219c
35c7210b3c try code-owners 4b79e8219c add comment
2022-05-30 07:13:27 +00:00
Tomas Votruba
5768646837 Updated Rector to commit 595f962117
595f962117 [scoped] try moving patches to dev
2022-05-30 06:56:28 +00:00
Tomas Votruba
7723d94398 Updated Rector to commit ba8e4879a2
ba8e4879a2 easy-testing is required in AbtractRectorTestCase
2022-05-30 06:49:13 +00:00
Tomas Votruba
0b22377322 Updated Rector to commit 6d2d0e6c1b
6d2d0e6c1b [scoped] removed skipped files, that are now removed
2022-05-30 06:45:23 +00:00
Tomas Votruba
138d6986c9 Updated Rector to commit 5caf384297
5caf384297 [scoped] remove ExpressionLanguage as never used
2022-05-30 06:43:22 +00:00
Tomas Votruba
d9d80a5f22 Updated Rector to commit f31c87c1a3
e94d49b937 [CI] remove disabled build scoped rector f31c87c1a3 [scoped] use parallel by default for scoped
2022-05-30 06:42:19 +00:00
Tomas Votruba
3e4e784c70 Updated Rector to commit 46d65af264
46d65af264 Wait 2 minutes before build when create a tag (#2389)
2022-05-30 02:31:13 +00:00
Tomas Votruba
de6d26c72b Updated Rector to commit 02c3037e66
02c3037e66 remove downgrader-rector bash
2022-05-30 00:22:54 +00:00
Tomas Votruba
b81213b906 Updated Rector to commit bb1a29cf63
bb1a29cf63 option working-dir is not compatible with paralle lrun, better handle via CI working-dir options (#2387)
2022-05-30 00:22:30 +00:00
Tomas Votruba
bc0861a2f6 Updated Rector to commit cb6c05fd62
81c3a528f7 [CI] disable per-dir Rector downgrade build cb6c05fd62 remove downgrade-paths, not needed anymore
2022-05-30 00:22:21 +00:00
Tomas Votruba
aba5c90761 Updated Rector to commit bb98f83b40
274bb9cfec remove unused e2e test bb98f83b40 [scoped] swap main and alternate deploy
2022-05-30 00:06:39 +00:00
Tomas Votruba
d035c86f90 Updated Rector to commit a7e66d67bd
a7e66d67bd remove excluded files
2022-05-30 00:02:22 +00:00
Tomas Votruba
6b4179aed5 Updated Rector to commit 97d1495ba8
97d1495ba8 keep only templates
2022-05-29 23:52:56 +00:00
Tomas Votruba
024e4046be Updated Rector to commit 33184175f1
33184175f1 less excludes
2022-05-29 23:52:30 +00:00
Tomas Votruba
163f62e636 Updated Rector to commit ac9524998c
ac9524998c down config too
2022-05-29 23:50:25 +00:00
Tomas Votruba
3c280238a4 Updated Rector to commit 70b2c8b275
70b2c8b275 include correct vendor
2022-05-29 23:44:57 +00:00
Tomas Votruba
d386171807 Updated Rector to commit d3f0e117fe
d3f0e117fe explicit
2022-05-29 23:32:28 +00:00
Tomas Votruba
73af067b64 Updated Rector to commit 410d28e80e
410d28e80e typo
2022-05-29 23:22:56 +00:00
Tomas Votruba
3ab9537343 Updated Rector to commit ecf89f301a
ecf89f301a single dir
2022-05-29 23:17:21 +00:00
Tomas Votruba
43094029dd Updated Rector to commit 9f784a8fae
9f784a8fae [CI] restore build dir
2022-05-29 23:15:29 +00:00
Tomas Votruba
ba33a36776 Updated Rector to commit ed8b526a16
ed8b526a16 [composer] remove unused polyfills
2022-05-29 22:55:16 +00:00
Tomas Votruba
4803c3d08f Updated Rector to commit 17cd369be3
17cd369be3 remove direct symfony/yaml
2022-05-29 22:48:48 +00:00
Tomas Votruba
5b72ec39c6 Updated Rector to commit db57fbaae4
db57fbaae4 Remove myclabs/php-enum dependency (#2388)
2022-05-29 22:41:07 +00:00
Tomas Votruba
7d6c099953 Updated Rector to commit 953f9c7db9
953f9c7db9 clean
2022-05-29 20:55:35 +00:00
Tomas Votruba
d86003f0c9 Updated Rector to commit d292e9dab5
d292e9dab5 remove lass process
2022-05-29 20:46:31 +00:00
Tomas Votruba
824b15c9ab Updated Rector to commit cd04248017
cd04248017 php
2022-05-29 20:42:39 +00:00
Tomas Votruba
148e704714 Updated Rector to commit 12b019ac62
12b019ac62 debug
2022-05-29 20:23:19 +00:00
Tomas Votruba
c89dcb82ea Updated Rector to commit 366995d6f7
366995d6f7 try cwed
2022-05-29 20:07:14 +00:00
Tomas Votruba
02e60a117a Updated Rector to commit ac64e0b76a
ac64e0b76a fix static
2022-05-29 18:55:33 +00:00
Tomas Votruba
5b765a5a82 Updated Rector to commit ef838457a5
ef838457a5 remove Symfony Process from VersionResolver
2022-05-29 18:55:20 +00:00
Tomas Votruba
8ed7e730af Updated Rector to commit ba8aed9a3e
ba8aed9a3e try symfony/process in dev
2022-05-29 18:26:31 +00:00
Tomas Votruba
3b06db3e32 Updated Rector to commit f4237155a2
f4237155a2 [DowngradePhp81] Handle crash parent Arg is missing scope on DowngradeFirstClassCallableSyntaxRector (#2386)
2022-05-29 16:14:19 +00:00
Tomas Votruba
6e8480860a Updated Rector to commit be3e2e1f9b
be3e2e1f9b trigger buid
2022-05-29 14:16:20 +00:00
Tomas Votruba
9a9e8960ee Updated Rector to commit 9cd69c2b3d
9cd69c2b3d [automated] Re-Generate Nodes/Rectors Documentation (#2385)
2022-05-29 00:36:37 +00:00
Tomas Votruba
b5e7b13e63 Updated Rector to commit 012e9ad553
012e9ad553 Add annotation to attribute core rename in AnnotationToAttributeRector (#2384)
2022-05-28 17:00:40 +00:00
Tomas Votruba
94e64470da Updated Rector to commit 012e9ad553
012e9ad553 Add annotation to attribute core rename in AnnotationToAttributeRector (#2384)
2022-05-28 00:27:30 +00:00
Tomas Votruba
5c55299624 Rector 0.13.2 2022-05-27 21:47:31 +00:00
Tomas Votruba
64b3510c04 Updated Rector to commit 31e60de5c9
31e60de5c9 allow PHPStan 1.7.2
2022-05-27 21:09:24 +00:00
Tomas Votruba
15bac77e54 Updated Rector to commit e89590f925
e89590f925 Try pin back PHPStan 1.7.1 (#2383)
2022-05-27 20:43:22 +00:00
Tomas Votruba
85ff7027f7 Updated Rector to commit 38cb4c9684
38cb4c9684 Move Bootstrap file includer to load in RectorContainerFactory (#2382)
2022-05-27 19:47:45 +00:00
Tomas Votruba
efe571aff5 Rector 0.13.1 2022-05-27 18:26:44 +00:00
Tomas Votruba
ed2a4f1f64 Updated Rector to commit 429e5746ea
429e5746ea Try pin PHPStan 1.7.1 (#2381)
2022-05-27 17:33:19 +00:00
Tomas Votruba
5ac1afded1 Updated Rector to commit 7f40d20ff7
7f40d20ff7 Fix wrong copy paste define-constant test (#2380)
2022-05-27 17:03:14 +00:00
Tomas Votruba
b748edb1e3 Updated Rector to commit 37df55a2fd
37df55a2fd [DX] Remove non-PHP file formatting based on editorconfig, rather let external coding standard tools handle the file format (#2378)
2022-05-27 16:47:28 +00:00
Tomas Votruba
72da510fdc Updated Rector to commit 30b5b53c0e
30b5b53c0e Rollback e2e define-contant as found error in consumer (#2379)
2022-05-27 16:21:17 +00:00
Tomas Votruba
4838a73d43 Updated Rector to commit 38ed8d2f6d
38ed8d2f6d Rollback stubs-rector tweak and remove e2e/define-constant (#2377)
2022-05-27 15:54:40 +00:00
Tomas Votruba
02fbc78a36 Updated Rector to commit 2c46d4fc4d
2c46d4fc4d [DX] Drop YamlFileFormatter as Rector does not process YAML (#2376)
2022-05-27 15:40:05 +00:00
Tomas Votruba
dde87d99cf Updated Rector to commit a7e6b685e9
a7e6b685e9 [DX] Remove XmlFileFormatter, as Rector does not handle it (#2375)
2022-05-27 15:32:46 +00:00
Tomas Votruba
3179389e09 Updated Rector to commit 64f93c848d
64f93c848d Try fix stub ReflectionUnionType not found in CI php 7.2 (take 2) (#2374)
2022-05-27 15:10:33 +00:00
Tomas Votruba
370e072a87 Updated Rector to commit a9dd89b1cc
a9dd89b1cc [DX] Remove CommandNaming magic, check rector class exists in RectorConfig (#2372)
2022-05-27 15:06:05 +00:00
Tomas Votruba
2916f08a7f Updated Rector to commit 03da98750a
03da98750a Try fix stub ReflectionUnionType not found in CI php 7.2 (#2373)
2022-05-27 14:54:56 +00:00
Tomas Votruba
6693d5cd3d Updated Rector to commit 45eef47f27
45eef47f27 [DX] Various config merge, improve RectorConfig methods (#2371)
2022-05-27 13:38:07 +00:00
Tomas Votruba
7e46eb8267 Updated Rector to commit a2d6da8b4e
a2d6da8b4e Back to php-scoper 0.14 with scoping from php 8.0 (#2370)
2022-05-27 11:51:31 +00:00
Tomas Votruba
beba7d6efe Updated Rector to commit 1249d947f4
1249d947f4 Try php-scoper 0.17 (#2368)
2022-05-27 11:25:02 +00:00
Tomas Votruba
44b6de06e8 Updated Rector to commit 7adde5807c
7adde5807c [DX] Move configure to direct call in RectorConfig (#2367)
2022-05-27 11:08:48 +00:00
Tomas Votruba
c9884a4d56 Updated Rector to commit 7adde5807c
7adde5807c [DX] Move configure to direct call in RectorConfig (#2367)
2022-05-27 11:00:42 +00:00
Tomas Votruba
51026f9d95 Updated Rector to commit 213b14d715
d2456936e9 clear phpstan.neon 213b14d715 use Symfony 6.0 contracts
2022-05-27 10:59:03 +00:00
Tomas Votruba
911a9772d6 Updated Rector to commit e690cd059c
e690cd059c restore downgrade configs
2022-05-27 10:39:50 +00:00
Tomas Votruba
bcf77dc873 Updated Rector to commit f5a06553ce
f5a06553ce [CodeQuality] Add InlineIsAInstanceOfRector (#2364)
2022-05-26 22:07:22 +00:00
Tomas Votruba
74a2d071eb Updated Rector to commit 3da22b0231
3da22b0231 [Php81] Skip ArrayDimFetch from ArrayObject in Assign var on ReadOnlyPropertyRector (#2363)
2022-05-26 07:20:40 +00:00
Tomas Votruba
9bf9c43163 Updated Rector to commit 66dbb1e307
66dbb1e307 Allow to rename method if in interface (#2362)
2022-05-25 21:43:02 +00:00
Tomas Votruba
b52fe6d037 Updated Rector to commit 5d0138dcef
5d0138dcef Fixture class name fix (#2360)
2022-05-25 08:23:52 +00:00
Tomas Votruba
f47835bc59 Updated Rector to commit 5d0138dcef
5d0138dcef Fixture class name fix (#2360)
2022-05-25 07:42:03 +00:00
Tomas Votruba
90e4d93b7b Updated Rector to commit 9c6b3d708c
9c6b3d708c [TypeDeclaration] Skip curly {@inheritdoc} on AddArrayReturnDocTypeRector (#2359)
2022-05-25 07:33:41 +00:00
Tomas Votruba
c5eecc40c0 Updated Rector to commit 4c53b206a4
4c53b206a4 [Php80] Do not remove array<mixed> inside Union type on UnionTypesRector (#2358)
2022-05-25 06:59:11 +00:00
Tomas Votruba
de531d956c Updated Rector to commit e1ecbe90fc
e1ecbe90fc [DeadCode] Handle RemoveDoubleAssignRector+RemoveUnusedVariableAssignRector (#2355)
2022-05-24 21:07:21 +00:00
Tomas Votruba
f3e173b7f3 Updated Rector to commit 8efa7151e6
8efa7151e6 [FamilyTree] Use parent->hasNativeMethod() on ClassChildAnalyzer->resolveParentClassMethods() (#2357)
2022-05-24 20:58:57 +00:00
Tomas Votruba
5dfc95ba95 Updated Rector to commit e1ecbe90fc
e1ecbe90fc [DeadCode] Handle RemoveDoubleAssignRector+RemoveUnusedVariableAssignRector (#2355)
2022-05-24 20:58:43 +00:00
Tomas Votruba
b93cf80a4f Updated Rector to commit dc9189280f
dc9189280f [PHPStan] Update to PHPStan ^1.7.0 (#2354)
2022-05-24 13:01:35 +00:00
Tomas Votruba
3e7be42701 Updated Rector to commit a14bd26655
a14bd26655 [Core] Handle Previous Stmt not Stmt on UnreachableStmtAnalyzer (#2353)
2022-05-24 09:06:01 +00:00
Tomas Votruba
5d8ca84738 Updated Rector to commit f25715b7b3
f25715b7b3 [Php73] Skip Encapsed on StringifyStrNeedlesRector + Temporary Pin PHPStan 1.6.9 (#2352)
2022-05-24 08:37:28 +00:00
Tomas Votruba
edbab99c60 Updated Rector to commit 1691157a64
1691157a64 [Core] Use PropertyFetchAnalyzer::isFilledViaMethodCallInConstructStmts() in ConstructorAssignDetector::isPropertyAssigned() (#2351)
2022-05-23 14:15:07 +00:00
Tomas Votruba
bb3b32dd59 Rector 0.13.0 2022-05-23 10:26:32 +00:00
Tomas Votruba
f89782b964 Updated Rector to commit f134b6183e
f134b6183e [Php71] Ensure return  only when catch of TryCatch removed on MultiExceptionCatchRector (#2350)
2022-05-23 03:50:09 +00:00
Tomas Votruba
a2cadae414 Updated Rector to commit 3fe07aa6a1
3fe07aa6a1 [Experiment][Naming] Keep GroupUse Stmt on UseImportsResolver::resolveForNode() (#2349)
2022-05-22 21:05:36 +00:00
Tomas Votruba
291f513fb2 Updated Rector to commit f8c204adba
f8c204adba [Naming] Handle Grouped use import on UseImportsResolver (#2348)
2022-05-22 17:40:56 +00:00
Tomas Votruba
b7c661cd45 Updated Rector to commit a9c6d9bd06
a9c6d9bd06 [Core][DeadCode] Remove ClassMethodManipulator->isPropertyPromotion() (#2346)
2022-05-22 17:06:09 +00:00
Tomas Votruba
a935bbc0cb Updated Rector to commit 8fbc6582f9
8fbc6582f9 [Core][Naming] Move collecting param names method to FunctionLikeManipulator (#2347)
2022-05-22 16:59:48 +00:00
Tomas Votruba
1192ab052e Updated Rector to commit 68906c7e17
68906c7e17 [DeadCode] Skip used in compact() on RemoveUnusedConstructorParamRector (#2345)
2022-05-22 11:48:33 +00:00
Tomas Votruba
87e9b6cac3 Updated Rector to commit 20731aedd2
20731aedd2 add RectorConfigProvider::getSymfonyContainerXml()
2022-05-22 07:50:39 +00:00
Tomas Votruba
cb9cf8dc77 Updated Rector to commit a59e9cece6
a59e9cece6 Fix return type of FileInfoParser::parseFileInfoToNodesAndDecorate (#2344)
2022-05-22 07:24:14 +00:00
Tomas Votruba
de0de9aad5 Updated Rector to commit 08a35afeb1
08a35afeb1 remove symfony routes json paramter as unused
2022-05-22 07:19:57 +00:00
Tomas Votruba
7b1430a8bc Updated Rector to commit adb6e68c2a
adb6e68c2a [automated] Re-Generate Nodes/Rectors Documentation (#2343)
2022-05-22 07:17:20 +00:00
Tomas Votruba
2b85976c4c Updated Rector to commit adb6e68c2a
adb6e68c2a [automated] Re-Generate Nodes/Rectors Documentation (#2343)
2022-05-22 00:38:26 +00:00
Tomas Votruba
1eaab8962d Updated Rector to commit fef1a03955
fef1a03955 [DeadCode] Skip used in Closure use on RemoveUnusedConstructorParamRector (#2341)
2022-05-21 16:30:26 +00:00
Tomas Votruba
71be1e7075 Updated Rector to commit b4120a8850
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 12:10:19 +00:00
Tomas Votruba
a073a51536 Updated Rector to commit b4120a8850
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 11:58:43 +00:00
Tomas Votruba
3051b40bdb Updated Rector to commit b4120a8850
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 09:54:08 +00:00
Tomas Votruba
85503305b8 Updated Rector to commit b4120a8850
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 09:46:20 +00:00
Tomas Votruba
ba3d4a2c17 Updated Rector to commit b4120a8850
b4120a8850 [DX] Use direct method on node, instead of token position (#2340)
2022-05-21 08:50:30 +00:00
Tomas Votruba
6fe802bfdc Updated Rector to commit fcadc67328
fcadc67328 add symfony php config option to allow loading route factory (#2339)
2022-05-21 08:48:33 +00:00
Tomas Votruba
66041dec16 Updated Rector to commit 36fd8fa619
36fd8fa619 [NodeTypeResolver] Remove DummyTraitClass check as the class no longer exists (#2338)
2022-05-20 18:06:50 +00:00
Tomas Votruba
6a5ebad0e7 Updated Rector to commit f0a1b688f3
f0a1b688f3 [DowngradePhp80] Apply PHPStan 1.7.x-dev compatible for PhpParameterReflection (#2336)
2022-05-20 10:24:40 +00:00
Tomas Votruba
f102e48ada Updated Rector to commit 1a56ec1736
1a56ec1736 [Php80] Handle default in previous not used in next switch (#2335)
2022-05-19 18:13:25 +00:00
Tomas Votruba
f2940cdc9c Updated Rector to commit 3f0a0b7259
3f0a0b7259 [Php80] Skip no default return fluent on ChangeSwitchToMatchRector (#2334)
2022-05-19 16:31:50 +00:00
Tomas Votruba
aff4495016 Updated Rector to commit f90acd4c3a
f90acd4c3a [DowngradePhp80] Handle inside Closure on DowngradeMatchToSwitchRector (#2333)
2022-05-19 14:31:37 +00:00
Tomas Votruba
ce9b1cc6e6 Updated Rector to commit 30a53bfd93
30a53bfd93 [DowngradePhp80] Add in arrow function in return support on DowngradeMatchToSwitchRector (#2331)
2022-05-19 06:59:21 +00:00
Tomas Votruba
e591a53599 Updated Rector to commit 36af81f0dd
36af81f0dd [DowngradePhp80] Handle match inside ArrowFunction on DowngradeMatchToSwitchRector (#2330)
2022-05-18 15:26:57 +00:00
Tomas Votruba
ed2c26a73e Updated Rector to commit 0704ba0af4
0704ba0af4 [Core] Remove clean comment on NodeComparator::isNodeEqual() (#2329)
2022-05-18 13:06:07 +00:00
Tomas Votruba
1bc7ee9334 Updated Rector to commit e33bcf19be
e33bcf19be [Core] Override pModifiers() method to set final and abstract modifiers early on BetterStandardPrinter (#2328)
2022-05-18 10:48:11 +00:00
Tomas Votruba
b0c0273ab6 Updated Rector to commit 2c0f802aaf
2c0f802aaf [DeadCode] Allow return Nop Stmts (comments) on RemoveAlwaysTrueIfConditionRector (#2327)
2022-05-18 08:14:13 +00:00
Tomas Votruba
9f20f49090 Updated Rector to commit eeeba85f48
eeeba85f48 [Core] Improve PropertyFetchFinder to use PropertyFetchAnalyzer (#2326)
2022-05-18 07:44:45 +00:00
Tomas Votruba
de15691138 Updated Rector to commit 50943ea4f2
50943ea4f2 [CodeQuality] Skip re use variable in assign Expr on InlineArrayReturnAssignRector (#2325)
2022-05-18 05:10:35 +00:00
Tomas Votruba
f845008257 Updated Rector to commit 50943ea4f2
50943ea4f2 [CodeQuality] Skip re use variable in assign Expr on InlineArrayReturnAssignRector (#2325)
2022-05-18 01:37:38 +00:00
Tomas Votruba
9ec874fb89 Updated Rector to commit 15d93fa815
15d93fa815 [DeadCode] Handle combine RemoveAlwaysTrueIfConditionRector + RemoveDeadConstructorRector (#2324)
2022-05-17 09:51:50 +00:00
Tomas Votruba
0cbc3aa523 Updated Rector to commit 15d93fa815
15d93fa815 [DeadCode] Handle combine RemoveAlwaysTrueIfConditionRector + RemoveDeadConstructorRector (#2324)
2022-05-16 21:21:34 +00:00
Tomas Votruba
74de754026 Updated Rector to commit 7a08f1bbe5
7a08f1bbe5 [Core] Move ->shouldShowProgressBar() before loop (#2323)
2022-05-16 19:08:11 +00:00
Tomas Votruba
792ac60a81 Updated Rector to commit 7a08f1bbe5
7a08f1bbe5 [Core] Move ->shouldShowProgressBar() before loop (#2323)
2022-05-16 09:43:25 +00:00
Tomas Votruba
4708d6b081 Updated Rector to commit c0086b7e14
c0086b7e14 [e2e] Add e2e for tests removed node display applied rules with return null (#2320)
2022-05-16 01:19:48 +00:00
Tomas Votruba
d08b83c426 Updated Rector to commit 91ffbbb74d
91ffbbb74d [Core] Direct assign visitors property data on RectorNodeTraverser (#2315)
2022-05-15 13:20:49 +00:00
Tomas Votruba
e7cbd16435 Updated Rector to commit 0686f438cc
0686f438cc [PHPStan] Enable symplify-rules.neon (#2318)
2022-05-15 11:50:50 +00:00
Tomas Votruba
c99e1d9cdf Updated Rector to commit d61eea4aca
d61eea4aca [Core] Ensure parent is Node on AbstractScopeAwareRector (#2317)
2022-05-15 10:32:22 +00:00
Tomas Votruba
98b2db6b30 Updated Rector to commit 70f10c9c77
70f10c9c77 [Core] Fix message configure rule error on EmptyConfigurableRectorChecker (#2316)
2022-05-15 10:13:55 +00:00
Tomas Votruba
ad10fd18db Updated Rector to commit 96400215b5
96400215b5 [automated] Re-Generate Nodes/Rectors Documentation (#2314)
2022-05-15 09:42:33 +00:00
Tomas Votruba
d63573a7d2 Updated Rector to commit 1d75b53e97
1d75b53e97 [Core] Add ScopeAnalyzer service to verify if Node is Scope aware (#2311)
2022-05-14 11:32:37 +00:00
Tomas Votruba
11c262469b Updated Rector to commit 3ed69d7ecf
3ed69d7ecf [CodeQuality] Apply StmtsAwareInterface node on SimplifyUselessVariableRector (#2310)
2022-05-14 09:33:59 +00:00
Tomas Votruba
d10a01e47f Updated Rector to commit fcb2dc6f33
fcb2dc6f33 [CodeQuality] Do not duplicate Expr on SimplifyIfElseToTernaryRector+SimplifyUselessVariableRector+CompleteDynamicPropertiesRector (#2308)
2022-05-14 07:38:00 +00:00
Tomas Votruba
f2550b0de1 Updated Rector to commit f92d5deca3
f92d5deca3 Fix Scalar_Encapsed node as dynamic in  (#2309)
2022-05-14 02:43:00 +00:00
Tomas Votruba
c50600c391 Updated Rector to commit 26d2589aba
26d2589aba [Parallel] Fix --debug not working in parallel (#2307)
2022-05-13 16:18:07 +00:00
Tomas Votruba
1b5d975dcf Updated Rector to commit 4d31934258
4d31934258 Add new rule to add annotations from router configuration to symfony controllers (#2306)
2022-05-13 10:14:21 +00:00
Tomas Votruba
b03aa95fcc Updated Rector to commit 28dc9cebb2
28dc9cebb2 Prepare NamedToUnnamedArgs for PhpParameterReflection change in PHPStan 1.7 (#2305)
2022-05-13 09:29:14 +00:00
Tomas Votruba
cd95eb3dcc Updated Rector to commit 1ec5e2d35b
1ec5e2d35b restore links
2022-05-12 19:20:31 +00:00
Tomas Votruba
99edeb9629 Updated Rector to commit 52ea41240e
47bea33c2e use changelog annotations to display useful into under the change 52ea41240e restore regex replaces
2022-05-12 19:17:07 +00:00
Tomas Votruba
c37682bea7 Updated Rector to commit f0d68c75a1
f0d68c75a1 [Php82] Fixtures for skip combination writable + readonly on ReadOnlyClassRector (#2304)
2022-05-12 16:54:11 +00:00
Tomas Votruba
a9b5ab7bc7 Updated Rector to commit f0d68c75a1
f0d68c75a1 [Php82] Fixtures for skip combination writable + readonly on ReadOnlyClassRector (#2304)
2022-05-12 16:10:15 +00:00
Tomas Votruba
093c37f3c5 Updated Rector to commit 78aaf7ee0b
78aaf7ee0b [Php82] Add ReadOnlyClassRector (#2296)
2022-05-12 15:51:17 +00:00
Tomas Votruba
75c4d1eb67 Updated Rector to commit 93cf392561
93cf392561 Add [file] + [rule] debug info on --debug + fix literal number downgrade type change to string (#2302)
2022-05-12 14:35:14 +00:00
Tomas Votruba
50d04ee8b8 Updated Rector to commit e88903f64e
e88903f64e [Core] Improve UnreachableStmtAnalyzer: verify itself by recursive call (#2300)
2022-05-12 10:26:38 +00:00
Tomas Votruba
bca89e29da Updated Rector to commit 33cd52e703
33cd52e703 Fix position of class after non-reachable stmts (#2299)
2022-05-12 09:11:03 +00:00
Tomas Votruba
e0323c00f8 Updated Rector to commit 39e552c4c9
39e552c4c9 Various little improvement (#2297)
2022-05-12 06:13:58 +00:00
Tomas Votruba
d967349fb9 Updated Rector to commit cd2a644e0c
cd2a644e0c [Core] Refactor RectifiedAnalyzer: early check against AbstractScopeAwareRector instead of Original node (#2295)
2022-05-12 05:20:59 +00:00
Tomas Votruba
412270b47d Updated Rector to commit 2ccb53592e
2ccb53592e Improve indent types (#2294)
2022-05-11 22:54:59 +00:00
Tomas Votruba
ea968d80ae Updated Rector to commit 1026ede751
1026ede751 Remove requires from tests, as all tests run on PHP 8.1 (#2293)
2022-05-11 22:23:42 +00:00
Tomas Votruba
060b1642ed Updated Rector to commit 55be345ca9
55be345ca9 Various improvements (#2291)
2022-05-11 17:53:44 +00:00
Tomas Votruba
f0a799c4c1 Updated Rector to commit 17d200dfa6
17d200dfa6 [DX] Skip extra comment, add RectorConfig->rules() (#2290)
2022-05-11 16:53:20 +00:00
Tomas Votruba
a48a02b46d Updated Rector to commit 9163864800
9163864800 Remove DowngradeGeneratedScalarTypesRector as way hacky to particular string solution, better use patching (#2289)
2022-05-11 16:29:59 +00:00
Tomas Votruba
f3598b9c94 Updated Rector to commit b8ff9ab25c
b8ff9ab25c Use ReflectionResolver when possible, use AbstractRector when scope not needed (#2288)
2022-05-11 14:46:44 +00:00
Tomas Votruba
099d77eea7 Updated Rector to commit 77dcd92d7f
77dcd92d7f [TypeDeclaration] Use AbstractRector on ParamTypeDeclarationRector (#2287)
2022-05-11 14:04:35 +00:00
Tomas Votruba
b16e5d61a8 Updated Rector to commit 4d358dade1
4d358dade1 [Core] Allow any Node passed to ReflectionResolver::resolveClassReflection() (#2286)
2022-05-11 13:46:30 +00:00
Tomas Votruba
aa55f3e517 Updated Rector to commit 4d358dade1
4d358dade1 [Core] Allow any Node passed to ReflectionResolver::resolveClassReflection() (#2286)
2022-05-11 13:35:32 +00:00
Tomas Votruba
7fc2669a02 Updated Rector to commit f5927bb55e
f5927bb55e [Core] Add ReflectionResolver::resolveClassReflectionSourceObject() method (#2285)
2022-05-11 13:10:39 +00:00
Tomas Votruba
a2b4ae0362 Updated Rector to commit a784b3da67
a784b3da67 [TypeDeclaration] Use ReflectionResolver when possible on ControllerRenderMethodAnalyzer (#2284)
2022-05-11 12:03:36 +00:00
Tomas Votruba
3c86fb4a76 Updated Rector to commit a784b3da67
a784b3da67 [TypeDeclaration] Use ReflectionResolver when possible on ControllerRenderMethodAnalyzer (#2284)
2022-05-11 11:43:08 +00:00
Tomas Votruba
45954eebdb Updated Rector to commit a784b3da67
a784b3da67 [TypeDeclaration] Use ReflectionResolver when possible on ControllerRenderMethodAnalyzer (#2284)
2022-05-11 11:35:42 +00:00
Tomas Votruba
9dcd15012f Updated Rector to commit 32165444b1
32165444b1 [Php52] Ensure return  only when node changed on ContinueToBreakInSwitchRector (#2283)
2022-05-11 07:15:27 +00:00
Tomas Votruba
7e928f8b96 Updated Rector to commit 12fa9407f7
12fa9407f7 [DeadCode] Skip @return static on return self when class is not final or in trait on RemoveUselessReturnTagRector (#2282)
2022-05-11 05:14:30 +00:00
Tomas Votruba
6feaa9edb7 Updated Rector to commit 8b4c7c5fd8
8b4c7c5fd8 [CodeQuality] Handle empty stmts on RemoveAlwaysTrueConditionSetInConstructorRector (#2281)
2022-05-11 01:22:20 +00:00
Tomas Votruba
a93d572d86 Updated Rector to commit ebd4c3fee6
ebd4c3fee6 [Renaming] Skip renaming method call on RenameMethodRector when both old and new exists, which implements interface as config (#2276)
2022-05-11 00:39:05 +00:00
Tomas Votruba
7ada631151 Updated Rector to commit 1dd739aab6
1dd739aab6 Update RemoveAlwaysTrueConditionSetInConstructorRector to return stmts (#2280)
2022-05-10 16:36:06 +00:00
Tomas Votruba
5a70fb04b1 Updated Rector to commit 27476c0909
27476c0909 add few fixtures (#2279)
2022-05-10 16:31:36 +00:00
Tomas Votruba
9306ff041a Updated Rector to commit fa073d4408
fa073d4408 [CodeQuality] Add SimplifyIfExactValueReturnValueRector (#2278)
2022-05-10 16:14:43 +00:00
Tomas Votruba
d72f56e566 Updated Rector to commit 30f2f91909
30f2f91909 [CodeQuality][DeadCode] Handle SimplifyUselessVariableRector+RemoveOverriddenValuesRector (#2277)
2022-05-10 12:38:09 +00:00
Tomas Votruba
447f9a972f Updated Rector to commit e5a45afba3
e5a45afba3 [CodeQuality][CodingStyle] Handle Scope not available error on CallableThisArrayToAnonymousFunctionRector+CountArrayToEmptyArrayComparisonRector (#2274)
2022-05-09 20:16:44 +00:00
Tomas Votruba
0632acb74b Updated Rector to commit 3c41b72a6b
3c41b72a6b cleanup phpstan.neon (#2273)
2022-05-09 11:32:47 +00:00
Tomas Votruba
377fd1911e Updated Rector to commit a99574d6c5
a99574d6c5 Mini optimizations (#2272)
2022-05-09 11:16:33 +00:00
Tomas Votruba
0070cfd0cc Updated Rector to commit 4468743419
4468743419 [FEAT] refacto OrderAttributesRector (#2243)
2022-05-09 10:52:19 +00:00
Tomas Votruba
fa402052ff Updated Rector to commit 97a33aa694
97a33aa694 [Core] Remove is_string() check on glob loop data (#2267)
2022-05-09 09:51:17 +00:00
Tomas Votruba
ec43ca03ec Updated Rector to commit 97a33aa694
97a33aa694 [Core] Remove is_string() check on glob loop data (#2267)
2022-05-09 06:43:28 +00:00
Tomas Votruba
bb468e29f5 Updated Rector to commit 97a33aa694
97a33aa694 [Core] Remove is_string() check on glob loop data (#2267)
2022-05-08 23:26:26 +00:00
Tomas Votruba
56775932a2 Updated Rector to commit 60708d4501
60708d4501 [Core] Clean up repetitive is_file and manual register stub on BootstrapFilesIncluder (#2264)
2022-05-08 23:16:31 +00:00
Tomas Votruba
aa0465d388 Updated Rector to commit 975fdf113f
975fdf113f [DX] Add StmtsAwareInterface to catch node by type (#2269)
2022-05-08 20:57:50 +00:00
Tomas Votruba
5b56a7d2ca Updated Rector to commit 5a122e2b82
5a122e2b82 [CodingStyle] Ensure node changed when return  on SymplifyQuoteEscapeRector (#2268)
2022-05-08 13:28:44 +00:00
Tomas Votruba
6dd3060af0 Updated Rector to commit ae2e38ed98
ae2e38ed98 [CodeQuality] Skip empty array push args and no 2nd arg on ChangeArrayPushToArrayAssignRector (#2266)
2022-05-08 11:21:43 +00:00
Tomas Votruba
374898f010 Updated Rector to commit 88c9b8e20d
88c9b8e20d Make ChangeArrayPushToArrayAssignRector use stmts (#2265)
2022-05-08 10:54:09 +00:00
Tomas Votruba
52fecaf9ca Updated Rector to commit e341cc26fe
e341cc26fe [NodeNameResolver] Remove NodeNameResolver::isLocalPropertyFetchNamed() method, already handled at PropertyFetchAnalyzer::isLocalPropertyFetchName() (#2263)
2022-05-08 08:49:04 +00:00
Tomas Votruba
992aade98a Updated Rector to commit d89c23267c
d89c23267c [automated] Re-Generate Nodes/Rectors Documentation (#2262)
2022-05-08 00:33:36 +00:00
Tomas Votruba
f958d0a9c9 Updated Rector to commit fb8260c3a1
fb8260c3a1 [DeadCode] Ensure no stmts check on RemovePhpVersionIdCheckRector (#2260)
2022-05-07 18:51:48 +00:00
Tomas Votruba
f63eef01d0 Updated Rector to commit 2dd8c6b814
2dd8c6b814 [CodeQuality][DeadCode] Add For_, Closure, and Finally_, Case_, Catch_ to NodeTypeGroup::STMTS_AWARE (#2258)
2022-05-07 18:33:57 +00:00
Tomas Votruba
0f7f24ba96 Updated Rector to commit 333933b2d3
333933b2d3 Change RemovePhpVersionIdCheckRector to work with direct If_ (#2259)
2022-05-07 18:21:39 +00:00
Tomas Votruba
ae706b6205 Updated Rector to commit e97288c13e
e97288c13e [Scoped] Rollback Symplify\SmartFileSystem\SmartFileInfo require at bootstrap.php (#2256)
2022-05-07 13:44:50 +00:00
Tomas Votruba
b4e0bff933 Updated Rector to commit 6baafbc5a6
6baafbc5a6 [Scoper] Remove SmartFileInfo and ContainerConfigurator setup on bootstrap.php (#2253)
2022-05-07 11:00:41 +00:00
Tomas Votruba
4b5a7031be Updated Rector to commit 3135f29362
3135f29362 [DeadCode] Ensure has stmts on RemoveDeadInstanceOfRector (#2252)
2022-05-07 10:26:06 +00:00
Tomas Votruba
fe23d4f8ca Updated Rector to commit c91f3ad629
c91f3ad629 refactor RemoveDeadInstanceOfRector to direct return (#2251)
2022-05-07 09:38:38 +00:00
Tomas Votruba
e1b8b2e468 Updated Rector to commit 81ba0c90bd
81ba0c90bd [Scoper] Remove PHPStanStubLoader: move to dedicated file to define native classes (#2249)
2022-05-07 09:29:04 +00:00
Tomas Votruba
2786be52f6 Updated Rector to commit c2ade0583c
c2ade0583c [DX] Refactor ChangeNestedIfsToEarlyReturnRector to direct return (#2250)
2022-05-07 09:28:12 +00:00
Tomas Votruba
755d463439 Updated Rector to commit 1f6c7a6a20
1f6c7a6a20 [Scoper] Clean up bootstrap.php: move enum definitions to dedicated file and require in BootstrapFilesIncluder (#2248)
2022-05-07 08:49:37 +00:00
Tomas Votruba
3178565814 Updated Rector to commit b54fb77073
b54fb77073 [Scoper] Remove PHPStanStubLoader->loadStubs() call on config-downgrade (#2247)
2022-05-07 07:13:23 +00:00
Tomas Votruba
24318b9a19 Updated Rector to commit 26cad67b1c
26cad67b1c [CodingStyle] Clean up getParents() call on MakeInheritedMethodVisibilitySameAsParentRector (#2246)
2022-05-07 00:18:08 +00:00
Tomas Votruba
010ad20f65 Updated Rector to commit 6d814fb385
6d814fb385 Refactor DowngradePipeToMultiCatchExceptionRector to work directly with stmts (#2245)
2022-05-06 22:55:21 +00:00
Tomas Votruba
6a2c9a5de2 Updated Rector to commit 176d6d7e2a
176d6d7e2a Refactor ChangeAndIfToEarlyReturnRector to work with stmts (#2244)
2022-05-06 22:31:31 +00:00
Tomas Votruba
7885ef1835 Updated Rector to commit 712237ec22
712237ec22 Error message improvements (#2242)
2022-05-06 07:42:42 +00:00