4739 Commits

Author SHA1 Message Date
Tomas Votruba
750add220d Updated Rector to commit 305c524662a3b21de171afd536ee3e3fc9db9178
305c524662 [TypeDeclaration] Improve typed property (#1221)
2021-11-13 00:51:27 +00:00
Tomas Votruba
242b962a2d Updated Rector to commit f775b6e0ebaed4db70e675ba4fa066c36a74dc3a
f775b6e0eb [DeadCode][TypeDeclaration] Handle Nullable Param on RemoveUnusedPrivateMethodParameterRector+RemoveUnreachableStatementRector+AddArrayParamDocTypeRector (#1216)
2021-11-12 19:23:33 +00:00
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
8566f586c9 Updated Rector to commit cd217264b75e2b7ace93c46f346d32916e2d9809
cd217264b7 [Scoped] Include scoped-autoload for tests too
2021-11-10 18:26:32 +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
4612216b87 Updated Rector to commit e777553f592d17f346fcc96c138d7cf55417370d
e777553f59 [Downgrade PHP 5.5] Add DowngradeClassConstantToStringRector (#1194)
2021-11-09 15:43:24 +00:00
Tomas Votruba
0fea0fdc92 Updated Rector to commit 08ce1d06edc631bbe6c92482cc82dd35f8d387f6
08ce1d06ed [Php70] Avoid error Undefined property: PhpParser\Node\Stmt\Class_:: on ThisCallOnStaticMethodToStaticCallRector (#1197)
2021-11-09 13:36:07 +00:00
Tomas Votruba
3601e07ec8 Updated Rector to commit 65b389256326b60656831862ebfb7c898326856f
65b3892563 bump deps
2021-11-09 12:04:54 +00:00
Tomas Votruba
b8ef7203ef Updated Rector to commit 4ac7fa44bd095eabf66386da273d7a84db8ee10e
4ac7fa44bd [DowngradePhp81][DowngradePhp80] Add DowngradePhp81ResourceReturnToObjectRector and DowngradePhp80ResourceReturnToObjectRector (#1190)
2021-11-08 18:56:59 +00:00
Tomas Votruba
5bf8f08e83 Updated Rector to commit cb74bb6083dbb2036d61b3efcc2512814db19a48
cb74bb6083 Prove bug with inverseJoinColumns (#1142)
2021-11-08 14:26:22 +00:00
Tomas Votruba
eb5063b360 Updated Rector to commit e899eaaabe577485566ec0e521a69777090cb3ee
e899eaaabe [TypeDeclaration] Skip nullable self referencing param and return on AddArrayParamDocTypeRector and ReturnTypeDeclarationRector (#1183)
2021-11-08 12:42:42 +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
d0e0ad7a46 Updated Rector to commit f98994d5dca0df0a93487b01eb8c73288cb92897
f98994d5dc [Downgrade PHP 5.6] Add DowngradeExponentialOperatorRector (#1181)
2021-11-07 18:22:19 +00:00
Tomas Votruba
545879c4de Updated Rector to commit 9614997c78837ffe3755eb2584473213a290c8ed
9614997c78 [Parallel] Add SerializableInterface to File, RectorError and FileDiff value objects (#1178)
2021-11-07 14:41: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
2b0c5910b7 Updated Rector to commit 3c3340f943e6e48ef3f23b54d99e967ce9948b2c
3c3340f943 fix cs
2021-11-06 16:28:27 +00:00
Tomas Votruba
f672f1b109 Updated Rector to commit 8f7fea0925cc00d35b1607122b8719f8d7597007
8f7fea0925 remove deprecated FILE_INFO const attribute
2021-11-06 16:20:42 +00:00
Tomas Votruba
37d7f8d5dc Updated Rector to commit 938177433d0bb01375c92dd9111071f0f57680f3
938177433d Deprecatd METHOD_NAME node (#1169)
2021-11-06 16:18:06 +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
b5ad3a2e08 Updated Rector to commit 824df97e93bb43baca8f22a6f6a0f537a0049dd6
824df97e93 [DX] Move from CLASS_METHOD node attribute to parent finder (#1167)
2021-11-06 14:25:01 +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
4743880dc6 Updated Rector to commit 23046668ed10da4dbe39cbefdeb4c10fa478b81d
23046668ed [PHPStan 1.0] Remove node naming visitors and re-use PHPStan ones (#1144)
2021-11-05 23:24:22 +00:00
Tomas Votruba
c76f97bfb2 Updated Rector to commit 49aa15dbfb1932401ae68310c4064c273259ea4e
49aa15dbfb [CodingStyle] Deprecate RemoveUnusedAliasRector, job rather for coding standard tool and opinonated (#1157)
2021-11-05 14:38:48 +00:00
Tomas Votruba
a666365958 Updated Rector to commit 0c3527ebd8f871d71119b46e00cb001680fe76c1
0c3527ebd8 Make UseAnalyzer use object without keys (#1156)
2021-11-05 13:55:26 +00:00
Tomas Votruba
290b7a0522 Updated Rector to commit cf516201b8a51b08852e5f6e2c9c60cd3cd48992
cf516201b8 misc (#1154)
2021-11-05 11:26:12 +00:00
Tomas Votruba
61ef62bb22 Updated Rector to commit 9b686376e5f032a9aed653da850bffb3db711a30
9b686376e5 [PostRector] Improve UseNodesToAddCollector (#1151)
2021-11-05 10:26:23 +00:00
Tomas Votruba
d5469fb5cf Updated Rector to commit 502cc04dacff9c8b3ff1297878968e90ae4e55d0
502cc04dac Add UseAnalyzer test + use returned variables (#1148)
2021-11-05 00:34:16 +00:00
Tomas Votruba
bcf5df49d8 Updated Rector to commit f9f4b93ab9f63fd775391446f3b749d9abcca5b7
f9f4b93ab9 Add UseManipulatorTest (#1149)
2021-11-05 00:25:28 +00:00
Tomas Votruba
c6e32aa319 Updated Rector to commit 5c32bd09e7a3436116186fa3ff2d65f560b5fe04
5c32bd09e7 Remove FileNodeVisitor, available in AbstractRector (#1145)
2021-11-04 19:17:47 +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
8db8a4be7b Updated Rector to commit 6cbc5d4caf64061bd69834a394573f78520f3dd1
6cbc5d4caf [Naming] Use aliased when exists on RenamePropertyToMatchTypeRector on promoted property (#1125)
2021-11-03 09:28:30 +00:00
Tomas Votruba
c69bc27db8 Updated Rector to commit b11942242883c965756d02faba8357884df8131c
b119422428 [TypeDeclaration] Skip ternary on ParamTypeByMethodCallTypeRector (#1131)
2021-11-03 09:04:47 +00:00
Tomas Votruba
f83732a356 Updated Rector to commit 6cbc5d4caf64061bd69834a394573f78520f3dd1
6cbc5d4caf [Naming] Use aliased when exists on RenamePropertyToMatchTypeRector on promoted property (#1125)
2021-11-03 09:03:16 +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
20d25ed33b Updated Rector to commit 539f70a5b55e3e6964f3f6651a64fe6c6b86416d
539f70a5b5 [Php70][Visibility] Avoid error Argument #1 () must be of type PHPStan\Analyser\Scope, null given (#1120)
2021-11-01 16:20:41 +00:00
Tomas Votruba
53905d9ec8 Updated Rector to commit 99dfbea361b6a84f5f89d8ef681b344650c19957
99dfbea361 Fix parent converting of union type based on token position (#1123)
2021-11-01 15:44:03 +00:00
Tomas Votruba
79e2c681df Updated Rector to commit 222f44fd7490db0bea0d88835381ce0e3012b748
222f44fd74 update namespace for ContainerBuilderFactory
2021-11-01 15:16:28 +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
bc0758f741 Updated Rector to commit 4ddd98618df414831bf79c42fb29aab22b3cb81e
4ddd98618d [TypeDeclaration] Add mixed[] array back on complex class-string structure on CompleteVarDocTypePropertyRector (#1116)
2021-10-30 15:59:53 +00:00
Tomas Votruba
31b82ed68d Updated Rector to commit 6a894b4939070e3e1f62b61a1ce9755203951ac8
6a894b4939 [PHPStan 1.0] Remove sorted union types, now handled by default (#1112)
2021-10-30 14:20:34 +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
87204a6592 Updated Rector to commit cfcd16acc7620cf95de1d72edd12265c05e12f12
cfcd16acc7 [PHPStan 1.0] Use processNodes() over processNodeStmts() (#1111)
2021-10-30 13:46:34 +00:00
Tomas Votruba
c90fff5b41 Updated Rector to commit 95ad690d94aacddc72af7ab6c33be0d4d15db22c
95ad690d94 [PHPStan 1.0] use selectFromArgs() for function reflectoin to get passed by reference positoins (#1113)
2021-10-30 13:43:30 +00:00
Tomas Votruba
9eb3a9755c Updated Rector to commit e5186a79b48bd11252f78a6439d8cd43d65a7f64
e5186a79b4 Improve InflectorSingularResolver (#1108)
2021-10-30 00:06:50 +00:00