194 Commits

Author SHA1 Message Date
Tomas Votruba
3a883b2fc9 Updated Rector to commit af81708d80025b5af4a556370127b3946c046133
af81708d80 [TypeDeclaration] Skip conditional Throw_ on ReturnNeverTypeRector (#1217)
2021-11-12 09:48:23 +00:00
Tomas Votruba
9131fc62e0 Updated Rector to commit 2ed0430f4eba99a019db01f5eaee3678a5b6ac30
2ed0430f4e [NodeTypeResolver] Avoid error Uncaught TypeError: PHPStan\Type\Constant\ConstantIntegerType::__construct(): Argument #1 () must be of type int, string given (#1210)
2021-11-11 00:28:34 +00:00
Tomas Votruba
b5d03cf1f4 Updated Rector to commit f32035d12fe7a1e65457d42ff09521c357d282f6
f32035d12f [TypeDeclaration] Skip Conditional on ReturnNeverTypeRector (#1200)
2021-11-10 10:27:52 +00:00
Tomas Votruba
3601e07ec8 Updated Rector to commit 65b389256326b60656831862ebfb7c898326856f
65b3892563 bump deps
2021-11-09 12:04:54 +00:00
Tomas Votruba
cf975f7d4d Updated Rector to commit b2d174999982e504501d85a94fcaa0b4fcf7d693
b2d1749999 Fix issue of parsing PHP 8 sources on PHP 7.x (#1184)
2021-11-08 09:21:05 +00:00
Tomas Votruba
7f56f8ae35 Updated Rector to commit 66800f00f1ec158f96416b8e0b84c93f54abb1d5
66800f00f1 [Scoped] Fixing Scoped build bin rector.php (#1174)
2021-11-07 04:15:35 +00:00
Tomas Votruba
bf8d644cbf Updated Rector to commit c31cabf0b3a67d59000824836fa5fc42ec1a2d2f
c31cabf0b3 [MYSQL_TO_MYSQLI] Restore Mysql to Mysqli Behaviour when used with Dead Code SetList (#1161)
2021-11-06 00:53:30 +00:00
Tomas Votruba
bcf5df49d8 Updated Rector to commit f9f4b93ab9f63fd775391446f3b749d9abcca5b7
f9f4b93ab9 Add UseManipulatorTest (#1149)
2021-11-05 00:25:28 +00:00
Tomas Votruba
504a41770d Updated Rector to commit f8e04774ad93d0979b0a9eee8fd2e2c555ff19ad
f8e04774ad Fixing scoped build (#1143)
2021-11-04 15:30:20 +00:00
Tomas Votruba
4ca6af551e Updated Rector to commit aab9bcfa920b44e3316e4067dc2c91b0be4291b5
aab9bcfa92 Trigger CI to test removed classes in separate packages (#1135)
2021-11-03 00:08:12 +00:00
Tomas Votruba
e19ec3e214 Updated Rector to commit 8e9ef8786ecc1a1b122b55b361c36b3fec734c7e
8e9ef8786e [DeadCode] Skip Union with Interface on RemoveUselessParamTagRector (#1127)
2021-11-02 08:10:20 +00:00
Tomas Votruba
607db8843e Updated Rector to commit f3556e6d6d70e2550cc8f17d6c57a2eae1a4ccc5
f3556e6d6d require symfony/contracts, to make downgrade of console work
2021-11-01 14:32:25 +00:00
Tomas Votruba
54f8d6dc33 Updated Rector to commit da4d598bf0fc20b831e138407263b82645109bdf
da4d598bf0 [PHPStan 1.0] resolve FunctionReflection getFileName() from main interface (#1117)
2021-10-31 15:30:19 +00:00
Tomas Votruba
9eb3a9755c Updated Rector to commit e5186a79b48bd11252f78a6439d8cd43d65a7f64
e5186a79b4 Improve InflectorSingularResolver (#1108)
2021-10-30 00:06:50 +00:00
Tomas Votruba
03298f1783 Updated Rector to commit 0db02e27aa31748ea7e881ab76eb04e71e04be84
0db02e27aa [Core] Remove template-extends check as well on FileProcessor (#1098)
2021-10-29 03:37:36 +00:00
Tomas Votruba
756ef832ec Updated Rector to commit e2bbc2fd9d25cd04a9933c7507304af70bb7e76a
e2bbc2fd9d [DowngradePhp74] fix uses for nested arrow functions with same param names (#1090)
2021-10-28 12:01:11 +00:00
Tomas Votruba
2b6e4f5909 Updated Rector to commit d1e09e3d5eb1fb5db196c15dac3ebd45d38341c9
d1e09e3d5e [ECS] remove ignored rules that are now fixed, use SimplePhpParser for ad-hoc node resolving (#1076)
2021-10-27 08:50:45 +00:00
Tomas Votruba
50818a1498 Updated Rector to commit 87a6907172fe8ca0d71ec9065c0d3402b2b0f583
87a6907172 [PSR4] Fix test on NormalizeNamespaceByPSR4ComposerAutoloadRector (#1063)
2021-10-26 00:21:45 +00:00
Tomas Votruba
20d4f35d27 Updated Rector to commit b305c4edf20ef844be4ce482dafbb1849518bf06
b305c4edf2 [DX] Decouple PropertyTypeDecorator (#1055)
2021-10-25 11:14:32 +00:00
Tomas Votruba
f4b82f4b45 Updated Rector to commit 7f73cf017214257c170d34db3af7283eaeeab657
7f73cf0172 [automated] Re-Generate Nodes/Rectors Documentation (#1050)
2021-10-24 00:34:27 +00:00
Tomas Votruba
f24d3a51b1 Updated Rector to commit f9fdebfe589e145aacb7b4d4e99f2be80589d2b2
f9fdebfe58 [DowngradePhp74] Handle nested uses on ArrowFunctionToAnonymousFunctionRector (#1040)
2021-10-23 01:58:01 +00:00
Tomas Votruba
20dc105d45 Updated Rector to commit 06994b8ff38f65e68a93633d4430ce16b47f506b
06994b8ff3 [Core] Avoid hang on file has template-extends (#1034)
2021-10-22 03:28:32 +00:00
Tomas Votruba
f3f7bbc63b Updated Rector to commit 1f2a4e9eac6d4ae152a37ca5528799b0a965e814
1f2a4e9eac Check for  instance in  (#1033)
2021-10-21 07:30:29 +00:00
Tomas Votruba
1099eab862 Updated Rector to commit 36fc840488d73e890869a36ce876b9cdea3f78eb
36fc840488 Trigger notification (#1027)
2021-10-20 01:31:18 +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
cdbc308200 Updated Rector to commit 33e5cab8d53facaa6753fc26b755e9ce3634d940
33e5cab8d5 [DowngradePhp80] Handle Throw Exception on DowngradeMatchToSwitchRector (#1019)
2021-10-18 08:52:15 +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
6409895073 Updated Rector to commit caba58dfd0b2fb8494ad88e65eec3aa051297e6b
caba58dfd0 [PHPStan] Clean up PHPStan ignore error (#1008)
2021-10-16 09:57:47 +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
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
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
3163961fe7 Updated Rector to commit 90c1d09a33d2675b5b60d8bc08d3853cfbfcf75a
90c1d09a33 [PHPStanStaticTypeMapper] Add UnionTypeAnalyzer::isNullable() (#987)
2021-10-12 01:37:01 +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
9056c6c3a5 Updated Rector to commit 3c0cb22a58e6b8dc4195631046ba4a62ceabf279
3c0cb22a58 [automated] Re-Generate Nodes/Rectors Documentation (#984)
2021-10-10 00:30:12 +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
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
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
Tomas Votruba
da81700dfe Updated Rector to commit 0b84824190447f3d35ac7bdca62723d889957fe6
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
9c7734ab41 Updated Rector to commit 363e7910e7360dcee746370de90c3c51eae306a9
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
75becd3a6c Updated Rector to commit 01b39f585bc2b445b67ade5f9d8e67fce04f3a5d
01b39f585b Remove moved phsptan rules (#933)
2021-09-30 12:35:12 +00:00
Tomas Votruba
82e31fbd26 Updated Rector to commit d21dcc3ce357fade02860ae611a6d1baf7dcc975
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 17cfa9f376b5b4a00a34e3b09ac48e7bd812be3f
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 59aded96ec9ed304fcff2c638075d222c5e7b8c6
59aded96ec bump symplify version
2021-09-27 12:26:58 +00:00
Tomas Votruba
4e6d051524 Updated Rector to commit f2132237d628f96c26c2120a83801500556614c6
f2132237d6 [automated] Apply Coding Standard (#922)
2021-09-26 00:28:25 +00:00
Tomas Votruba
038e6331b2 Updated Rector to commit ddd8e8590204619d9273705f9e6a44cd11bacbcd
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 57a6d7af31dd2a0c38b96677c7c3e441cfd64401
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 5ff4058f93d323ff2f1f43fba16ccb8521b5c0ae
5ff4058f93 [NodeTypeResolver] Skip Auto import from doc in used namespace on NameImportingPhpDocNodeVisitor (#912)
2021-09-22 17:53:44 +00:00