291 Commits

Author SHA1 Message Date
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
ee85d297c4 Updated Rector to commit 8e6701c3c93501bb84e388d9e3aae349012c5cc1
8e6701c3c9 Merge ParentFinder to BetterNodeFinder (#1168)
2021-11-06 14:57:23 +00:00
Tomas Votruba
a42ac7439f Updated Rector to commit c3b6efea7ee5351ce66461fe02c5f9b7282816bb
c3b6efea7e Move from CLASS_NODE attribute to more reliable parent node finder (#1162)
2021-11-06 12:10:48 +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
afdf157297 Updated Rector to commit ff45ce65dd03e48bc4c63d4d68d4a9c7549c8698
ff45ce65dd Remove dead classes #2, remove unused PlatformAgnosticAssertions, remove ConsoleShowOutputFormatter (#1134)
2021-11-02 20:06:11 +00:00
Tomas Votruba
8e7dd2e640 Updated Rector to commit b7d37b828e90ea52b8f83eadc825598f087e27e6
b7d37b828e Remove dead classes (#1133)
2021-11-02 16:51:44 +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
a94a50e863 Updated Rector to commit e525dad6ab1a005e79b751f4cfb1eaf94ae3c90f
e525dad6ab [PHPStan 1.0] Use Nette filesystem over phpstan filewriter (#1115)
2021-10-30 14:18:31 +00:00
Tomas Votruba
9eb3a9755c Updated Rector to commit e5186a79b48bd11252f78a6439d8cd43d65a7f64
e5186a79b4 Improve InflectorSingularResolver (#1108)
2021-10-30 00:06:50 +00:00
Tomas Votruba
76ed56b260 Updated Rector to commit c6d2339cb72f51d572918054389e04582619f16b
c6d2339cb7 Add InflectorSingularResolverTest (#1107)
2021-10-29 23:49:05 +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
192b2b5c45 Updated Rector to commit e060d008baa27f0aef19b7758f81fb2b4f475c32
e060d008ba Decopule helper template/mixin services from PHPStanNodeScopeResolver (#1067)
2021-10-26 09:20:50 +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
070eedc010 Updated Rector to commit fd5edffa386fba605d2a4243d67e56e78571d7a5
fd5edffa38 [TypeDeclaration] Add TypedPropertyFromStrictGetterMethodReturnTypeRector (#1048)
2021-10-23 21:09:26 +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
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
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