Commit Graph

672 Commits

Author SHA1 Message Date
Tomas Votruba
e6402f8fb3 Updated Rector to commit dd72a0e149
dd72a0e149 [TypeDeclaration] Skip nullable typed on AddArrayParamDocTypeRector (#455)
2021-07-18 11:04:49 +00:00
Tomas Votruba
3b70eb89d7 Updated Rector to commit b76df70f2f
b76df70f2f [Core] Refactor RectorError ValueObject with inject with SmartFileInfo (#453)
2021-07-18 11:02:23 +00:00
Tomas Votruba
d77b300a95 Updated Rector to commit 2fc18bd2c0
2fc18bd2c0 [Rectify] Manual twice run rector against rules directory (#448)
2021-07-18 02:11:18 +00:00
Tomas Votruba
2a4b9bb9b2 Updated Rector to commit 747e026bfd
747e026bfd fix cs
2021-07-17 17:26:06 +00:00
Tomas Votruba
7b2bf95199 Updated Rector to commit d3f814ca27
d3f814ca27 cleanup
2021-07-17 17:24:05 +00:00
Tomas Votruba
4fa3a45ce3 Updated Rector to commit bc541b6a68
bc541b6a68 lock to fixed rector-doctrine
2021-07-17 15:51:01 +00:00
Tomas Votruba
d9693d9df5 Updated Rector to commit 3c9b567b06
3c9b567b06 bump symfony package version
2021-07-17 14:51:34 +00:00
Tomas Votruba
37477527f6 Updated Rector to commit 3b768950e8
3b768950e8 [Php71] Skip AssignArrayToStringRector on empty string array dim fetch value (#450)
2021-07-17 10:28:15 +00:00
Tomas Votruba
47a15e8e89 Updated Rector to commit e3f0952ce1
e3f0952ce1 github-actions: declare timeout for job execution (#449)
2021-07-17 10:00:47 +00:00
Tomas Votruba
e3f781999f Updated Rector to commit 2a28758894
2a28758894 [Core] Fix --no-progress-bar option not applied (#447)
2021-07-17 03:01:09 +00:00
Tomas Votruba
c6c9127e1d Updated Rector to commit b5f2f3a646
b5f2f3a646 Support compact() array syntax (#440)
2021-07-16 23:26:42 +00:00
Tomas Votruba
758dd7d904 Updated Rector to commit bdfeabd7db
bdfeabd7db [PSR4] Fix PHPUnit run test error on FileWithoutNamespaceTest (#445)
2021-07-16 22:54:51 +00:00
Tomas Votruba
e71a1c12e1 Updated Rector to commit b001e388cc
b001e388cc [TypeDeclaration] Skip ReturnTypeFromStrictTypedCallRector on possible no return (#441)
2021-07-16 16:43:25 +00:00
Tomas Votruba
9d280b5757 Updated Rector to commit 40fbe10f10
40fbe10f10 [Generics] Remove GenericsPHPStormMethodAnnotationRector, now native in PHPStorm (#444)
2021-07-16 14:37:41 +00:00
Tomas Votruba
dd04e0a00c Updated Rector to commit 9c19b3a102
9c19b3a102 Fix PHPStan notice (#443)
2021-07-16 10:06:10 +00:00
Tomas Votruba
cc15e42d73 Updated Rector to commit a0f2ad9789
a0f2ad9789 [Privatization] Skip ChangeGlobalVariablesToPropertiesRector on read only global variable (#442)
2021-07-16 09:16:38 +00:00
Tomas Votruba
81db79d69e Updated Rector to commit b2c0a05d56
b2c0a05d56 [DeadCode] Skip RemoveAssignOfVoidReturnFunctionRector on used in next statement (#434)
2021-07-15 23:10:57 +00:00
Tomas Votruba
cae21ff247 Updated Rector to commit acabcfc456
acabcfc456 [TypeDeclaration] Do not add return type on parent Closure for deep closure has return type on ReturnTypeFromStrictTypedCallRector (#439)
2021-07-15 22:20:38 +00:00
Tomas Votruba
65a21970aa Updated Rector to commit f7ba2752e3
f7ba2752e3 Cleanup (#438)
2021-07-15 10:36:02 +00:00
Tomas Votruba
8071bdbada Updated Rector to commit bb16912ba4
bb16912ba4 split FileWithoutNamespaceTest (#437)
2021-07-15 04:49:04 +00:00
Tomas Votruba
dffbdf312a Updated Rector to commit 3255ad72f5
3255ad72f5 Added factory to create class with public properties (#435)
2021-07-15 04:02:25 +00:00
Tomas Votruba
816016aac7 Updated Rector to commit 294bea2d18
294bea2d18 [FileProcessor] Run untill the file is fixed completelly (#432)
2021-07-15 03:40:51 +00:00
Tomas Votruba
68e641029b Updated Rector to commit 4f2d2d12dd
4f2d2d12dd [DeadCode] Skip RemoveUnusedNonEmptyArrayBeforeForeachRector on array param has default null (#433)
2021-07-14 07:23:54 +00:00
Tomas Votruba
25ec6cc541 Updated Rector to commit b6039d71e8
b6039d71e8 Update TokenGetAllToObjectRector to use the correct method name (#431)
2021-07-13 11:12:27 +00:00
Tomas Votruba
adc6b8148a Updated Rector to commit f7eeebaa7b
f7eeebaa7b [DeadCode] Fix non-null type check on RemoveUnusedNonEmptyArrayBeforeForeachRector (#430)
2021-07-13 05:50:47 +00:00
Tomas Votruba
266714f50f Updated Rector to commit 7bb957dd10
7bb957dd10 [Php80] Handle Default value from previous switch for ChangeSwitchToMatchRector (#429)
2021-07-12 08:29:31 +00:00
Tomas Votruba
e3fb3c2b29 Updated Rector to commit f17c388cd8
f17c388cd8 [Downgrade PHP 8] Register DowngradePhpTokenRector to downgrade-php80 config set (#427)
2021-07-12 08:29:17 +00:00
Tomas Votruba
55c47b9663 Updated Rector to commit d08a87f692
d08a87f692 added promoted property test for annotation to attribute rule (#425)
2021-07-12 08:28:11 +00:00
Tomas Votruba
4a9dac4d4c Updated Rector to commit 3b0e8b6486
3b0e8b6486 [DowngradePhp80] Add DowngradePhpTokenRector (#426)
2021-07-11 22:22:32 +00:00
Tomas Votruba
f3645ab6a9 Updated Rector to commit fb9ad83c32
fb9ad83c32 [CodeQuality] Skip InlineIfToExplicitIfRector on constant definition (#422)
2021-07-11 15:30:37 +00:00
Tomas Votruba
000c27be3b Updated Rector to commit b8488b6cf2
b8488b6cf2 Fix along PHPStan workflow on rector/rector (#421)
2021-07-10 19:54:31 +00:00
Tomas Votruba
0c1004ad17 Rector 0.11.36 2021-07-10 19:27:51 +00:00
Tomas Votruba
43e201d4c9 Updated Rector to commit a8c9cf033b
a8c9cf033b fix cs
2021-07-10 19:26:26 +00:00
Tomas Votruba
e23d499e1b Updated Rector to commit c424040f97
c424040f97 bump phpstan in prefixed repo
2021-07-10 19:25:27 +00:00
Tomas Votruba
876928998c Updated Rector to commit 4a7325f838
4a7325f838 [PSR4] Skip NormalizeNamespaceByPSR4ComposerAutoloadRector on has inline HTML (#420)
2021-07-10 19:20:27 +00:00
Tomas Votruba
7f0c8aacf2 Updated Rector to commit 9edc346b8c
9edc346b8c Revert packages_tests.yaml (#419)
2021-07-10 17:39:14 +00:00
Tomas Votruba
2651b707d0 Updated Rector to commit 85ae8dc7b4
85ae8dc7b4 [Defluent] Skip ReturnFluentChainMethodCallToNormalMethodCallRector on possibly not return  (#418)
2021-07-10 17:29:24 +00:00
Tomas Votruba
75cf1ea440 Updated Rector to commit 15e12b69cd
15e12b69cd [PHP 8.0] Fix quotes in attribute multiline text (#417)
2021-07-10 13:57:04 +00:00
Tomas Votruba
cf13295052 Updated Rector to commit 41bf955f17
41bf955f17 [PHP 8.0] Include single quote contenxt (#415)
2021-07-10 12:53:06 +00:00
Tomas Votruba
877bf53643 Updated Rector to commit 82aac93545
82aac93545 [Defluent] Skip ReturnFluentChainMethodCallToNormalMethodCallRector on last call not return current object (#413)
2021-07-10 11:50:43 +00:00
Tomas Votruba
54dcc7b361 Updated Rector to commit a49c8612af
a49c8612af [Downgrade PHP 8.0] Fix DowngradeNullsafeToTernaryOperatorRector for trait (#412)
2021-07-10 00:43:27 +00:00
Tomas Votruba
2d383f94a8 Updated Rector to commit 5255783267
5255783267 skip Standard printer from widening
2021-07-09 23:57:53 +00:00
Tomas Votruba
c99d08eab4 Updated Rector to commit a9ed924cdb
a9ed924cdb [CodeQuality] Fix array_keys on object in UnusedForeachValueToArrayKeysRector (#411)
2021-07-09 23:57:04 +00:00
Tomas Votruba
ebde8d4ca2 Updated Rector to commit cf0284b075
cf0284b075 [DowngradePhp80] Handle Attribute in DowngradePropertyPromotionRector (#410)
2021-07-09 23:55:05 +00:00
Tomas Votruba
307dfa2280 Updated Rector to commit 61823152cf
61823152cf skip 2 more from docs generator
2021-07-09 23:08:58 +00:00
Tomas Votruba
e219401909 Updated Rector to commit b5d553fe94
b5d553fe94 add one more
2021-07-09 23:06:54 +00:00
Tomas Votruba
8883574049 Updated Rector to commit 6f1f047087
6f1f047087 add RenameParamValueObjectInterface to trusted downgrade widening types
2021-07-09 23:00:32 +00:00
Tomas Votruba
c041296ac0 Updated Rector to commit c7b96e07d9
c7b96e07d9 [Defluent] Skip DefluentReturnMethodCallRector on return clone object (#404)
2021-07-08 21:30:19 +00:00
Tomas Votruba
be4098b86d Updated Rector to commit 4202862935
4202862935 [CodeQuality] Allow any Expr on InlineIfToExplicitIfRector (#406)
2021-07-08 17:38:08 +00:00
Tomas Votruba
2f7019decd Updated Rector to commit c0eea3fd11
c0eea3fd11 Use PhpDocNodeTraverser to remove useless param tag value nodes (#409)
2021-07-08 17:11:02 +00:00
Tomas Votruba
34e62d7fc4 Updated Rector to commit c1d18043fe
c1d18043fe Avoid attr groups override (#408)
2021-07-08 16:33:18 +00:00
Tomas Votruba
4e9b6ff030 Updated Rector to commit 0293296974
0293296974 extract UseImportNameMatcher (#407)
2021-07-08 15:57:28 +00:00
Tomas Votruba
4f5c3f4a02 Updated Rector to commit 0c709dfac7
0c709dfac7 Refactor node removing to phpdoc node traverser (#405)
2021-07-08 15:36:45 +00:00
Tomas Votruba
c3d5e6fe7b Updated Rector to commit e066024702
e066024702 [PHP 8.0] Add annotation removal in case of nested (#403)
2021-07-08 12:36:20 +00:00
Tomas Votruba
bd26221db6 Updated Rector to commit 32c0d7d1b7
32c0d7d1b7 [DeadCode][Naming] Handle null start token on use RemoveOverriddenValuesRector & RenameVariableToMatchNewTypeRector (#398)
2021-07-08 00:16:22 +00:00
Tomas Votruba
207c620c29 Updated Rector to commit 311a96fbf8
311a96fbf8 bump php-parser to 4.11, phpstan to 0.12.91 (#402)
2021-07-08 00:06:13 +00:00
Tomas Votruba
0d1c3264a7 Updated Rector to commit 42a16eaf52
3392cdf6f7 note complementary rector in missing rector reportre 42a16eaf52 fix cs
2021-07-07 21:55:32 +00:00
Tomas Votruba
32aea2aa25 Updated Rector to commit bf37d5f0ee
bf37d5f0ee [DX] Add complemetary marker interface to warn about no registered rules (#400)
2021-07-07 21:35:23 +00:00
Tomas Votruba
bda9a60c30 Updated Rector to commit 5a863f6548
5a863f6548 [CodeQuality] Handle Nested Ternary on SwitchNegatedTernaryRector to have parenthesis (#397)
2021-07-07 14:27:09 +00:00
Tomas Votruba
85f7b6113a Updated Rector to commit d5cd2bcc35
d5cd2bcc35 [Php80] feat: str_ends_with with hardcoded string (#399)
2021-07-07 14:26:24 +00:00
Tomas Votruba
eb28f3874a Updated Rector to commit 9e231f1e13
9e231f1e13 Add test for Fix key 1 TypeNormalizer::isUnionMixedArrayNeverType() (#395)
2021-07-07 01:38:18 +00:00
Tomas Votruba
852ef1dacd Updated Rector to commit 0beb20af74
0beb20af74 Fix key 1 TypeNormalizer::isUnionMixedArrayNeverType() (#394)
2021-07-07 01:26:58 +00:00
Tomas Votruba
09e84aa431 Updated Rector to commit 20153a915b
20153a915b [TypeDeclaration] Skip mixed union return on ReturnTypeDeclarationRector (#393)
2021-07-07 00:20:29 +00:00
Tomas Votruba
41844a92f3 Updated Rector to commit 36ac7ab284
36ac7ab284 Add support for phpstan/phpstan 0.12.91 (#379)
2021-07-06 14:11:36 +00:00
Tomas Votruba
b842577f96 Rector 0.11.35 2021-07-06 14:09:11 +00:00
Tomas Votruba
7d37ed4c7b Updated Rector to commit 49a3c8d467
49a3c8d467 fix static
2021-07-06 14:05:28 +00:00
Tomas Votruba
71198dfa89 Updated Rector to commit dd75546704
dd75546704 misc
2021-07-06 13:49:58 +00:00
Tomas Votruba
8055248d54 Updated Rector to commit 246de784d7
246de784d7 [Downgrade 7.2] Allow to exclude method names
2021-07-06 13:47:20 +00:00
Tomas Votruba
92ec4e424e Updated Rector to commit 4d47429708
4d47429708 fix attribute access
2021-07-06 13:14:17 +00:00
Tomas Votruba
927967a6ab Updated Rector to commit ba9579a262
ba9579a262 [Downgrade 7.2] Make DowngradeParameterTypeWideningRector skip autowired methods (#392)
2021-07-06 13:09:53 +00:00
Tomas Votruba
8343c436d8 Updated Rector to commit ca44648a7a
ca44648a7a refletc json output formatter in fatal error on container creationg
2021-07-06 12:28:45 +00:00
Tomas Votruba
3910e49c60 Updated Rector to commit 95e6a5e628
95e6a5e628 [CodingStyle] Handle FuncGetArgsToVariadicParamRector in Method/Static Call (#389)
2021-07-06 11:41:14 +00:00
Tomas Votruba
4a9764e830 Updated Rector to commit dc78a3e7a8
dc78a3e7a8 add phpstan doc nodes
2021-07-06 11:35:14 +00:00
Tomas Votruba
3b54fa1f26 Updated Rector to commit 292e82e117
292e82e117 Fix ArrayCallableMethodMatcher to accept only strings (#391)
2021-07-06 09:46:39 +00:00
Tomas Votruba
ae2359c4a0 Updated Rector to commit eb4ccfbeec
eb4ccfbeec add node
2021-07-06 09:26:42 +00:00
Tomas Votruba
a28dc20b3d Updated Rector to commit bce3b96be1
bce3b96be1 add source locator
2021-07-06 09:06:11 +00:00
Tomas Votruba
ae0efb17e4 Updated Rector to commit d3c949f5a9
d3c949f5a9 add node visitor contract to skip
2021-07-06 08:49:56 +00:00
Tomas Votruba
12dcf0ece3 Updated Rector to commit 48e89b5bd2
48e89b5bd2 add configurable trait interface there
2021-07-06 08:37:29 +00:00
Tomas Votruba
8a32b5f563 Updated Rector to commit 150da023db
150da023db include standalone traits in downgrade too
2021-07-06 08:19:07 +00:00
Tomas Votruba
65e3d947d9 Updated Rector to commit 8f4ff2a20a
8f4ff2a20a extract skip safe type method
2021-07-05 23:37:59 +00:00
Tomas Votruba
5226bdf528 Updated Rector to commit a9130e1825
a9130e1825 skip output interface too
2021-07-05 23:34:08 +00:00
Tomas Votruba
94dae95281 Updated Rector to commit 9c133815fd
9c133815fd Added failing test for symfony validator (#387)
2021-07-05 23:27:07 +00:00
Tomas Votruba
712ba426cb Updated Rector to commit c002efe1d9
c002efe1d9 skip self type
2021-07-05 23:20:51 +00:00
Tomas Votruba
b7686ac9ad Updated Rector to commit 97ca45aade
97ca45aade skip private method
2021-07-05 23:06:30 +00:00
Tomas Votruba
3b8c600786 Updated Rector to commit e93a102b99
e93a102b99 widen downgrade types
2021-07-05 22:53:28 +00:00
Tomas Votruba
96112cb1f0 Updated Rector to commit 2da49992cc
2da49992cc [Downgrade] [PHP 7.2] Make DowngradeParameterTypeWideningRector always downgrade to phpdoc type (#390)
2021-07-05 22:50:18 +00:00
Tomas Votruba
551faef57f Updated Rector to commit 2c62019c50
2c62019c50 add resource type
2021-07-05 19:53:26 +00:00
Tomas Votruba
b14feb1ca6 Updated Rector to commit b07a9cc1ba
708bf7e879 add container bag patching b07a9cc1ba add symfony/dependency-injectoin wiht completed types
2021-07-05 19:39:24 +00:00
Tomas Votruba
a0f98f25c3 Updated Rector to commit ced0b7e5dd
ced0b7e5dd patch get() string
2021-07-05 15:30:38 +00:00
Tomas Votruba
bb3e40f727 Updated Rector to commit a83dd76994
a83dd76994 revert vendor/rector order
2021-07-05 15:20:27 +00:00
Tomas Votruba
121ea7f23d Updated Rector to commit 48784457eb
48784457eb Fix doctrine inflector bug downgrade (#388)
2021-07-05 15:06:41 +00:00
Tomas Votruba
c7d260ee84 Updated Rector to commit bec370b9f9
bec370b9f9 downgrade vendor/rector first
2021-07-05 12:07:20 +00:00
Tomas Votruba
12b6179feb Updated Rector to commit 0dbc47979e
0dbc47979e add patch for get(string )
2021-07-05 11:08:27 +00:00
Tomas Votruba
95fe045d30 Updated Rector to commit 0a616c462d
0a616c462d Remove unused ClassLikeParentResolver (#385)
2021-07-05 10:54:22 +00:00
Tomas Votruba
31b96d8276 Updated Rector to commit 5f43d6b712
5f43d6b712 Make RemoveUnusedPrivateClassConstantRector use of static reflection (#384)
2021-07-05 09:49:56 +00:00
Tomas Votruba
7d9a7d6d64 Updated Rector to commit 90b213c519
90b213c519 fix cs
2021-07-05 09:07:12 +00:00
Tomas Votruba
b4f950fd1c Updated Rector to commit fa7fdf8d94
fa7fdf8d94 [experiment] add symfony confirm patch
2021-07-05 09:02:52 +00:00
Tomas Votruba
c7db350977 Updated Rector to commit c0d6760eab
c0d6760eab [CodeQuality] Handle CallableThisArrayToAnonymousFunctionRector on static call (#382)
2021-07-05 08:51:49 +00:00
Tomas Votruba
a79e6f56df Updated Rector to commit ff1ad31d6a
ff1ad31d6a [PHP 7.2] Refactor DowngradeParameterTypeWideningRector to class method (#380)
2021-07-05 07:47:59 +00:00
Tomas Votruba
2d78685dea Updated Rector to commit d92de44cc5
d92de44cc5 use symfony/console with fixed covariant types (#378)
2021-07-04 22:54:28 +00:00
Tomas Votruba
bb3e86de23 Updated Rector to commit 904a5a7a1c
904a5a7a1c Make use of ClassMethodReturnVendorLockResolver (#377)
2021-07-04 21:21:47 +00:00
Tomas Votruba
cbf7ddb1e7 Rector 0.11.34 2021-07-04 19:18:33 +00:00
Tomas Votruba
1f8149a055 Updated Rector to commit a9b1bbba88
a9b1bbba88 [PHP 8.0] Make Downgrade widening union depend on ClassMethod, the narrow scope (#375)
2021-07-04 18:27:51 +00:00
Tomas Votruba
96365f9a83 Updated Rector to commit ae71516150
ae71516150 cleanup unused fixtures (#374)
2021-07-04 13:26:13 +00:00
Tomas Votruba
4333c09758 Updated Rector to commit dfbbb02dec
dfbbb02dec [PHP 8.0] Fix DowngradeNamedArgumentRector named arguments (#373)
2021-07-04 13:13:54 +00:00
Tomas Votruba
58f447b563 Updated Rector to commit 79fc6b11e7
79fc6b11e7 Remove upgrade dir
2021-07-03 16:49:45 +00:00
Tomas Votruba
9ec46d9cb6 Updated Rector to commit a7d7f33504
a7d7f33504 Remove upgrade dir
2021-07-03 16:49:26 +00:00
Tomas Votruba
ec097d0fda Updated Rector to commit 9907e913af
9907e913af bump to fixed ECS
2021-07-03 10:57:19 +00:00
Tomas Votruba
1b040b5d61 Rector 0.11.33 2021-07-02 23:27:34 +00:00
Tomas Votruba
915982a19d Updated Rector to commit 96dbc69562
96dbc69562 bump deps
2021-07-02 23:26:23 +00:00
Tomas Votruba
821b8bd49c Updated Rector to commit 7071792ded
7071792ded [docs] add typo3 badges
2021-07-02 22:23:21 +00:00
Tomas Votruba
8f60f855a1 Updated Rector to commit 4353830f78
4353830f78 use typo3 rector stable
2021-07-02 21:42:58 +00:00
Tomas Votruba
82f821474a Updated Rector to commit e06a3c5213
e06a3c5213 [Visibility] Remove ChangePropertyVisibilityRector, not used and rather refactoring scope (#366)
2021-07-02 21:40:07 +00:00
Tomas Votruba
3d37eb7f17 Updated Rector to commit ba2888f667
ba2888f667 Extract ControllerClassMethodAnalyzer (#365)
2021-07-02 21:24:16 +00:00
Tomas Votruba
e3c7d5c703 Updated Rector to commit 2a0cae5507
2a0cae5507 Make progress bar reflect number of processed files + process file by file in series (#362)
2021-07-02 20:55:14 +00:00
Tomas Votruba
1b48b9cb41 Updated Rector to commit 9b92c6ee0c
9b92c6ee0c [AnnotationToAttributeRector] Skip unwrap symfony nested validators (#361)
2021-07-02 12:11:47 +00:00
Tomas Votruba
5f58406472 Updated Rector to commit ecfaf2147c
ecfaf2147c [CodingStyle] Handle Change Exception variable usage after try catch on CatchExceptionNameMatchingTypeRector (#360)
2021-07-02 10:39:22 +00:00
Tomas Votruba
3172746a80 Updated Rector to commit 171417d720
171417d720 Fix typo (#363)
2021-07-02 10:36:52 +00:00
Tomas Votruba
79df1ed831 Updated Rector to commit 6238705e93
6238705e93 mics
2021-07-02 00:08:09 +00:00
Tomas Votruba
08dc46e6d9 Updated Rector to commit 1f17cbafe7
1f17cbafe7 use traversing directly
2021-07-01 23:51:20 +00:00
Tomas Votruba
834b7561a3 Updated Rector to commit 26d09da027
26d09da027 use traverser to remove node (#358)
2021-07-01 23:23:13 +00:00
Tomas Votruba
6cdf569f7e Updated Rector to commit c280ef9fc1
c280ef9fc1 [CodingStyle] Default empty array [] on UnSpreadOperatorRector (#359)
2021-07-01 22:11:47 +00:00
Tomas Votruba
7f55328e3b Updated Rector to commit 3966aa0770
3966aa0770 Improve PhpDocNodeTraverser (#356)
2021-07-01 16:34:59 +00:00
Tomas Votruba
e1c9363b78 Updated Rector to commit 241b36d9d9
241b36d9d9 add bridge between node traveser and foreach (#355)
2021-07-01 16:12:49 +00:00
Tomas Votruba
1cea5467e7 Updated Rector to commit f2822532dd
f2822532dd Cleanup (#354)
2021-07-01 15:49:49 +00:00
Tomas Votruba
95050e7bf5 Updated Rector to commit 7c88f7c814
7c88f7c814 Re-use PhpDocNodeByTypeFinder (#353)
2021-07-01 14:46:27 +00:00
Tomas Votruba
fd5b91388f Updated Rector to commit 19934737d8
19934737d8 Try external PhpDocNodeByTypeFinder (#352)
2021-07-01 14:10:40 +00:00
Tomas Votruba
e4531b05de Updated Rector to commit be037722bb
be037722bb Allow DoctrineTagValueNode values to be processed by traverser (#350)
2021-07-01 13:35:57 +00:00
Tomas Votruba
b1fd7a84e4 Updated Rector to commit 3508fc545b
3508fc545b Keep original Doctrine annotation class name (#349)
2021-07-01 13:22:55 +00:00
Tomas Votruba
05aceb8871 Updated Rector to commit 37d04ea8ea
37d04ea8ea Making use of PhpDocNodeTraverser (#348)
2021-07-01 13:06:29 +00:00
Tomas Votruba
5585a0cc88 Updated Rector to commit 2bc0f4c096
2bc0f4c096 [DeadCode] Skip nullable from param for RemoveUnusedNonEmptyArrayBeforeForeachRector (#347)
2021-07-01 12:49:39 +00:00
Tomas Votruba
1666838b21 Updated Rector to commit 9575dd2231
9575dd2231 [CodingStyle] Skip indirect version number on VersionCompareFuncCallToConstantRector (#344)
2021-07-01 08:50:15 +00:00
Tomas Votruba
7f424087aa Updated Rector to commit 735327d5cb
735327d5cb Improve suffix match (#343)
2021-06-30 23:33:47 +00:00
Tomas Votruba
e6b1e7b781 Updated Rector to commit c277e7d35c
c277e7d35c cleanup
2021-06-30 22:39:15 +00:00
Tomas Votruba
cbc812647c Rector 0.11.32 2021-06-30 22:19:56 +00:00
Tomas Votruba
13bedd1bf5 Updated Rector to commit 8733e7335f
8733e7335f [PHP 8.0] Add support for nested annotation to attributes (#342)
2021-06-30 21:52:31 +00:00
Tomas Votruba
1ca2c218ed Rector 0.11.31 2021-06-30 16:11:38 +00:00
Tomas Votruba
ecda10a711 Updated Rector to commit 4c4049217a
4c4049217a skip class const fetch in object type (#341)
2021-06-30 15:42:45 +00:00
Tomas Votruba
491439eed7 Rector 0.11.30 2021-06-30 14:48:01 +00:00
Tomas Votruba
dee681afb9 Updated Rector to commit 9b3b306291
9b3b306291 Support negative comparison on str_compare in StrEndsWith rule (#340)
2021-06-30 14:33:07 +00:00
Tomas Votruba
babf46a0bb Updated Rector to commit 53697af64d
53697af64d fix cs
2021-06-30 14:17:15 +00:00
Tomas Votruba
1a45777b9f Updated Rector to commit 1d1c723c26
1d1c723c26 fix multiple variants, see https://github.com/symplify/symplify/pull/3375
2021-06-30 14:14:09 +00:00
Tomas Votruba
7d1396a209 Updated Rector to commit 8926f8e91d
8926f8e91d ClassPropertyAssignToConstructorPromotionRector must skip callable pr… (#338)
2021-06-30 13:08:35 +00:00
Tomas Votruba
ae344ba87f Updated Rector to commit be4fba42de
be4fba42de added generics to  (#304)
2021-06-30 11:36:37 +00:00
Tomas Votruba
c3f5f655ef Updated Rector to commit 326a8d23e9
326a8d23e9 Support negative equality on StrEndsWith rule (#339)
2021-06-30 11:27:30 +00:00
Tomas Votruba
e881d82793 Rector 0.11.29 2021-06-30 01:02:39 +00:00
Tomas Votruba
6949a054ce Updated Rector to commit 1d1dc73fcb
1d1dc73fcb [PHP 8.0] Fix attribute multi-line (#337)
2021-06-30 01:01:00 +00:00
Tomas Votruba
97d4b7c4e1 Updated Rector to commit 748a43661e
748a43661e [PHP 8.0] Add arguments names for attributes (#336)
2021-06-29 23:25:02 +00:00
Tomas Votruba
4d72755fae Updated Rector to commit 8cdd122c87
8cdd122c87 [Reflection] Avoid error Call to a member function getType() on null on ReflectionResolver (#334)
2021-06-29 20:43:00 +00:00
Tomas Votruba
c9d6b2a0e5 Updated Rector to commit 9bd39bd18c
9bd39bd18c [NodeNestingScope] Remove Switch_ from LOOP_NODES constant value in ContextAnalyzer (#333)
2021-06-29 18:01:07 +00:00
Tomas Votruba
3cd8f75855 Updated Rector to commit 1d84e60878
1d84e60878 [CodingStyle] Allow Closure and Inner function on FuncGetArgsToVariadicParamRector (#332)
2021-06-29 17:09:54 +00:00
Tomas Votruba
636eeecaf4 Updated Rector to commit dfd048342b
dfd048342b [PHP 8.0] Run union types for filled param type too (#331)
2021-06-29 14:24:45 +00:00
Tomas Votruba
a7f25f1444 Updated Rector to commit 2a394c750f
2a394c750f Reflection cleanup + inline union types for couple of param docs (#330)
2021-06-29 13:37:16 +00:00
Tomas Votruba
5080937c23 Updated Rector to commit 75c77576a5
75c77576a5 ReturnNeverTypeRector: use  for php7.x support (#296)
2021-06-29 12:35:49 +00:00
Tomas Votruba
a9f2b17421 Updated Rector to commit 8f521f5500
8f521f5500 [Php74] Set Nullable for TypedPropertyRector not filled by current class method (#295)
2021-06-29 12:21:11 +00:00
Tomas Votruba
ed4f2ecd4c Updated Rector to commit e666df703e
e666df703e More Reflection cleanup (#328)
2021-06-29 00:31:58 +00:00
Tomas Votruba
20323fa50b Updated Rector to commit 5282793145
5282793145 Add enums (#326)
2021-06-28 21:18:55 +00:00
Tomas Votruba
d8c2a5ac52 Updated Rector to commit 62bbaa56d2
62bbaa56d2 Cleanup stuff (#324)
2021-06-28 17:10:14 +00:00
Tomas Votruba
3d7a69bec2 Updated Rector to commit 5e4b1596ed
5e4b1596ed cleanup NodeRepository (#323)
2021-06-28 14:19:42 +00:00
Tomas Votruba
0d339c82a1 Updated Rector to commit ac18a8c7a6
ac18a8c7a6 [Core] Allow StaticPropertyFetch on ReflectionResolver::resolvePropertyReflectionFromPropertyFetch (#322)
2021-06-28 13:24:09 +00:00
Tomas Votruba
9266b0f47f Updated Rector to commit 0979d519a8
0979d519a8 fix typo (#321)
2021-06-28 13:23:29 +00:00
Tomas Votruba
acb5c247f2 Updated Rector to commit d8a7f6c3af
d8a7f6c3af Cleanup NodeRepository (#315)
2021-06-28 10:46:06 +00:00
Tomas Votruba
6f309b7ae4 Rector 0.11.28 2021-06-28 09:49:38 +00:00
Tomas Votruba
57002777fc Updated Rector to commit 1a87a3dfcc
1a87a3dfcc [TypeDeclaration] Prevent checking class like has external fully qualifieds when class like is null (#319)
2021-06-28 09:39:23 +00:00
Tomas Votruba
69d06bb0b6 Updated Rector to commit dc056580e0
dc056580e0 Misc (#318)
2021-06-28 00:00:40 +00:00
Tomas Votruba
91f35a766a Updated Rector to commit 947da2c680
947da2c680 add property reflection resolver (#317)
2021-06-27 23:35:53 +00:00
Tomas Votruba
1ce0e61d7a Updated Rector to commit f4ff000d45
f4ff000d45 remove extra collectable (#316)
2021-06-27 23:17:36 +00:00
Tomas Votruba
3df3778956 Updated Rector to commit 4b0dd17a24
4b0dd17a24 Fix accidental class rename on docblock imports (#314)
2021-06-27 20:03:27 +00:00
Tomas Votruba
791eb8723f Updated Rector to commit a435716072
a435716072 Unite any extra reflection parsing to single ReflectionResolver service (#313)
2021-06-27 17:35:23 +00:00
Tomas Votruba
c70adaf817 Updated Rector to commit 9d4c4ff6ed
9d4c4ff6ed Fix method annotation doc support for variadics (#312)
2021-06-27 16:49:40 +00:00
Tomas Votruba
ea7ffeccee Updated Rector to commit 5bf70411cd
5bf70411cd Enable auto-merge on weekly pull request (#309)
2021-06-27 16:44:01 +00:00
Tomas Votruba
82fbf12196 Updated Rector to commit e3727aad81
e3727aad81 [DeadCode] Make private property removal dependent on local property fetches (#311)
2021-06-27 16:22:20 +00:00
Tomas Votruba
1f5182eaa4 Rector 0.11.27 2021-06-27 15:34:09 +00:00
Tomas Votruba
28b26d03cd Updated Rector to commit 46843ec495
46843ec495 check for native method
2021-06-27 15:32:58 +00:00
Tomas Votruba
d6241ce566 Rector 0.11.26 2021-06-27 14:09:42 +00:00
Tomas Votruba
ba438584ff Updated Rector to commit 4f4dce928e
4f4dce928e Improve reflection for Variadic analyzer (#310)
2021-06-27 14:06:45 +00:00
Tomas Votruba
7d23c365ed Updated Rector to commit 6554750698
6554750698 [automated] Apply Coding Standard (#308)
2021-06-27 12:13:59 +00:00
Tomas Votruba
5a0a45ded6 Updated Rector to commit 20ad16b1e6
20ad16b1e6 [automated] Re-Generate Nodes/Rectors Documentation (#307)
2021-06-27 12:12:15 +00:00
Tomas Votruba
56abffd774 Rector 0.11.25 2021-06-26 21:55:36 +00:00
Tomas Votruba
a094563744 Updated Rector to commit 4da26f6680
4da26f6680 fix ReturnTypeFromStrictTypedCallRector
2021-06-26 21:53:44 +00:00
Tomas Votruba
dcf0e40a42 Updated Rector to commit 7fde3652ed
7fde3652ed added  param to  (#306)
2021-06-26 20:24:36 +00:00
Tomas Votruba
78ccb28752 Updated Rector to commit 0b717e1df4
0b717e1df4 cleanup OptionalParametersAfterRequiredRector
2021-06-26 18:46:16 +00:00
Tomas Votruba
6c8071d20a Updated Rector to commit d808426e71
d808426e71 [Naming] Add CLASS_MAP_FILES option + fix missing about-to-be-renamed renamed classes with custom SourceLocator (#303)
2021-06-26 18:33:28 +00:00
Tomas Votruba
148ac4692c Updated Rector to commit 564cc84d93
564cc84d93 fix
2021-06-26 14:59:02 +00:00
Tomas Votruba
7a3567c43a Updated Rector to commit 65eeb1cd03
65eeb1cd03 revet config
2021-06-26 14:55:25 +00:00
Tomas Votruba
4d8ab9294a Updated Rector to commit 99abcba050
99abcba050 ping ci (#302)
2021-06-26 14:52:05 +00:00
Tomas Votruba
b7826f83f4 Rector 0.11.24 2021-06-26 12:35:23 +00:00
Tomas Votruba
9a8c076100 Updated Rector to commit 6a3f274f24
6a3f274f24 bump deps (#301)
2021-06-26 12:33:28 +00:00
Tomas Votruba
2037399677 Updated Rector to commit 04981badaa
04981badaa Rename ReflectionAstResolver to simple AstResolver (#300)
2021-06-26 11:50:38 +00:00
Tomas Votruba
bd2ccc1d93 Updated Rector to commit a454c7ae38
a454c7ae38 Fix missing class report (#294)
2021-06-25 17:38:41 +00:00
Tomas Votruba
ee74a781ed Updated Rector to commit b6ddc63137
b6ddc63137 [docs] add Doctrine badges
2021-06-25 17:15:29 +00:00
Tomas Votruba
8ac9a8f8ba Updated Rector to commit 68c2bcda1b
68c2bcda1b [composer] remove dependency on nette-to-symfony, very niche package that would require much work to be used in public (#290)
2021-06-25 17:12:46 +00:00
Tomas Votruba
a254a9daef Updated Rector to commit 417d89867d
417d89867d [DeadCode] Add RemoveUnusedPromotedPropertyRector (#288)
2021-06-25 15:50:56 +00:00
Tomas Votruba
56f42aa88e Updated Rector to commit edd78eb310
edd78eb310 fix cs
2021-06-25 15:48:58 +00:00
Tomas Votruba
348ed1d016 Updated Rector to commit c0758c29a9
c0758c29a9 [DeadCode] Add RemovePhpVersionIdCheckRector (#222)
2021-06-25 15:32:54 +00:00
Tomas Votruba
16b47c2532 Updated Rector to commit 46e563eb57
46e563eb57 PropertyTypeDeclarationRector: support  and  prefixed  (#293)
2021-06-25 15:32:16 +00:00
Tomas Votruba
aabefcfa4c Updated Rector to commit d7013d080b
d7013d080b [EarlyReturn] Handle If inside closure for ChangeAndIfToEarlyReturnRector (#289)
2021-06-25 12:32:16 +00:00
Tomas Votruba
dba6b87202 Updated Rector to commit 6162f70e75
6162f70e75 [DeadCode] Keep Assign expr on RemoveUnusedVariableAssignRector for impure function (#282)
2021-06-25 09:05:38 +00:00
Tomas Votruba
c99e19b804 Updated Rector to commit 4f619aae72
4f619aae72 NodeRepository usage cleanup (#287)
2021-06-25 06:35:08 +00:00
Tomas Votruba
b7a438ec97 Rector 0.11.23 2021-06-24 13:22:27 +00:00