Commit Graph

1177 Commits

Author SHA1 Message Date
Tomas Votruba
6a9f454c15 Updated Rector to commit fed8756bac
fed8756bac [PHPStan] Remove phpstan <=0.12.99 from conflict config (#1175)
2021-11-07 06:24:52 +00:00
Tomas Votruba
7f56f8ae35 Updated Rector to commit 66800f00f1
66800f00f1 [Scoped] Fixing Scoped build bin rector.php (#1174)
2021-11-07 04:15:35 +00:00
Tomas Votruba
2b0c5910b7 Updated Rector to commit 3c3340f943
3c3340f943 fix cs
2021-11-06 16:28:27 +00:00
Tomas Votruba
f672f1b109 Updated Rector to commit 8f7fea0925
8f7fea0925 remove deprecated FILE_INFO const attribute
2021-11-06 16:20:42 +00:00
Tomas Votruba
37d7f8d5dc Updated Rector to commit 938177433d
938177433d Deprecatd METHOD_NAME node (#1169)
2021-11-06 16:18:06 +00:00
Tomas Votruba
ee85d297c4 Updated Rector to commit 8e6701c3c9
8e6701c3c9 Merge ParentFinder to BetterNodeFinder (#1168)
2021-11-06 14:57:23 +00:00
Tomas Votruba
b5ad3a2e08 Updated Rector to commit 824df97e93
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 c3b6efea7e
c3b6efea7e Move from CLASS_NODE attribute to more reliable parent node finder (#1162)
2021-11-06 12:10:48 +00:00
Tomas Votruba
9ef85318a2 Updated Rector to commit e46fe290d8
e46fe290d8 [PhpSpecToPHPUnit] Move outside class to Source when possible (#1165)
2021-11-06 09:49:44 +00:00
Tomas Votruba
110d7b3234 Updated Rector to commit a2154251b4
a2154251b4 [DeadCode] Restore RemoveUnusedPrivatePropertyRector behaviour on no usage outside anonymous class (#1164)
2021-11-06 08:54:26 +00:00
Tomas Votruba
abfdf7ea49 Updated Rector to commit c3e5507d9a
c3e5507d9a [PhpSpecToPHPUnit] Restore PhpSpecToPHPUnitRector behaviour on namespaced name usage (#1163)
2021-11-06 02:59:53 +00:00
Tomas Votruba
bf8d644cbf Updated Rector to commit c31cabf0b3
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 23046668ed
23046668ed [PHPStan 1.0] Remove node naming visitors and re-use PHPStan ones (#1144)
2021-11-05 23:24:22 +00:00
Tomas Votruba
522e8f7eae Updated Rector to commit 09f82ca2c4
09f82ca2c4 [CodeQuality] Remove FixClassCaseSensitivityNameRector, conflicting with name node removal and edge case already handled by PHPStan reports (#1160)
2021-11-05 22:53:47 +00:00
Tomas Votruba
4286dd4a43 Updated Rector to commit b218e334ca
b218e334ca [DowngradePhp74] Add DowngradePreviouslyImplementedInterfaceRector (#1159)
2021-11-05 22:37:42 +00:00
Tomas Votruba
ff1ad0ced7 Updated Rector to commit e79aa9d760
e79aa9d760 [Core][CodingStyle][NodeManipulator] Improve Classes to use BetterNodeFinder instead of NodeFinder when BetterNodeFinder already injected (#1158)
2021-11-05 17:11:17 +00:00
Tomas Votruba
c76f97bfb2 Updated Rector to commit 49aa15dbfb
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 0c3527ebd8
0c3527ebd8 Make UseAnalyzer use object without keys (#1156)
2021-11-05 13:55:26 +00:00
Tomas Votruba
4d0c6bbe60 Updated Rector to commit 9d626ea104
9d626ea104 [Renaming] Rename class method implements interface with method exists (#1155)
2021-11-05 13:48:57 +00:00
Tomas Votruba
5cbc501c15 Updated Rector to commit 2906122a77
2906122a77 fix array name
2021-11-05 12:58:17 +00:00
Tomas Votruba
8c3ab8ea78 Updated Rector to commit 54a25e07de
54a25e07de add union alias test
2021-11-05 11:34:48 +00:00
Tomas Votruba
290b7a0522 Updated Rector to commit cf516201b8
cf516201b8 misc (#1154)
2021-11-05 11:26:12 +00:00
Tomas Votruba
0ded6c5dae Updated Rector to commit 938dbc0893
938dbc0893 improve UseAnalyzerTest
2021-11-05 11:15:05 +00:00
Tomas Votruba
61ef62bb22 Updated Rector to commit 9b686376e5
9b686376e5 [PostRector] Improve UseNodesToAddCollector (#1151)
2021-11-05 10:26:23 +00:00
Tomas Votruba
d42bc5b694 Updated Rector to commit 1e94a70450
1e94a70450 [DowngradePhp72] Improve DowngradeParameterTypeWideningRector (#1150)
2021-11-05 10:25:23 +00:00
Tomas Votruba
d5469fb5cf Updated Rector to commit 502cc04dac
502cc04dac Add UseAnalyzer test + use returned variables (#1148)
2021-11-05 00:34:16 +00:00
Tomas Votruba
bcf5df49d8 Updated Rector to commit f9f4b93ab9
f9f4b93ab9 Add UseManipulatorTest (#1149)
2021-11-05 00:25:28 +00:00
Tomas Votruba
aab21d01fd Updated Rector to commit 3706416e7c
3706416e7c Add test case with union partials (#1147)
2021-11-04 21:09:49 +00:00
Tomas Votruba
0dac24df6c Updated Rector to commit 78f7f0dec1
78f7f0dec1 Add ShortNameResolver test (#1146)
2021-11-04 20:44:47 +00:00
Tomas Votruba
c6e32aa319 Updated Rector to commit 5c32bd09e7
5c32bd09e7 Remove FileNodeVisitor, available in AbstractRector (#1145)
2021-11-04 19:17:47 +00:00
Tomas Votruba
504a41770d Updated Rector to commit f8e04774ad
f8e04774ad Fixing scoped build (#1143)
2021-11-04 15:30:20 +00:00
Tomas Votruba
8db8a4be7b Updated Rector to commit 6cbc5d4caf
6cbc5d4caf [Naming] Use aliased when exists on RenamePropertyToMatchTypeRector on promoted property (#1125)
2021-11-03 09:28:30 +00:00
Tomas Votruba
77842319c1 Updated Rector to commit 10538f9f24
10538f9f24 [Php 81] Add Php81ResourceReturnToObjectRector (#1114)
2021-11-03 09:07:29 +00:00
Tomas Votruba
c69bc27db8 Updated Rector to commit b119422428
b119422428 [TypeDeclaration] Skip ternary on ParamTypeByMethodCallTypeRector (#1131)
2021-11-03 09:04:47 +00:00
Tomas Votruba
f83732a356 Updated Rector to commit 6cbc5d4caf
6cbc5d4caf [Naming] Use aliased when exists on RenamePropertyToMatchTypeRector on promoted property (#1125)
2021-11-03 09:03:16 +00:00
Tomas Votruba
31a19d91a2 Updated Rector to commit 37ade3fd6b
37ade3fd6b [DeadCode] Handle bool var if cond return true next return bool var on RemoveDuplicatedIfReturnRector (#1136)
2021-11-03 08:59:31 +00:00
Tomas Votruba
eec0bf7d81 Updated Rector to commit c86a6eaccb
c86a6eaccb add missing NetteComponentFactoryInterfaceAnalyzer
2021-11-03 08:53:54 +00:00
Tomas Votruba
4ca6af551e Updated Rector to commit aab9bcfa92
aab9bcfa92 Trigger CI to test removed classes in separate packages (#1135)
2021-11-03 00:08:12 +00:00
Tomas Votruba
7e28d6f888 Updated Rector to commit 5ff5c7d1ac
5ff5c7d1ac drop outdated UPGRADE file, see releases instead
2021-11-02 20:37:54 +00:00
Tomas Votruba
233848dc76 Updated Rector to commit 083ae923f8
083ae923f8 remove unused patch, now fixed in symfony/console
2021-11-02 20:36:39 +00:00
Tomas Votruba
afdf157297 Updated Rector to commit ff45ce65dd
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 b7d37b828e
b7d37b828e Remove dead classes (#1133)
2021-11-02 16:51:44 +00:00
Tomas Votruba
40f2bcdb1e Updated Rector to commit 29b79786e2
29b79786e2 add getStringValue() to value resolver (#1130)
2021-11-02 15:11:40 +00:00
Tomas Votruba
a3dbd26c74 Updated Rector to commit 954ffad1e5
954ffad1e5 extend MethodCallRenameInterface contract with getClass() (#1129)
2021-11-02 09:33:40 +00:00
Tomas Votruba
c7efc375b8 Updated Rector to commit df233273aa
df233273aa [DeadCode] Skip dynamic fetch method call on RemoveUnusedPrivateMethodRector (#1128)
2021-11-02 08:30:09 +00:00
Tomas Votruba
e19ec3e214 Updated Rector to commit 8e9ef8786e
8e9ef8786e [DeadCode] Skip Union with Interface on RemoveUselessParamTagRector (#1127)
2021-11-02 08:10:20 +00:00
Tomas Votruba
2e028e5734 Updated Rector to commit 2b09156f51
2b09156f51 [PHPStan] Skip PHPStan error message on RectorConfigsResolver check realpath (#1126)
2021-11-01 18:00:00 +00:00
Tomas Votruba
20d25ed33b Updated Rector to commit 539f70a5b5
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 99dfbea361
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 222f44fd74
222f44fd74 update namespace for ContainerBuilderFactory
2021-11-01 15:16:28 +00:00