2699 Commits

Author SHA1 Message Date
Tomas Votruba
1099eab862 Updated Rector to commit 36fc840488d73e890869a36ce876b9cdea3f78eb
36fc840488 Trigger notification (#1027)
2021-10-20 01:31:18 +00:00
Tomas Votruba
40a40360b8 Updated Rector to commit 3ba32894dfebb1e746c8d1c1520b2d792145308a
3ba32894df [Defluent][Rector-Symfony] Handle TypeError on AddFlashRector (#1026)
2021-10-19 14:52:23 +00:00
Tomas Votruba
4a269dfc0b Updated Rector to commit d51b8494eb8140b5b09e382ef0fea2e52dd0b42c
d51b8494eb [DX] Add DowngradeLevelSetList (#1023)
2021-10-19 09:00:23 +00:00
Tomas Votruba
e37558a911 Updated Rector to commit 600a3e9be177fa8642f3b249249ab56a85ee2e6e
600a3e9be1 [Core] Refactor AbstractRector (#959)
2021-10-18 19:19:09 +00:00
Tomas Votruba
b32a8b1d6d Updated Rector to commit 34b254affb2faa6152d9db717803320b9916082d
34b254affb [Php73] Handle named argument on JsonThrowOnErrorRector (#1021)
2021-10-18 13:12:30 +00:00
Tomas Votruba
b8bc5f986a Updated Rector to commit 33e5cab8d53facaa6753fc26b755e9ce3634d940
33e5cab8d5 [DowngradePhp80] Handle Throw Exception on DowngradeMatchToSwitchRector (#1019)
2021-10-18 09:22:13 +00:00
Tomas Votruba
2a5f710b51 Updated Rector to commit adb6e3cd10a628ad262cf12054a17538802c678d
adb6e3cd10 [Php73] Skip undetected namespaced constant on SensitiveConstantNameRector (#1017)
2021-10-18 08:52:38 +00:00
Tomas Votruba
cdbc308200 Updated Rector to commit 33e5cab8d53facaa6753fc26b755e9ce3634d940
33e5cab8d5 [DowngradePhp80] Handle Throw Exception on DowngradeMatchToSwitchRector (#1019)
2021-10-18 08:52:15 +00:00
Tomas Votruba
6593b462b3 Updated Rector to commit cdd8a1aefceba3a97448cc62a0a2e9ee33fde093
cdd8a1aefc [Naming][Php56] Another better approach for AddDefaultValueForUndefinedVariableRector+RenameVariableToMatchMethodCallReturnTypeRector (#1014)
2021-10-17 07:14:48 +00:00
Tomas Votruba
93d9d433fc Updated Rector to commit 4992b8c6aa81642bc28d55002951b4cdeb46b356
4992b8c6aa [Naming][Php56] Better patch for AddDefaultValueForUndefinedVariableRector+RenameVariableToMatchMethodCallReturnTypeRector (#1013)
2021-10-17 06:52:57 +00:00
Tomas Votruba
427b9ce357 Updated Rector to commit 8bb31f25562b83504ca36b5c94797c87131afa8f
8bb31f2556 [automated] Re-Generate Nodes/Rectors Documentation (#1012)
2021-10-17 00:30:43 +00:00
Tomas Votruba
100f186ff7 Updated Rector to commit fee0135ec197fd8e0bde1fca3444c70ed2efa8a0
fee0135ec1 [Naming][Php56] Handle AddDefaultValueForUndefinedVariableRector+RenameVariableToMatchMethodCallReturnTypeRector (#1010)
2021-10-16 13:05:59 +00:00
Tomas Votruba
6409895073 Updated Rector to commit caba58dfd0b2fb8494ad88e65eec3aa051297e6b
caba58dfd0 [PHPStan] Clean up PHPStan ignore error (#1008)
2021-10-16 09:57:47 +00:00
Tomas Votruba
4accd5f026 Updated Rector to commit 2d6a25bc49178fd8977a0e707b6519e3523fd703
2d6a25bc49 [Php73] Skip double escape dash on next with quantifier outside bracket on RegexDashEscapeRector (#1006)
2021-10-15 16:37:49 +00:00
Tomas Votruba
67d83c7b32 Updated Rector to commit 4e377b26af1762f9fb8c968341df5d742ec0160f
4e377b26af Add option of case-insensitive ReplaceStringWithClassConstantRector (#1004)
2021-10-15 16:34:45 +00:00
Tomas Votruba
a31da29e2b Updated Rector to commit 25f4b8dc31304dcfbd4f41c03174d0bd176a8601
25f4b8dc31 [CodingStyle] Skip inside do while next not Stmt on NewlineAfterStatementRector (#1003)
2021-10-14 20:26:27 +00:00
Tomas Votruba
9e28d44a9b Updated Rector to commit 01cb29e5d431df6e3ec5674fdd09b0dc77c17c88
01cb29e5d4 [Transform] Add AttributeKeyToClassConstFetchRector (#1002)
2021-10-14 15:34:01 +00:00
Tomas Votruba
fadc7bb98d Updated Rector to commit bc39e1c3e839b1af6a5bb452b16eb372a517f0ce
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
432b09c234 Updated Rector to commit 5975e13884530154f8a9f870d95bc92218330f7b
5975e13884 [Php80] Fix PHPStan on AnnotationToAttributeRector (#997)
2021-10-13 19:26:54 +00:00
Tomas Votruba
aa1201976c Updated Rector to commit f5c1f19b54fb00d1f6d41ef385f8beed5a0b9eda
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 ba130afc93d7e36b0f8b1d62bf21bb397ed1835b
ba130afc93 bump to fixed rules-generator
2021-10-13 11:51:00 +00:00
Tomas Votruba
785101045c Updated Rector to commit 78c6226bceb7649c8482f8a49e2f9428d9d5fa4a
78c6226bce Allow resolving names on dynamic property fetch (#996)
2021-10-13 11:50:37 +00:00
Tomas Votruba
ebd0863c09 Updated Rector to commit ccd8e898af997a1a21af6159c6b85f04ab418552
ccd8e898af [Naming][Php56] Handle AddDefaultValueForUndefinedVariableRector + RenameParamToMatchTypeRector (#993)
2021-10-12 12:52:00 +00:00
Tomas Votruba
100023d71a Updated Rector to commit 26ac10318950d641fcd7df94c9fd2d42eb87921c
26ac103189 [Php80] Copy array generic doc on ClassPropertyAssignToConstructorPromotionRector (#988)
2021-10-12 08:14:21 +00:00
Tomas Votruba
3163961fe7 Updated Rector to commit 90c1d09a33d2675b5b60d8bc08d3853cfbfcf75a
90c1d09a33 [PHPStanStaticTypeMapper] Add UnionTypeAnalyzer::isNullable() (#987)
2021-10-12 01:37:01 +00:00
Tomas Votruba
dbec2c82cd Updated Rector to commit 5f915d861b2a48043d8783568f4b825560b0a00b
5f915d861b handle cases where strlen arg is a Stringable object (#981)
2021-10-11 23:20:15 +00:00
Tomas Votruba
c6a9b6bdf0 Updated Rector to commit 65c3a44c638f203cb2c10affa6dcc70af920e6f8
65c3a44c63 [TypedPropertyRector] Handle nullable collection on TypedPropertyRector (#986)
2021-10-11 06:45:23 +00:00
Tomas Votruba
7a1714be31 Updated Rector to commit f6d00371f97e79946fcd8ac9f6f468f7c424b2d3
f6d00371f9 [TypeDeclaration] Skip nullable generic typed on ReturnTypeDeclarationRector (#985)
2021-10-10 08:58:47 +00:00
Tomas Votruba
9056c6c3a5 Updated Rector to commit 3c0cb22a58e6b8dc4195631046ba4a62ceabf279
3c0cb22a58 [automated] Re-Generate Nodes/Rectors Documentation (#984)
2021-10-10 00:30:12 +00:00
Tomas Votruba
8fc6af697d Updated Rector to commit 9a6afde216ed9afa954dd4fc6fd196b3a5b803b9
9a6afde216 [DX] Add LevelSetList (#971)
2021-10-09 16:11:30 +00:00
Tomas Votruba
62d76e35e7 Updated Rector to commit f1b772ab3a72a8f546280a4600efff6addb49bec
f1b772ab3a [DX] Add EmptyConfigurableRectorChecker (#960)
2021-10-09 13:51:00 +00:00
Tomas Votruba
da332c4235 Updated Rector to commit 7c20d2d7021038ddd013940769a994cb2998b073
7c20d2d702 validate config input in AddMethodCallBasedStrictParamTypeRector (#978)
2021-10-09 13:44:48 +00:00
Tomas Votruba
9ef423f227 Updated Rector to commit 58d4ab79fea9bde9f44e882d6487353e16e58a4f
58d4ab79fe [TypeDeclaration]: support  phpdoc instead of native  in AddVoidReturnTypeWhereNoReturnRector (#977)
2021-10-09 13:43:57 +00:00
Tomas Votruba
45d3e63a94 Updated Rector to commit ff32aed8c3ad9498af2017a342ec02d5f1914561
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 82b689d71324d0872ca688dddcf2157bfb7d5d3c
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 f2afe8ed6edb2e91082158c3a7b317b72a46fde8
f2afe8ed6e [DX] Move from deprecated getStaticType() to getType() (#974)
2021-10-07 18:52:22 +00:00
Tomas Votruba
61389a9b2c Updated Rector to commit f6f7431ce7aa36124efcda10e1b9ed16a5ccc343
f6f7431ce7 [DX] Merge getObjectType() and getStaticType() methods to single getType() (#973)
2021-10-07 17:46:41 +00:00
Tomas Votruba
4fa8da0c31 Updated Rector to commit 5ba14990349db5141c98b373d3360018f8bd00a0
5ba1499034 [Strict] Skip stripos on BooleanInIfConditionRuleFixerRector (#966)
2021-10-07 17:03:55 +00:00
Tomas Votruba
7d712af5a2 Updated Rector to commit eb811b13b9197e4e9c3994274ed05c2e47993c5a
eb811b13b9 [CodeQuality] Add ExplicitMethodCallOverMagicGetSetRector (#972)
2021-10-07 16:13:11 +00:00
Tomas Votruba
a2ed31d38b Updated Rector to commit cddcebf132cb9ea7f1f33d77a35b89305cbb2ff4
cddcebf132 [DowngradePhp74] Handle fn inside fn on ArrowFunctionToAnonymousFunctionRector (#967)
2021-10-07 08:01:49 +00:00
Tomas Votruba
dec07bda16 Updated Rector to commit 97a8d8ee10ebaf78cc6eb4a64c30de3a7bb4c5e6
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 f175e5afdf8662faf2c7a7c82c0d2a48eb50dbeb
f175e5afdf [Php74] Skip type hint DummyTraitClass on TypedPropertyRector (#965)
2021-10-07 07:59:43 +00:00
Tomas Votruba
34fc36ed68 Updated Rector to commit 683077ed2a6d6be481fd3f3ab491b3eb4e3ffc6e
683077ed2a [Downgrade PHP 7.2] Downgrade object type also in Closure (#961)
2021-10-06 09:54:20 +00:00
Tomas Votruba
9909c26a13 Updated Rector to commit e9e2877d959f24ee91e5f76a6cf626499011c4bb
e9e2877d95 [CodingStyle] Skip inside return statement on NewlineAfterStatementRector (#958)
2021-10-05 21:23:57 +00:00
Tomas Votruba
8203945744 Updated Rector to commit ed80bec474110d2e50f71c6dd1cad0c9a9b10491
ed80bec474 [Strict] Add parameter to require non-empty values opt-in (#956)
2021-10-05 15:59:39 +00:00
Tomas Votruba
0bb5807237 Updated Rector to commit d4cb2395dc729e4c77e9b0e4a99677d9acb6d1b8
d4cb2395dc fix BooleanInBooleanNotRuleFixerRector docs
2021-10-05 11:12:46 +00:00
Tomas Votruba
0b0fa02f46 Updated Rector to commit c4de350289baf6f7cf4b64f1708f1e02fc1827dd
c4de350289 [Strict] Add rules to resolve PHPStan Strict rule set (#955)
2021-10-05 08:51:30 +00:00
Tomas Votruba
f6dfd556b7 Updated Rector to commit 687f9e9de9d5b25cdef988b8572d30f21ad42ea9
687f9e9de9 Clean up PHPStan ignore error messages (#954)
2021-10-05 05:07:42 +00:00
Tomas Votruba
f9c50ad2b9 Updated Rector to commit 1f63ed3e55553cff1e2ef4c579a29ae8308dd90d
1f63ed3e55 Reworking trait scope run (#952)
2021-10-04 21:24:17 +00:00
Tomas Votruba
9d6051f97f Updated Rector to commit 6bfe0133002f30d16489deb9ef6028efdbbaa795
6bfe013300 [NodeCollector] Add ArrayCallableDynamicMethod value object (#951)
2021-10-03 08:23:40 +00:00