Commit Graph

4664 Commits

Author SHA1 Message Date
Tomas Votruba
a23095a462 Updated Rector to commit 8e2908c2a1
8e2908c2a1 Cleanup (#1054)
2021-10-24 20:43:49 +00:00
Tomas Votruba
549f59ce92 Updated Rector to commit 06ea31c2de
06ea31c2de Fix Rector apply on Source locators (#1053)
2021-10-24 20:38:54 +00:00
Tomas Votruba
cef09b47a1 Updated Rector to commit a5048195a7
a5048195a7 [Php73] Skip JsonThrowOnErrorRector on passed exact value (#1051)
2021-10-24 13:05:59 +00:00
Tomas Votruba
f4b82f4b45 Updated Rector to commit 7f73cf0172
7f73cf0172 [automated] Re-Generate Nodes/Rectors Documentation (#1050)
2021-10-24 00:34:27 +00:00
Tomas Votruba
070eedc010 Updated Rector to commit fd5edffa38
fd5edffa38 [TypeDeclaration] Add TypedPropertyFromStrictGetterMethodReturnTypeRector (#1048)
2021-10-23 21:09:26 +00:00
Tomas Votruba
c5c32118fc Updated Rector to commit 6f7805560b
6f7805560b [NodeTypeResolver] Handle hang on @template-extends in dependent Files (#1044)
2021-10-23 08:35:53 +00:00
Tomas Votruba
f24d3a51b1 Updated Rector to commit f9fdebfe58
f9fdebfe58 [DowngradePhp74] Handle nested uses on ArrowFunctionToAnonymousFunctionRector (#1040)
2021-10-23 01:58:01 +00:00
Tomas Votruba
9dc98e9112 Updated Rector to commit 39edeb3f2d
39edeb3f2d [Php74] Do not remove non-empty-string docblock on TypedPropertyRector (#1042)
2021-10-22 13:24:11 +00:00
Tomas Votruba
486b0da059 Updated Rector to commit 9eac8d451a
9eac8d451a remove unused method (#1043)
2021-10-22 12:16:14 +00:00
Tomas Votruba
20dc105d45 Updated Rector to commit 06994b8ff3
06994b8ff3 [Core] Avoid hang on file has template-extends (#1034)
2021-10-22 03:28:32 +00:00
Tomas Votruba
f3927bad9a Updated Rector to commit d916d486bc
d916d486bc [DowngradePhp54] Add DowngradeStaticClosureRector (#1037)
2021-10-21 18:43:06 +00:00
Tomas Votruba
f3f7bbc63b Updated Rector to commit 1f2a4e9eac
1f2a4e9eac Check for  instance in  (#1033)
2021-10-21 07:30:29 +00:00
Tomas Votruba
1099eab862 Updated Rector to commit 36fc840488
36fc840488 Trigger notification (#1027)
2021-10-20 01:31:18 +00:00
Tomas Votruba
46767be627 Updated Rector to commit 0b8fcdaa57
0b8fcdaa57 [BetterPhpDocParser] Handle illegal offset type of ConstExprIntegerNode on ArrayParser (#1024)
2021-10-19 09:52:41 +00:00
Tomas Votruba
4a269dfc0b Updated Rector to commit d51b8494eb
d51b8494eb [DX] Add DowngradeLevelSetList (#1023)
2021-10-19 09:00:23 +00:00
Tomas Votruba
15381bde66 Updated Rector to commit 398744232e
398744232e [Caching] Improve FileCacheStorage to avoid overlap remove directory (#1022)
2021-10-18 17:44:46 +00:00
Tomas Votruba
a91fc19e43 Updated Rector to commit 7d4d120e2d
7d4d120e2d [Cache] Avoid to remove non empty cache directories on cache clearing (#1007)
2021-10-18 16:50:10 +00:00
Tomas Votruba
cdbc308200 Updated Rector to commit 33e5cab8d5
33e5cab8d5 [DowngradePhp80] Handle Throw Exception on DowngradeMatchToSwitchRector (#1019)
2021-10-18 08:52:15 +00:00
Tomas Votruba
427b9ce357 Updated Rector to commit 8bb31f2556
8bb31f2556 [automated] Re-Generate Nodes/Rectors Documentation (#1012)
2021-10-17 00:30:43 +00:00
Tomas Votruba
210698f252 Updated Rector to commit ed5be72a66
ed5be72a66 [release] fix downgrade of phpstan types (#1009)
2021-10-16 10:48:33 +00:00
Tomas Votruba
6409895073 Updated Rector to commit caba58dfd0
caba58dfd0 [PHPStan] Clean up PHPStan ignore error (#1008)
2021-10-16 09:57:47 +00:00
Tomas Votruba
67d83c7b32 Updated Rector to commit 4e377b26af
4e377b26af Add option of case-insensitive ReplaceStringWithClassConstantRector (#1004)
2021-10-15 16:34:45 +00:00
Tomas Votruba
00c849bad5 Updated Rector to commit 03b4e28bdd
03b4e28bdd Trigger notification (#1001)
2021-10-14 15:21:48 +00:00
Tomas Votruba
fadc7bb98d Updated Rector to commit bc39e1c3e8
bc39e1c3e8 [CodeQuality] Skip getter in assign var and on this var type on ExplicitMethodCallOverMagicGetSetRector (#999)
2021-10-14 14:35:01 +00:00
Tomas Votruba
84e32824ab Updated Rector to commit 6cfa8fa01b
6cfa8fa01b [Cache] Avoid to remove non empty cache directories on cache clearing (#989)
2021-10-13 19:47:20 +00:00
Tomas Votruba
432b09c234 Updated Rector to commit 5975e13884
5975e13884 [Php80] Fix PHPStan on AnnotationToAttributeRector (#997)
2021-10-13 19:26:54 +00:00
Tomas Votruba
aa1201976c Updated Rector to commit f5c1f19b54
f5c1f19b54 [Php80] Add handle UniqueConstraint and Index on AnnotationToAttributeRector inside Entity (#994)
2021-10-13 12:11:53 +00:00
Tomas Votruba
58e0571fcb Updated Rector to commit ba130afc93
ba130afc93 bump to fixed rules-generator
2021-10-13 11:51:00 +00:00
Tomas Votruba
785101045c Updated Rector to commit 78c6226bce
78c6226bce Allow resolving names on dynamic property fetch (#996)
2021-10-13 11:50:37 +00:00
Tomas Votruba
100023d71a Updated Rector to commit 26ac103189
26ac103189 [Php80] Copy array generic doc on ClassPropertyAssignToConstructorPromotionRector (#988)
2021-10-12 08:14:21 +00:00
Tomas Votruba
3163961fe7 Updated Rector to commit 90c1d09a33
90c1d09a33 [PHPStanStaticTypeMapper] Add UnionTypeAnalyzer::isNullable() (#987)
2021-10-12 01:37:01 +00:00
Tomas Votruba
c6a9b6bdf0 Updated Rector to commit 65c3a44c63
65c3a44c63 [TypedPropertyRector] Handle nullable collection on TypedPropertyRector (#986)
2021-10-11 06:45:23 +00:00
Tomas Votruba
9056c6c3a5 Updated Rector to commit 3c0cb22a58
3c0cb22a58 [automated] Re-Generate Nodes/Rectors Documentation (#984)
2021-10-10 00:30:12 +00:00
Tomas Votruba
8fc6af697d Updated Rector to commit 9a6afde216
9a6afde216 [DX] Add LevelSetList (#971)
2021-10-09 16:11:30 +00:00
Tomas Votruba
ed02a91232 Updated Rector to commit a72cd32875
a72cd32875 [FileFormatter] Allow Yaml custom tags on YamlFileFormatter (#980)
2021-10-09 13:40:50 +00:00
Tomas Votruba
45d3e63a94 Updated Rector to commit ff32aed8c3
ff32aed8c3 fix: Attempt to assign property type on null error (#979)
2021-10-09 05:23:01 +00:00
Tomas Votruba
9a92488e2c Updated Rector to commit 82b689d713
82b689d713 add trigger warning about deprecated resolve() and getStaticType() methods in NodeTypeResolver + update all packages (#976)
2021-10-07 19:40:12 +00:00
Tomas Votruba
6154cc59ea Updated Rector to commit f2afe8ed6e
f2afe8ed6e [DX] Move from deprecated getStaticType() to getType() (#974)
2021-10-07 18:52:22 +00:00
Tomas Votruba
61389a9b2c Updated Rector to commit f6f7431ce7
f6f7431ce7 [DX] Merge getObjectType() and getStaticType() methods to single getType() (#973)
2021-10-07 17:46:41 +00:00
Tomas Votruba
920c722cfe Updated Rector to commit f175e5afdf
f175e5afdf [Php74] Skip type hint DummyTraitClass on TypedPropertyRector (#965)
2021-10-07 08:39:10 +00:00
Tomas Votruba
dec07bda16 Updated Rector to commit 97a8d8ee10
97a8d8ee10 [TypeDeclaration] Handle param description in next line on ParamTypeDeclarationRector (#969)
2021-10-07 08:00:22 +00:00
Tomas Votruba
dd90137169 Updated Rector to commit f175e5afdf
f175e5afdf [Php74] Skip type hint DummyTraitClass on TypedPropertyRector (#965)
2021-10-07 07:59:43 +00:00
Tomas Votruba
34fc36ed68 Updated Rector to commit 683077ed2a
683077ed2a [Downgrade PHP 7.2] Downgrade object type also in Closure (#961)
2021-10-06 09:54:20 +00:00
Tomas Votruba
f6dfd556b7 Updated Rector to commit 687f9e9de9
687f9e9de9 Clean up PHPStan ignore error messages (#954)
2021-10-05 05:07:42 +00:00
Tomas Votruba
f9c50ad2b9 Updated Rector to commit 1f63ed3e55
1f63ed3e55 Reworking trait scope run (#952)
2021-10-04 21:24:17 +00:00
Tomas Votruba
9d6051f97f Updated Rector to commit 6bfe013300
6bfe013300 [NodeCollector] Add ArrayCallableDynamicMethod value object (#951)
2021-10-03 08:23:40 +00:00
Tomas Votruba
e5110e1fff Updated Rector to commit c7841107c9
c7841107c9 Re-Trigger build scopped as prev quoted commit message cause build failure and there is symplify update (#950)
2021-10-02 22:25:11 +00:00
Tomas Votruba
28c6a546ff Updated Rector to commit 20b5c94b22
20b5c94b22 [NodeCollector] Ensure pass Scope instance to 2nd arg on ClassReflection->getMethod() in ArrayCallableMethodMatcher (#947)
2021-10-02 10:08:44 +00:00
Tomas Votruba
da81700dfe Updated Rector to commit 0b84824190
0b84824190 [Renaming] Skip rename Name when parent is Namespace_ equal to target name on RenameClassRector (#942)
2021-10-02 09:50:46 +00:00
Tomas Votruba
2baccf6956 Updated Rector to commit c1a63ed2d0
c1a63ed2d0 [Php74] Handle parent already typed on TypedPropertyRector (#945)
2021-10-01 23:13:11 +00:00
Tomas Votruba
9c7734ab41 Updated Rector to commit 363e7910e7
363e7910e7 Bump EndBug/add-and-commit from 7.2.1 to 7.4.0 (#943)
2021-10-01 11:43:12 +00:00
Tomas Votruba
70acf467c7 Updated Rector to commit 22b9e19dc2
22b9e19dc2 [Php74] Handle TypedPropertyRector parent and child in the same file name (#938)
2021-09-30 16:50:09 +00:00
Tomas Votruba
70e1e89b77 Updated Rector to commit e5859d6949
e5859d6949 [Php74] Handle nullable alias on TypedPropertyRector (#932)
2021-09-30 13:21:43 +00:00
Tomas Votruba
75becd3a6c Updated Rector to commit 01b39f585b
01b39f585b Remove moved phsptan rules (#933)
2021-09-30 12:35:12 +00:00
Tomas Votruba
2b84fc646b Updated Rector to commit 7dedffe812
7dedffe812 remove PlatformAgnosticAssertions - breaks compatiblity with PHPUnit (#930)
2021-09-28 16:31:43 +00:00
Tomas Votruba
82e31fbd26 Updated Rector to commit d21dcc3ce3
d21dcc3ce3 [Renaming] Fully Qualified import doc same name renaming class error (#926)
2021-09-28 05:01:55 +00:00
Tomas Votruba
73d7212e05 Updated Rector to commit 17cfa9f376
17cfa9f376 Update to nikic/php-parser 4.13.0 (#904)
2021-09-27 15:43:15 +00:00
Tomas Votruba
9543fa704d Updated Rector to commit 59aded96ec
59aded96ec bump symplify version
2021-09-27 12:26:58 +00:00
Tomas Votruba
4e6d051524 Updated Rector to commit f2132237d6
f2132237d6 [automated] Apply Coding Standard (#922)
2021-09-26 00:28:25 +00:00
Tomas Votruba
038e6331b2 Updated Rector to commit ddd8e85902
ddd8e85902 [DeadCode] Only remove private property from current class on RemoveUnusedPrivatePropertyRector (#917)
2021-09-24 10:23:02 +00:00
Tomas Votruba
70b25e6efb Updated Rector to commit 57a6d7af31
57a6d7af31 [NodeTypeResolver] Skip Auto Import from doc on sub namespace class exists when already in use statement by other namespace (#913)
2021-09-23 08:01:36 +00:00
Tomas Votruba
8ae17f0c0a Updated Rector to commit 5ff4058f93
5ff4058f93 [NodeTypeResolver] Skip Auto import from doc in used namespace on NameImportingPhpDocNodeVisitor (#912)
2021-09-22 17:53:44 +00:00
Tomas Votruba
1c439c5835 Updated Rector to commit 6ee381754b
6ee381754b [DeadCode] Skip Array Callable dynamic method on RemoveUnusedPrivateMethodRector (#909)
2021-09-21 20:03:28 +00:00
Tomas Votruba
45b3a18479 Updated Rector to commit e09cf113d7
e09cf113d7 [DX] Add PhpUpgradeDowngradeRegisteredInSetRule PHPStan rule (#905)
2021-09-21 11:16:07 +00:00
Tomas Votruba
5933e0d5f0 Updated Rector to commit e78fadd24d
e78fadd24d [Php74] Handle conflict with alias on TypedPropertyRector (#899)
2021-09-20 11:23:02 +00:00
Tomas Votruba
495580024a Updated Rector to commit a19687ce9d
a19687ce9d [automated] Re-Generate preload.php (#901)
2021-09-19 00:28:26 +00:00
Tomas Votruba
883dd9f677 Updated Rector to commit 1e3e5dff59
1e3e5dff59 [CodingStyle] Handle too detailed pair class string array on VarConstantCommentRector (#897)
2021-09-17 19:38:24 +00:00
Tomas Votruba
4728cc7a69 Updated Rector to commit 0315a82d57
0315a82d57 Add new option for auto importing names (#764)
2021-09-16 21:56:43 +00:00
Tomas Votruba
1257466608 Updated Rector to commit 00e0f49b9d
00e0f49b9d [Php80] Skip Ternary indirect usage with null else on NullsafeOperatorRector (#891)
2021-09-16 10:24:17 +00:00
Tomas Votruba
2302d08be2 Updated Rector to commit e834a76285
e834a76285 [DeadCode] Skip static property fetch with public modifier on RemoveUnusedPrivatePropertyRector (#883)
2021-09-15 14:02:00 +00:00
Tomas Votruba
e6b6f5b661 Updated Rector to commit a2a378e016
a2a378e016 [EarlyReturn] Refactor ChangeAndIfToEarlyReturnRector: return array of Nodes (#885)
2021-09-15 12:50:35 +00:00
Tomas Votruba
cdd58e83f2 Updated Rector to commit 6f0288df97
6f0288df97 [EarlyReturn] Refactor ChangeAndIfToEarlyReturnRector (#878)
2021-09-14 05:51:11 +00:00
Tomas Votruba
ca094bb20d Updated Rector to commit fa63510c6f
fa63510c6f [PHPStan] PHPStan fixes after update symplify (#876)
2021-09-13 15:56:50 +00:00
Tomas Votruba
4d03ef9715 Updated Rector to commit 41dfd36407
41dfd36407 [PHPStan] Update to PHPStan 0.12.99 (#874)
2021-09-13 13:38:55 +00:00
Tomas Votruba
57a0ba415f Updated Rector to commit e2fb0079bc
e2fb0079bc Do not add space if empty string (#868)
2021-09-12 10:31:48 +00:00
Tomas Votruba
46d03714d0 Updated Rector to commit 95bf5aa61f
95bf5aa61f [automated] Re-Generate Nodes/Rectors Documentation (#870)
2021-09-12 00:30:25 +00:00
Tomas Votruba
c9bd554857 Updated Rector to commit 29fb47974d
29fb47974d [Php80] feat: str starts with hardcoded (#866)
2021-09-11 09:23:29 +00:00
Tomas Votruba
a41d82e567 Updated Rector to commit 40bd8926d3
40bd8926d3 [Php80][Naming] Handle ClassPropertyAssignToConstructorPromotionRector + RenamePropertyToMatchTypeRector (#861)
2021-09-10 08:55:02 +00:00
Tomas Votruba
13a376a756 Updated Rector to commit c9f333d9dd
c9f333d9dd [EarlyReturn] Returns array of If_ on ChangeOrIfContinueToMultiContinueRector (#854)
2021-09-09 01:20:04 +00:00
Tomas Votruba
c909d9293e Updated Rector to commit 9ead24f116
9ead24f116 [TypeDeclaration] Skip child class method return parent class on ReturnTypeDeclarationRector (#849)
2021-09-08 12:06:06 +00:00
Tomas Votruba
2af3b965d3 Updated Rector to commit 1e6dfd240e
1e6dfd240e [PHPStan] Clean up ignore error messages (#846)
2021-09-08 06:39:19 +00:00
Tomas Votruba
c87d047aa8 Updated Rector to commit ba8211afea
ba8211afea [TypeDeclaration] Skip Child return mixed on ReturnTypeDeclarationRector (#843)
2021-09-07 06:02:28 +00:00
Tomas Votruba
c94867257b Updated Rector to commit b8a6c976b4
b8a6c976b4 [TypeDeclaration] Handle UnitEnum not exists check on ParamTypeByParentCallTypeRector (#841)
2021-09-07 06:01:30 +00:00
Tomas Votruba
3f9c17b717 Updated Rector to commit ee95517c5d
ee95517c5d [TypeDeclaration] Handle object|static return on ReturnTypeDeclarationRector (#840)
2021-09-06 12:31:44 +00:00
Tomas Votruba
16f43dddb2 Updated Rector to commit 2c84f127e9
2c84f127e9 [TypeDeclaration] Handle PHPStan\Type\Accessory\HasMethodType on PropertyTypeDeclarationRector (#839)
2021-09-06 10:42:18 +00:00
Tomas Votruba
3ce615d525 Updated Rector to commit df9246c609
df9246c609 [CodeQuality][EarlyReturn] Handle ExplicitBoolCompareRector + ChangeOrIfReturnToEarlyRector (#836)
2021-09-06 05:59:31 +00:00
Tomas Votruba
cf99b1fc76 Updated Rector to commit f2bec56f5f
f2bec56f5f [CodeQuality] Skip CallableThisArrayToAnonymousFunctionRector in trait (#835)
2021-09-05 03:53:17 +00:00
Tomas Votruba
8303b46898 Updated Rector to commit 0779c402c3
0779c402c3 [automated] Re-Generate Nodes/Rectors Documentation (#832)
2021-09-05 00:27:40 +00:00
Tomas Votruba
72d87f4e90 Updated Rector to commit 3c534be587
3c534be587 [CodeQuality] Skip associative array on CallableThisArrayToAnonymousFunctionRector (#829)
2021-09-04 21:12:09 +00:00
Tomas Votruba
f0f83c459e Updated Rector to commit 3fb40fbfd8
3fb40fbfd8 [CodeQuality] Skip class __construct method on CallableThisArrayToAnonymousFunctionRector (#830)
2021-09-04 21:09:04 +00:00
Tomas Votruba
d62e039ac8 Updated Rector to commit 61709a198d
61709a198d [PHPStan] Update to PHPStan 0.12.98 (#826)
2021-09-04 07:42:32 +00:00
Tomas Votruba
73cb9e40d3 Updated Rector to commit 89ca42d7c1
89ca42d7c1 [TypeDeclaration] Skip callable on AddArrayParamDocTypeRector (#815)
2021-09-03 09:26:46 +00:00
Tomas Votruba
35aeca4151 Updated Rector to commit 54c2151111
54c2151111 [CodingStyle] Handle next with comment on NewlineAfterStatementRector (#813)
2021-09-02 06:22:11 +00:00
Tomas Votruba
8fbb6d4a84 Updated Rector to commit 511a076211
511a076211 bump nette
2021-09-01 00:12:38 +00:00
Tomas Votruba
be5c11b4f1 Updated Rector to commit 9fee4dd297
9fee4dd297 [CodingStyle] Handle complex If_ ElseIf_ Else_ Try Catch Finally on on NewlineAfterStatementRector (#793)
2021-08-31 02:36:59 +00:00
Tomas Votruba
5fcab9b1bb Updated Rector to commit a81fd4e050
a81fd4e050 [CodingStyle] Add NewlineAfterStatementRector (#787)
2021-08-30 08:27:47 +00:00
Tomas Votruba
c863551bf5 Updated Rector to commit 13bf954089
13bf954089 [CodingStyle] Handle ClassConstFetch on RemoveUnusedAliasRector (#785)
2021-08-29 11:59:15 +00:00
Tomas Votruba
3136ede1f3 Updated Rector to commit dd49d3874b
dd49d3874b [CodingStyle] Handle Nullable Type and under intanceof for RemoveUnusedAliasRector (#784)
2021-08-28 13:03:07 +00:00
Tomas Votruba
681b789419 Updated Rector to commit 130b634b5e
130b634b5e [PHP 8.0] Skip union types docs to code with soft vendor lock (#781)
2021-08-27 12:56:21 +00:00
Tomas Votruba
54f4789e3e Updated Rector to commit b2c44bfdb0
b2c44bfdb0 [DowngradePhp72] Handle anonymous class override class method on DowngradeParameterTypeWideningRector (#777)
2021-08-27 09:14:46 +00:00
Tomas Votruba
f5b573b423 Updated Rector to commit 5eb2736971
5eb2736971 [BetterPhpDocParser] Move PhpDocFromTypeDeclarationDecorator from DowngradePhp71 to BetterPhpDocParser (#773)
2021-08-26 15:41:38 +00:00
Tomas Votruba
101d911aaa Updated Rector to commit 25ac38e726
25ac38e726 [DX] add link to first line of diff (#771)
2021-08-26 12:11:00 +00:00
Tomas Votruba
6651eadd37 Updated Rector to commit d8a6725879
d8a6725879 NarrowUnionTypeDocRector should skip literal strings (#763)
2021-08-26 08:18:15 +00:00
Tomas Votruba
870f7748a6 Updated Rector to commit 5b5b94b002
5b5b94b002 [StaticTypeMapper] Add ParentStaticType support to NameNodeMapper for parent return type (#765)
2021-08-26 08:01:40 +00:00
Tomas Votruba
15c1876627 Updated Rector to commit 4731c3f5e1
4731c3f5e1 [CS] Cs Fix config Skip AssignmentInConditionSniff FoundInWhielCondition (#767)
2021-08-26 04:42:58 +00:00
Tomas Votruba
f6bf813917 Updated Rector to commit aa22210581
aa22210581 [Php80] Handle Iterable typed on ClassPropertyAssignToConstructorPromotionRector (#753)
2021-08-25 07:00:32 +00:00
Tomas Votruba
ed5842f8aa Updated Rector to commit 6ff80ba037
6ff80ba037 [DeadCode] Skip RemoveUnusedNonEmptyArrayBeforeForeachRector on native Variable (#748)
2021-08-24 05:31:50 +00:00
Tomas Votruba
c7b2129f64 Updated Rector to commit 7eb5e75cda
7eb5e75cda [Php80] Copy PhpDocInfo values on ClassPropertyAssignToConstructorPromotionRector (#744)
2021-08-23 11:12:57 +00:00
Tomas Votruba
ba205b46bb Updated Rector to commit 68d410ef00
68d410ef00 Trigger notification (#741)
2021-08-23 00:20:32 +00:00
Tomas Votruba
674f76ced2 Updated Rector to commit 877cbb2de8
877cbb2de8 fix(scoper): prefix vendor classes from PHPDoc, close #6614 (#739)
2021-08-22 23:17:31 +00:00
Tomas Votruba
bdc1df40d9 Updated Rector to commit 1cc465b4d5
1cc465b4d5 [CodingStyle] Skip RemoveUnusedAliasRector when same class in use statement exists, but not used (#732)
2021-08-22 21:22:18 +00:00
Tomas Votruba
abe47f2ff5 Updated Rector to commit af1cbb92fd
af1cbb92fd [Core] Add Smarty Support for PhpFilesFinder check non-PHP files (#736)
2021-08-22 21:06:43 +00:00
Tomas Votruba
28d47f320d Updated Rector to commit 1cc465b4d5
1cc465b4d5 [CodingStyle] Skip RemoveUnusedAliasRector when same class in use statement exists, but not used (#732)
2021-08-22 21:05:54 +00:00
Tomas Votruba
f3f75a2919 Updated Rector to commit b422a9d747
b422a9d747 [Core] Replace deprecated ShellCode:: with Symfony Command:: for status (#737)
2021-08-22 21:04:29 +00:00
Tomas Votruba
f791d9d767 Updated Rector to commit 138aa5ea68
138aa5ea68 Param doctype not copied to property in DowngradePropertyPromotionRector (#734)
2021-08-22 21:02:57 +00:00
Tomas Votruba
0f57e3a147 Updated Rector to commit d72a5999ef
d72a5999ef [Php80] Do not remove Assert with no arg in AnnotationToAttributeRector (#733)
2021-08-22 15:42:22 +00:00
Tomas Votruba
40ecfbd21b Updated Rector to commit 2a6cfb363d
2a6cfb363d Fix 6644 (#728)
2021-08-21 00:59:31 +00:00
Tomas Votruba
0ff3bb0f72 Updated Rector to commit 3c8f8a03d6
3c8f8a03d6 [DowngradePhp80] Skip remove self on DowngradeStaticTypeDeclarationRector (#721)
2021-08-20 13:43:25 +00:00
Tomas Votruba
6489f31f60 Updated Rector to commit c043528bfc
c043528bfc [DowngradePhp74] Skip php doc method on DowngradeContravariantArgumentTypeRector (#719)
2021-08-20 10:40:29 +00:00
Tomas Votruba
c6809402a5 Updated Rector to commit 3c8f8a03d6
3c8f8a03d6 [DowngradePhp80] Skip remove self on DowngradeStaticTypeDeclarationRector (#721)
2021-08-20 10:39:40 +00:00
Tomas Votruba
65ad60c6e9 Updated Rector to commit 2623e6773c
2623e6773c Bump branch-alias from 0.10 to 0.11 (#723)
2021-08-20 10:06:28 +00:00
Tomas Votruba
1b892235ad Updated Rector to commit 276df25305
276df25305 [NodeTypeResolver] Clean up PHPStanNodeScopeResolver (#713)
2021-08-19 04:19:05 +00:00
Tomas Votruba
c81e0916bc Updated Rector to commit 9f311dca00
9f311dca00 Add failing test fixture for RemoveParentCallWithoutParentRector (#711)
2021-08-19 04:03:26 +00:00
Tomas Votruba
3ed3bb1e80 Updated Rector to commit 7095dcae16
7095dcae16 [CodeQuality][TypeDeclaration] Handle ExplicitBoolCompareRector + ReturnTypeDeclarationRector on auto import return (#710)
2021-08-18 09:43:13 +00:00
Tomas Votruba
dd5ada968f Updated Rector to commit 582d1d3851
582d1d3851 [Exclusion] Check Parent attribute is Node on ExclusionManager::isNodeSkippedByRector() (#712)
2021-08-18 09:22:43 +00:00
Tomas Votruba
6cc72206c0 Updated Rector to commit 6ffa3f439e
6ffa3f439e [NodeTypeResolver] Using ClassReflection->getMixinTags() to detect source has mixin tags (#705)
2021-08-17 08:43:53 +00:00
Tomas Votruba
898f0a5dac Updated Rector to commit c1b7a97ee1
c1b7a97ee1 [CodeQuality] Skip Child class of \DateTime on DateTimeToDateTimeInterfaceRector (#703)
2021-08-17 07:07:19 +00:00
Tomas Votruba
56620f1008 Updated Rector to commit 9a5ca72b45
9a5ca72b45 [NodeTypeResolver] Check current file name is not equal with source file name for mixin class in source (#700)
2021-08-16 18:30:22 +00:00
Tomas Votruba
421d235b5a Updated Rector to commit 401f6b8484
401f6b8484 [Scoper] Fix PHPUnit scoper IsEqual (#693)
2021-08-16 08:37:07 +00:00
Tomas Votruba
8595649067 Updated Rector to commit 05f3fabe62
05f3fabe62 [Defluent] Skip mixin in source on FluentChainMethodCallToNormalMethodCallRector (#689)
2021-08-16 08:19:28 +00:00
Tomas Votruba
4d052b08f9 Updated Rector to commit 6cdfebe40c
6cdfebe40c [Windows] Add platform agnostic asserts (#461)
2021-08-16 07:19:49 +00:00
Tomas Votruba
fd91160c36 Updated Rector to commit cdf9dc5c68
cdf9dc5c68 [Defluent] Skip mixin on FluentChainMethodCallToNormalMethodCallRector (#688)
2021-08-15 21:29:57 +00:00
Tomas Votruba
dc5c5507e9 Updated Rector to commit e9d1172717
e9d1172717 [automated] Re-Generate Nodes/Rectors Documentation (#683)
2021-08-15 00:30:09 +00:00
Tomas Votruba
f353893d6d Updated Rector to commit bf038c60bd
bf038c60bd [Defluent] Fix test namespace for InArgFluentChainMethodCallToStandaloneMethodCallRector (#676)
2021-08-14 11:18:07 +00:00
Tomas Votruba
55cb627074 Updated Rector to commit 7b8f4deae2
7b8f4deae2 [CodeQuality] Skip FixClassCaseSensitivityNameRector on function name exists (#660)
2021-08-13 11:57:49 +00:00
Tomas Votruba
ca101a7486 Updated Rector to commit 99301b3dae
99301b3dae Namespaces should use a case sensitive comparison (#652)
2021-08-12 15:32:43 +00:00
Tomas Votruba
93cc8dacbc Updated Rector to commit 906bb39c8d
906bb39c8d [EarlyReturn] Handle Repetitive create If_ statement on use ChangeOrIfReturnToEarlyReturnRector+RemoveAlwaysElseRector (#651)
2021-08-12 09:54:28 +00:00
Tomas Votruba
c891c89e88 Updated Rector to commit 2a56619617
2a56619617 Fix handling of curly braces for choice's callback (#642)
2021-08-11 06:48:39 +00:00
Tomas Votruba
a75504cb47 Updated Rector to commit 3a76077bfe
3a76077bfe [Defluent] Handle casted return value on FluentChainMethodCallToNormalMethodCallRector (#643)
2021-08-11 06:38:05 +00:00
Tomas Votruba
3395b050ee Updated Rector to commit 028dcb15e4
028dcb15e4 [CodingStyle] Skip RemoveUnusedAliasRector on alias used as namespace (#634)
2021-08-10 07:12:30 +00:00
Tomas Votruba
b2c929a146 Updated Rector to commit fa8e3bd295
fa8e3bd295 Re-use MovedFile (#628)
2021-08-09 11:59:16 +00:00
Tomas Votruba
e528c78dfe Updated Rector to commit 6fe42bd0b3
6fe42bd0b3 fix option
2021-08-09 11:01:57 +00:00
Tomas Votruba
bd98852bcd Updated Rector to commit db637973d0
db637973d0 [DeadCode] Do not remove assign on RemoveUnusedVariableAssignRector on New_ usage (#625)
2021-08-09 07:40:23 +00:00
Tomas Votruba
e9e85a1300 Updated Rector to commit a8b01f217b
a8b01f217b [automated] Re-Generate Nodes/Rectors Documentation (#619)
2021-08-08 00:26:40 +00:00
Tomas Votruba
b5290c94c5 Updated Rector to commit 2d22795af1
2d22795af1 [DeadCode] Skip RemoveDeadConstructorRector on empty constructor with class extends (#611)
2021-08-07 11:33:39 +00:00
Tomas Votruba
559ff57598 Updated Rector to commit d4d2e7a4d5
d4d2e7a4d5 [Testing] Fixing MultipleFilesChangedTrait under macOs (#605)
2021-08-06 20:14:46 +00:00
Tomas Votruba
cd8b211b7b Updated Rector to commit bb384013c3
bb384013c3 [CodeQuality] CodeQuality config set list clean up (#606)
2021-08-06 20:12:05 +00:00
Tomas Votruba
499d6ba043 Updated Rector to commit 45766e1d95
45766e1d95 Decopule ChildClassMethodDecorator, and DependencyClassMethodDecorator (#600)
2021-08-06 08:51:18 +00:00
Tomas Votruba
cedca442f9 Updated Rector to commit c2acf79190
c2acf79190 Added test for Rectors making additional changes (#545)
2021-08-06 06:51:09 +00:00
Tomas Votruba
ed866c99db Updated Rector to commit 7398a6637c
7398a6637c Add failing test fixture for RemoveUnusedPrivateMethodRector (#604)
2021-08-06 06:45:08 +00:00
Tomas Votruba
2011249f26 Updated Rector to commit e740a93886
e740a93886 [TypeDeclaration] Handle return self and static on ReturnTypeFromReturnNewRector (#603)
2021-08-05 21:39:36 +00:00
Tomas Votruba
d5797c02f3 Updated Rector to commit f668ee2279
f668ee2279 [NodeRepository] Remove ChildReturnPopulator (#599)
2021-08-05 12:49:24 +00:00
Tomas Votruba
00f3fbe30d Updated Rector to commit ad15c5f694
ad15c5f694 [TypeDeclaration] Removing NodeRepository from ParamTypeDeclarationRector (#597)
2021-08-05 08:31:23 +00:00
Tomas Votruba
fa67d66a44 Updated Rector to commit 3eb503653f
3eb503653f [BetterStandardPrinter] Using Expr_ArrowFunction->returnType with print return type double colon right after the bracket (#596)
2021-08-05 05:49:38 +00:00
Tomas Votruba
fcfef6acab Updated Rector to commit 529eb40360
529eb40360 [DowngradePhp80] Handle both DowngradeTypedPropertyRector and DowngradeMixedTypeDeclarationRector Name parameter (#591)
2021-08-04 07:34:48 +00:00
Tomas Votruba
54d8b7a970 Updated Rector to commit 0a51a73ad6
0a51a73ad6 [CodeQuality] Remove MoveVariableDeclarationNearReferenceRector for too wide domain, not capable on most of real projects (#587)
2021-08-03 18:06:18 +00:00
Tomas Votruba
46cf4c1774 Updated Rector to commit 0888a92985
0888a92985 [CodeQuality] Skip class with constructor parameter for ClassConstFetch on CallableThisArraToAnonymousFunctionRector (#581)
2021-08-03 10:22:54 +00:00
Tomas Votruba
b1a34f7f49 Updated Rector to commit 23bf1ca771
23bf1ca771 static fixes (#578)
2021-08-02 19:35:36 +00:00
Tomas Votruba
1452c5d9ff Updated Rector to commit b3480900f3
b3480900f3 [CodingStyle] Remove YieldClassMethodToArrayClassMethodRector, rather PHPStorm job (#576)
2021-08-02 17:48:07 +00:00
Tomas Votruba
4a5ca2c9e5 Updated Rector to commit 66e21558ba
66e21558ba [PHPOffice] Extract package to standalone project (#575)
2021-08-02 15:56:42 +00:00
Tomas Votruba
ab81b0c165 Updated Rector to commit e5b00c449c
e5b00c449c [VersionBonding] Correctly shows missed rectors that will not run (#574)
2021-08-02 14:42:58 +00:00
Tomas Votruba
bfa1433bd5 Updated Rector to commit 2c71aa6976
2c71aa6976 [VersionBonding] Update rector warning message for min PHP version project (#572)
2021-08-02 09:39:41 +00:00
Tomas Votruba
90467ad594 Updated Rector to commit b34ff8ca13
b34ff8ca13 [Defluent] Skip clone uses trait on DefluentReturnMethodCallRector (#558)
2021-08-01 17:00:37 +00:00
Tomas Votruba
0347b32272 Updated Rector to commit 44a00682aa
44a00682aa [Config] Add scoper.php to rector config path (#569)
2021-08-01 16:55:31 +00:00
Tomas Votruba
d0e5aaee2f Updated Rector to commit 645b7a8e8f
645b7a8e8f [automated] Re-Generate Nodes/Rectors Documentation (#562)
2021-08-01 00:25:55 +00:00
Tomas Votruba
bee6271c0a Updated Rector to commit 59d63d6f4a
59d63d6f4a [TypeDeclaration] Allow ArrowFunction on ReturnTypeFromStrictTypedCallRector (#556)
2021-07-31 11:40:13 +00:00
Tomas Votruba
c3bc0fc47d Updated Rector to commit d9f47f8572
d9f47f8572 [DeadCode] Using SideEffectNodeDetector::detectCallExpr() on RemoveOverriddenValuesRector (#554)
2021-07-31 11:34:50 +00:00
Tomas Votruba
406cb3c9f8 Updated Rector to commit a152283fd7
a152283fd7 cleanup (#547)
2021-07-30 07:40:46 +00:00
Tomas Votruba
74fd096ad7 Updated Rector to commit 46a6ab042e
46a6ab042e [PHP 8.0] Fix strinable interface detection (#542)
2021-07-29 16:36:00 +00:00
Tomas Votruba
ff5108a964 Updated Rector to commit cdad000d81
cdad000d81 [DowngradePhp80] Register DowngradeThrowExprRector to downgrade-php80 config set (#538)
2021-07-29 00:44:05 +00:00
Tomas Votruba
74c3f7c261 Updated Rector to commit f44e09e077
f44e09e077 [DeadCode][Defluent][NodeNameResolver] Using CallAnalyzer to check object call when possible (#529)
2021-07-28 11:11:32 +00:00
Tomas Votruba
6f760e17cc Updated Rector to commit 5d8789025d
5d8789025d Fix NullsafeOperatorRector (#532)
2021-07-28 10:00:12 +00:00
Tomas Votruba
0032287992 Updated Rector to commit 687a77765f
687a77765f Added MemoryCacheStorage and use it in  (#525)
2021-07-28 07:05:44 +00:00
Tomas Votruba
b8d4e57170 Updated Rector to commit a7f111e201
a7f111e201 [PHPStan] Clean up PHPStan ignore error messages (#530)
2021-07-28 04:37:30 +00:00
Tomas Votruba
a23b777a9a Updated Rector to commit 3a96b9097d
3a96b9097d [DeadCode] Skip fluent return  on RemoveEmptyMethodCallRector (#521)
2021-07-27 11:16:44 +00:00
Tomas Votruba
e105af90f5 Updated Rector to commit 89ef54d16c
89ef54d16c fix cs (#517)
2021-07-26 16:26:09 +00:00
Tomas Votruba
2e2725a511 Updated Rector to commit 6478ec1c41
6478ec1c41 Sync FileCacheStorage with changes from phpstan-src (#498)
2021-07-26 13:28:02 +00:00
Tomas Votruba
516a748cf7 Updated Rector to commit b47f2c980d
b47f2c980d [TypeDeclaration] Keep simple class on auto import for CompleteVarDocTypePropertyRector (#513)
2021-07-26 13:12:59 +00:00
Tomas Votruba
c231e32779 Updated Rector to commit eb91c61b95
eb91c61b95 [Config] Clean up rector.php config (#514)
2021-07-26 09:06:10 +00:00
Tomas Votruba
dfa7a8133f Updated Rector to commit 923bb72983
923bb72983 [Naming] Remove MakeBoolPropertyRespectIsHasWasMethodNamingRector, not reliable and rather PHPStan scope (#511)
2021-07-25 16:57:05 +00:00
Tomas Votruba
c87080e236 Updated Rector to commit a5d59dab8b
a5d59dab8b Remove PropertyAdder, extra layer without value (#507)
2021-07-25 12:40:11 +00:00
Tomas Votruba
c4c84e0db7 Updated Rector to commit 34fff11f80
34fff11f80 Remove deprecated addConstructorDependencyToClass() from AbstractRector class, use PropertyToAddCollector directly instaed (#506)
2021-07-25 11:42:11 +00:00
Tomas Votruba
c141cde162 Updated Rector to commit 34c3e8fce9
34c3e8fce9 [TypeDeclaration] Handle (object) cast on CompleteVarDocTypePropertyRector (#503)
2021-07-25 11:41:40 +00:00
Tomas Votruba
3f2ea1ec26 Updated Rector to commit dfbd366b74
dfbd366b74 [Transform] Add MethodCallToMethodCallRector (#505)
2021-07-25 11:10:57 +00:00
Tomas Votruba
4a70b89e41 Updated Rector to commit 4456c4690b
4456c4690b extend AutowiredClassMethodAnalyzer with property
2021-07-25 07:47:04 +00:00
Tomas Votruba
4c03335bdf Updated Rector to commit 771a3390b0
771a3390b0 [TypeDeclaration] Handle simple class name as string for non-native class (#501)
2021-07-24 11:53:32 +00:00
Tomas Votruba
29501d46b5 Updated Rector to commit 9d51f3c47f
9d51f3c47f [Naming] Fix imported trait names (#500)
2021-07-23 14:43:26 +00:00
Tomas Votruba
27e4e06416 Updated Rector to commit 5967ffa267
5967ffa267 Fix along other packages gha (#492)
2021-07-23 06:16:10 +00:00
Tomas Votruba
a3e534ff19 Updated Rector to commit db2e76b99c
db2e76b99c load stubs in config
2021-07-22 23:37:17 +00:00
Tomas Votruba
29db7ec980 Updated Rector to commit 1747d9899a
1747d9899a [DeadCode] Skip next used as variable variable on RemoveUnusedVariableAssignRector (#486)
2021-07-22 14:50:45 +00:00
Tomas Votruba
8b47bb5ba9 Updated Rector to commit bba606c609
bba606c609 Fix alias object imports (#480)
2021-07-21 14:23:45 +00:00
Tomas Votruba
e3f99041de Updated Rector to commit 24a32dfefb
24a32dfefb Fix docs double import (#478)
2021-07-21 13:46:30 +00:00
Tomas Votruba
1127b0c4e2 Updated Rector to commit bc9d2d48d5
bc9d2d48d5 [DX] Add MissedRectorDueVersionChecker (#465)
2021-07-21 09:35:57 +00:00
Tomas Votruba
7483b5a016 Updated Rector to commit 692e9e3db4
692e9e3db4 Rector 7.0 Native init steps (#475)
2021-07-21 08:41:12 +00:00
Tomas Votruba
9e4b848150 Updated Rector to commit 48ccb539d4
48ccb539d4 [DeadCode] Handle null start token position attribute in NodeByTypeAndPositionCollector (#469)
2021-07-20 14:23:43 +00:00
Tomas Votruba
f5fb11d45f Updated Rector to commit 269a76303d
269a76303d skip Windows-broken rules (#463)
2021-07-19 21:11:19 +00:00
Tomas Votruba
cad500c817 Updated Rector to commit 0d3e54357f
0d3e54357f extract VendorLocationDetector (#462)
2021-07-19 20:57:26 +00:00
Tomas Votruba
0ead874fad Updated Rector to commit 75c06eab69
75c06eab69 Fix match static method name in annotation (#446)
2021-07-19 05:06:26 +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
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
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
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
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
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
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
f3645ab6a9 Updated Rector to commit fb9ad83c32
fb9ad83c32 [CodeQuality] Skip InlineIfToExplicitIfRector on constant definition (#422)
2021-07-11 15:30:37 +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
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
8883574049 Updated Rector to commit 6f1f047087
6f1f047087 add RenameParamValueObjectInterface to trusted downgrade widening types
2021-07-09 23:00:32 +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
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
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
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
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
3b54fa1f26 Updated Rector to commit 292e82e117
292e82e117 Fix ArrayCallableMethodMatcher to accept only strings (#391)
2021-07-06 09:46:39 +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
8a32b5f563 Updated Rector to commit 150da023db
150da023db include standalone traits in downgrade too
2021-07-06 08:19: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
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
121ea7f23d Updated Rector to commit 48784457eb
48784457eb Fix doctrine inflector bug downgrade (#388)
2021-07-05 15:06:41 +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
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
bb3e86de23 Updated Rector to commit 904a5a7a1c
904a5a7a1c Make use of ClassMethodReturnVendorLockResolver (#377)
2021-07-04 21:21:47 +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
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
ec097d0fda Updated Rector to commit 9907e913af
9907e913af bump to fixed ECS
2021-07-03 10:57:19 +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
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
79df1ed831 Updated Rector to commit 6238705e93
6238705e93 mics
2021-07-02 00:08:09 +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
7f55328e3b Updated Rector to commit 3966aa0770
3966aa0770 Improve PhpDocNodeTraverser (#356)
2021-07-01 16:34:59 +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
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
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
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
ae344ba87f Updated Rector to commit be4fba42de
be4fba42de added generics to  (#304)
2021-06-30 11:36:37 +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