Tomas Votruba
f2b4b95aa2
Updated Rector to commit dbf132092a
...
dbf132092a
[Php71] Skip property fetch array assigned in method call on __construct on CountOnNullRector (#1698 )
2022-01-19 08:54:57 +00:00
Tomas Votruba
c00c31fd50
Updated Rector to commit 1c7460bcfc
...
1c7460bcfc
[Privatization] Skip ChangeReadOnlyVariableWithDefaultValueToConstantRector when local variable never used (#1693 )
2022-01-18 07:55:51 +00:00
Tomas Votruba
165b238ab7
Updated Rector to commit 94e7ac8ef8
...
94e7ac8ef8
[Naming] Fix property interface and underscore naming (#1689 )
2022-01-17 00:12:52 +00:00
Tomas Votruba
caf39c6999
Updated Rector to commit 72de31e70f
...
72de31e70f
Ensure autoloader is loaded in globally installed Rector (#1683 )
2022-01-16 01:39:16 +00:00
Tomas Votruba
7bec35aee9
Updated Rector to commit 80882ad175
...
80882ad175
[TypeDeclaration] Skip Throw_ in construct and as Expr on ReturnNeverTypeRector (#1679 )
2022-01-15 08:52:41 +00:00
Tomas Votruba
903c96a6c2
Updated Rector to commit 6ea0032a70
...
6ea0032a70
[CodeQuality] Do not add \ on static on CallableThisArrayToAnonymousFunctionRector (#1671 )
2022-01-14 09:27:49 +00:00
Tomas Votruba
89982c6c94
Updated Rector to commit 2607c2a79b
...
2607c2a79b
[Php81] Add NullToStrictStringFuncCallArgRector (#1655 )
2022-01-13 13:02:46 +00:00
Tomas Votruba
c6d9c4e26b
Updated Rector to commit fd34e6c925
...
fd34e6c925
Do not remove final modifier from private constructors (#1663 )
2022-01-12 10:12:35 +00:00
Tomas Votruba
ddc2f64433
Updated Rector to commit 2676f89d13
...
2676f89d13
[PhpAttribute] Fix array key of class constant reference (#1659 )
2022-01-11 15:18:02 +00:00
Tomas Votruba
a5aef684ff
Updated Rector to commit e27e483094
...
e27e483094
[Core] BetterStandardPrinter performance improvement with unnecessary regex check on no Closure Uses and no ClassMethod ReturnType (#1653 )
2022-01-10 00:03:45 +00:00
Tomas Votruba
3df670f627
Updated Rector to commit 4ab2ab5850
...
ea2ea17385
[automated] Re-Generate Nodes/Rectors Documentation 4ab2ab5850
Merge pull request #1650 from rectorphp/automated-regenerated-nodes-rectors-documentation
2022-01-09 10:54:09 +00:00
Tomas Votruba
d60e53c3ca
Updated Rector to commit 1f7170df9e
...
81b7411267
Fix access to optional array key when using function 1f7170df9e
Merge pull request #1648 from ste93cry/fix-phpstan-access-to-undefined-array-key
2022-01-08 00:28:55 +00:00
Tomas Votruba
300503afe6
Updated Rector to commit f42b3f91e2
...
8d64aee223
Fix memory leak b5dce9edd7
Further improvement f42b3f91e2
Merge pull request #1643 from ondrejmirtes/fix-memory-leak
2022-01-07 00:57:38 +00:00
Tomas Votruba
88a06d884f
Updated Rector to commit 840bd5e3e6
...
d8609d9225
[Parallel] Unsupported files are not skipped 840bd5e3e6
Merge pull request #1638 from gander/main
2022-01-05 11:30:27 +00:00
Tomas Votruba
eaa95768d6
Updated Rector to commit f900476469
...
f900476469
[Downgrade 7.0] Fix value calls that do not lex in PHP 5.6 (#1615 )
2022-01-04 01:08:47 +00:00
Tomas Votruba
dd6ffa61b2
Updated Rector to commit 9baf531477
...
9baf531477
Avoid clearing the cache while saving it on parallel (#1616 )
2022-01-03 05:20:02 +00:00
Tomas Votruba
ffcf6171ac
Updated Rector to commit 9c6a6b0422
...
9c6a6b0422
[automated] Re-Generate Nodes/Rectors Documentation (#1612 )
2022-01-02 00:31:07 +00:00
Tomas Votruba
1a5260ef5d
Updated Rector to commit b8a527c07e
...
b8a527c07e
DowngradeSelfTypeDeclarationRector: Fix example output (#1606 )
2022-01-01 11:02:34 +00:00
Tomas Votruba
b1cba49930
Updated Rector to commit 311ffc6ec3
...
311ffc6ec3
[Php81] Skip ReadOnlyPropertyRector on Clone (#1599 )
2021-12-31 09:04:07 +00:00
Tomas Votruba
825d9bd12b
Updated Rector to commit 8648410c86
...
8648410c86
[Scoped] Fixing downgrade part 2 (#1597 )
2021-12-30 16:07:15 +00:00
Tomas Votruba
486b7bee9f
Updated Rector to commit 068369e632
...
068369e632
fix: add failing test and fix for repeated numeric strings (#1591 )
2021-12-30 08:15:26 +00:00
Tomas Votruba
5f4bbd4591
Updated Rector to commit 5181bf9016
...
5181bf9016
Update to PHPStan ^1.3 (#1589 )
2021-12-29 23:18:00 +00:00
Tomas Votruba
aced4967b7
Updated Rector to commit fa7249028c
...
fa7249028c
[Scoped] Fix PHP71_BIN_PATH: unbound variable on local full_build.sh (#1586 )
2021-12-28 12:08:43 +00:00
Tomas Votruba
901fe8ed44
Updated Rector to commit 68dde1af51
...
68dde1af51
[TypeDeclaration] Skip controller render method on @var to type declaratoin (#1576 )
2021-12-27 11:31:14 +00:00
Tomas Votruba
12ae680f84
Updated Rector to commit 1ac835fca7
...
1ac835fca7
[automated] Re-Generate Nodes/Rectors Documentation (#1570 )
2021-12-26 00:38:36 +00:00
Tomas Votruba
4c463f51f8
Updated Rector to commit 09fa15238a
...
09fa15238a
[Core] Use StaticNonPhpFileSuffixes value object in PhpFilesFinder (#1562 )
2021-12-25 12:44:33 +00:00
Tomas Votruba
d09e8c256a
Updated Rector to commit 89c3483001
...
89c3483001
[TypeDeclaratoin] Add AccessoryLiteralStringType to static type mapper (#1558 )
2021-12-24 01:23:52 +00:00
Tomas Votruba
80c023c646
Updated Rector to commit 8f8685af81
...
8f8685af81
[Scoped] Update full_build.sh Local script to test locally to avoid error on php 7.1 and 7.2 (#1552 )
2021-12-23 10:41:56 +00:00
Tomas Votruba
e378a052e4
Updated Rector to commit 3f80cd0543
...
3f80cd0543
[Core] Refactor RectifiedAnalyzer: no longer need check PhpDocInfo->hasChanged() (#1545 )
2021-12-22 11:07:14 +00:00
Tomas Votruba
16f4095ade
Updated Rector to commit 6861ae9a4f
...
6861ae9a4f
Merge VarDocPropertyTypeInferer (#1543 )
2021-12-21 23:27:28 +00:00
Tomas Votruba
84f68c601f
Updated Rector to commit daa44253f9
...
daa44253f9
[DowngradePhp74][DowngradePhp80] Apply ternary with method_exists on DowngradeReflectionGetTypeRector + DowngradeReflectionGetAttributesRector (#1530 )
2021-12-20 12:13:23 +00:00
Tomas Votruba
9ca383a82e
Updated Rector to commit 0cc56b0a0b
...
0cc56b0a0b
[automated] Re-Generate Nodes/Rectors Documentation (#1522 )
2021-12-19 00:36:48 +00:00
Tomas Votruba
d358c43350
Updated Rector to commit 4e0a1ce694
...
4e0a1ce694
[Php80] Handle double quoted sql statement annotation on AnnotationToAttributeRector (#1516 )
2021-12-18 10:25:56 +00:00
Tomas Votruba
0bc44a07f1
Updated Rector to commit 4bac761fc8
...
4bac761fc8
[DeadCode] Skip parent not found on RemoveParentCallWithoutParentRector (#1510 )
2021-12-17 00:05:48 +00:00
Tomas Votruba
e24fd607c2
Updated Rector to commit 6bd25c8094
...
6bd25c8094
[CodingStyle] Skip new line on ConsistentPregDelimiterRector (#1506 )
2021-12-16 10:12:20 +00:00
Tomas Votruba
0b00c0b487
Updated Rector to commit 3417ff434b
...
3417ff434b
[TypeDeclaration] Remove CompleteVarDocTypePropertyRector, is handled by split rules (#1500 )
2021-12-15 00:48:30 +00:00
Tomas Votruba
b2218b1dc3
Updated Rector to commit a7fe982fcb
...
a7fe982fcb
[Renaming] Handle Rename before AttributeGroup on RenameClassRector (#1481 )
2021-12-14 08:14:22 +00:00
Tomas Votruba
c2d4952c88
Updated Rector to commit 2bde6b3262
...
2bde6b3262
[Core] Fix undefined constant ReflectionClassConstant::IS_PUBLIC in php 7.x (#1474 )
2021-12-13 12:09:12 +00:00
Tomas Votruba
b3d73e0955
Updated Rector to commit a9290c8911
...
a9290c8911
[automated] Re-Generate preload.php (#1468 )
2021-12-12 00:33:56 +00:00
Tomas Votruba
a893773fb3
Updated Rector to commit f2e58a222f
...
f2e58a222f
[Scoped] Fix downgrade rector-generator (#1461 )
2021-12-11 09:27:25 +00:00
Tomas Votruba
3266f22182
Updated Rector to commit 1d409bc35b
...
1d409bc35b
safe by default
2021-12-10 10:22:23 +00:00
Tomas Votruba
058d52567d
Updated Rector to commit c621d7650d
...
c621d7650d
[TypeDeclaration] Add void upper inner function has return on ReturnTypeDeclarationRector (#1447 )
2021-12-10 09:57:54 +00:00
Tomas Votruba
8c4aedacef
Updated Rector to commit fa31841d4d
...
fa31841d4d
[DX] Warn about deprecated constant configuration (#1444 )
2021-12-10 00:25:09 +00:00
Tomas Votruba
6472f7f4fb
Updated Rector to commit fc383cc011
...
fc383cc011
[Scoped] Fix exclude symfony/console/Tester (#1438 )
2021-12-09 13:05:29 +00:00
Tomas Votruba
e20b5e5d47
Updated Rector to commit 2800a83dad
...
2800a83dad
[DX] Decouple AssignVariableNameResolver (#1427 )
2021-12-08 15:55:52 +00:00
Tomas Votruba
4a64f24f19
Updated Rector to commit 7053e9acd1
...
7053e9acd1
[DX] Replace deprecated danielstjules/stringy with Symfony\String (#1425 )
2021-12-08 09:09:46 +00:00
Tomas Votruba
6ee24b2d05
Updated Rector to commit b2947fd96f
...
b2947fd96f
[Alternative][Validation] Add AllowEmptyConfigurableRectorInterface interface for alternative to not show warning on allowed rector rule to have default fallback config (#1422 )
2021-12-08 05:39:17 +00:00
Tomas Votruba
616997a2f0
Updated Rector to commit fb58a4d54a
...
fb58a4d54a
[vendor-patches] Add back patches/danielstjules-stringy-src-stringy-php.patch to patches directory (#1411 )
2021-12-07 03:18:07 +00:00
Tomas Votruba
d66e622e1b
Updated Rector to commit dda87fc6d2
...
dda87fc6d2
[VendorLocker] Allow both in vendor for child and parent on ParentClassMethodTypeOverrideGuard (#1399 )
2021-12-06 06:57:16 +00:00
Tomas Votruba
e0bea39594
Updated Rector to commit 5bf6e17af0
...
5bf6e17af0
Revert [DowngradePhp81] Follow parent return type on DowngradeNeverTypeDeclarationRector (#1395 ) (#1397 )
2021-12-05 17:32:40 +00:00
Tomas Votruba
d7a85fe86b
Updated Rector to commit 96cf57b15b
...
96cf57b15b
[DowngradePhp81] Follow parent return type on DowngradeNeverTypeDeclarationRector (#1395 )
2021-12-05 13:55:36 +00:00
Tomas Votruba
e6aa910018
Updated Rector to commit 2fbc1d4742
...
2fbc1d4742
[automated] Re-Generate preload.php (#1393 )
2021-12-05 00:35:00 +00:00
Tomas Votruba
c726969380
Updated Rector to commit fc10fce13d
...
fc10fce13d
[Rectify] [Php81] Enable Rectify on Readonly Property only (#1384 )
2021-12-04 12:47:17 +00:00
Tomas Votruba
4a5f1c82b3
Updated Rector to commit 8547bdba9d
...
8547bdba9d
[Php81] Skip ReadOnlyPropertyRector on Entity id (#1379 )
2021-12-04 07:57:42 +00:00
Tomas Votruba
8a92b6daba
Updated Rector to commit 49d6cc0dfa
...
49d6cc0dfa
[Php 8.1 Dep] Update stringy vendor patches to update with #[\ReturnTypeWillChange] (#1370 )
2021-12-03 04:56:40 +00:00
Tomas Votruba
768d809544
Updated Rector to commit 3f07f38426
...
3f07f38426
VisibilityManipulator adjustment (#1362 )
2021-12-02 07:34:16 +00:00
Tomas Votruba
0988a578ae
Updated Rector to commit 9e81001c68
...
9e81001c68
[Config] Re-enable Config SetList on rector.php (#1360 )
2021-12-01 09:10:03 +00:00
Tomas Votruba
45e393bb77
Updated Rector to commit bc96ddefd4
...
bc96ddefd4
[Scoped] Fix downgrade AsciiSlugger (#1349 )
2021-11-30 07:57:42 +00:00
Tomas Votruba
ccc5a527cd
Updated Rector to commit 4ad4d16ac6
...
4ad4d16ac6
Fix child method check - both on native (#1336 )
2021-11-29 00:11:21 +00:00
Tomas Votruba
11660d59a5
Updated Rector to commit 185ee1b473
...
185ee1b473
[DX] Add strict PHPStan rules - step #4 (#1333 )
2021-11-28 18:05:13 +00:00
Tomas Votruba
3d98187ea1
Updated Rector to commit 39a530c1f5
...
39a530c1f5
[DX] Add strict PHPStan rules - step #2 (#1330 )
2021-11-28 17:01:20 +00:00
Tomas Votruba
0562d594e0
Updated Rector to commit f985e811be
...
f985e811be
[DX] Add strict PHPStan rules - step #1 (#1324 )
2021-11-28 16:42:02 +00:00
Tomas Votruba
40882e2c8b
Updated Rector to commit a8a2577c40
...
a8a2577c40
[automated] Re-Generate Nodes/Rectors Documentation (#1325 )
2021-11-28 00:36:13 +00:00
Tomas Votruba
48f2d98170
Updated Rector to commit 40ec551978
...
40ec551978
[DeadCode] Add support remove unused in between private method parameter for RemoveUnusedPrivateMethodParameterRector (#1321 )
2021-11-27 09:53:00 +00:00
Tomas Votruba
738852dc1a
Updated Rector to commit 1255b91c20
...
1255b91c20
[PHP 8.2] Add rule for AllowDynamicProperties attribute (#1225 )
2021-11-26 11:19:23 +00:00
Tomas Votruba
27f9fb751d
Updated Rector to commit 9ba0f6305f
...
9ba0f6305f
[DeadCode] Add RemoveUnusedParamInRequiredAutowireRector (#1301 )
2021-11-25 05:43:26 +00:00
Tomas Votruba
786528284b
Updated Rector to commit f8e8efa728
...
f8e8efa728
Update how_it_works.md (#1293 )
2021-11-24 00:11:27 +00:00
Tomas Votruba
b21c7e2dc8
Updated Rector to commit 21c9c1c16d
...
21c9c1c16d
fix symfony/console compatibility break with psr/log
2021-11-23 13:20:36 +00:00
Tomas Votruba
3c750baf30
Updated Rector to commit f5d4f9dd76
...
f5d4f9dd76
[Php81] Apply constructor promotion on NewInInitializerRector (#1288 )
2021-11-22 09:01:31 +00:00
Tomas Votruba
cae65c2537
Updated Rector to commit 63ed131c3f
...
63ed131c3f
[automated] Re-Generate Nodes/Rectors Documentation (#1284 )
2021-11-21 00:34:01 +00:00
Tomas Votruba
cd31960a43
Updated Rector to commit 60c06a7fbf
...
60c06a7fbf
fix downgrade
2021-11-20 10:43:40 +00:00
Tomas Votruba
7e333cd42a
Updated Rector to commit 7143376acb
...
7143376acb
[EarlyReturn][Php73] Handle JsonThrowOnErrorRector + ChangeAndIfToEarlyReturnRector (#1272 )
2021-11-19 09:08:20 +00:00
Tomas Votruba
5e0eef55a5
Updated Rector to commit c6473c6a0b
...
c6473c6a0b
[Php81] Fix NewInInitializerRector code sample (#1264 )
2021-11-18 07:58:51 +00:00
Tomas Votruba
ee29ff17d4
Updated Rector to commit f0b639bbaa
...
f0b639bbaa
Update to nikic/php-parser 4.13.1 (#1253 )
2021-11-17 07:16:43 +00:00
Tomas Votruba
01b8ec09d1
Updated Rector to commit 50096d7955
...
50096d7955
[Renaming] Handle var static docblock in union on RenameClassRector (#1248 )
2021-11-16 11:06:23 +00:00
Tomas Votruba
d8ebd1efd5
Updated Rector to commit 5154b53518
...
5154b53518
[TypeDeclaration] Avoid error Rector\Core\Rector\AbstractRector::isObjectType() must implement interface PhpParser\Node, null given on AddParamTypeDeclarationRector (#1239 )
2021-11-15 01:54:27 +00:00
Tomas Votruba
dacadf5e8f
Updated Rector to commit 4b3a51cff9
...
4b3a51cff9
[Naming] Add StaticPropertyFetch support on RenameForeachValueVariableToMatchExprVariableRector (#1232 )
2021-11-14 08:50:26 +00:00
Tomas Votruba
a16c61358a
Updated Rector to commit 9c52c95848
...
9c52c95848
[automated] Re-Generate Nodes/Rectors Documentation (#1228 )
2021-11-14 00:36:15 +00:00
Tomas Votruba
2fe1ccafc6
Updated Rector to commit 096817b1af
...
096817b1af
[CodeQuality] Add do whlie rule to set (#1223 )
2021-11-13 08:43:40 +00:00
Tomas Votruba
7c15063ea7
Updated Rector to commit a26ed1a989
...
a26ed1a989
fix: ignore specified words while making it singularized (#1222 )
2021-11-13 08:28:51 +00:00
Tomas Votruba
750add220d
Updated Rector to commit 305c524662
...
305c524662
[TypeDeclaration] Improve typed property (#1221 )
2021-11-13 00:51:27 +00:00
Tomas Votruba
3a883b2fc9
Updated Rector to commit af81708d80
...
af81708d80
[TypeDeclaration] Skip conditional Throw_ on ReturnNeverTypeRector (#1217 )
2021-11-12 09:48:23 +00:00
Tomas Votruba
9131fc62e0
Updated Rector to commit 2ed0430f4e
...
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 f32035d12f
...
f32035d12f
[TypeDeclaration] Skip Conditional on ReturnNeverTypeRector (#1200 )
2021-11-10 10:27:52 +00:00
Tomas Votruba
0fea0fdc92
Updated Rector to commit 08ce1d06ed
...
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 65b3892563
...
65b3892563
bump deps
2021-11-09 12:04:54 +00:00
Tomas Votruba
cf975f7d4d
Updated Rector to commit b2d1749999
...
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 66800f00f1
...
66800f00f1
[Scoped] Fixing Scoped build bin rector.php (#1174 )
2021-11-07 04:15:35 +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
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
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
bcf5df49d8
Updated Rector to commit f9f4b93ab9
...
f9f4b93ab9
Add UseManipulatorTest (#1149 )
2021-11-05 00:25:28 +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
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
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
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
607db8843e
Updated Rector to commit f3556e6d6d
...
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 da4d598bf0
...
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 e525dad6ab
...
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 e5186a79b4
...
e5186a79b4
Improve InflectorSingularResolver (#1108 )
2021-10-30 00:06:50 +00:00
Tomas Votruba
76ed56b260
Updated Rector to commit c6d2339cb7
...
c6d2339cb7
Add InflectorSingularResolverTest (#1107 )
2021-10-29 23:49:05 +00:00
Tomas Votruba
03298f1783
Updated Rector to commit 0db02e27aa
...
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 e2bbc2fd9d
...
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 d1e09e3d5e
...
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 e060d008ba
...
e060d008ba
Decopule helper template/mixin services from PHPStanNodeScopeResolver (#1067 )
2021-10-26 09:20:50 +00:00
Tomas Votruba
50818a1498
Updated Rector to commit 87a6907172
...
87a6907172
[PSR4] Fix test on NormalizeNamespaceByPSR4ComposerAutoloadRector (#1063 )
2021-10-26 00:21:45 +00:00
Tomas Votruba
20d4f35d27
Updated Rector to commit b305c4edf2
...
b305c4edf2
[DX] Decouple PropertyTypeDecorator (#1055 )
2021-10-25 11:14:32 +00:00
Tomas Votruba
f4b82f4b45
Updated Rector to commit 7f73cf0172
...
7f73cf0172
[automated] Re-Generate Nodes/Rectors Documentation (#1050 )
2021-10-24 00:34:27 +00:00
Tomas Votruba
070eedc010
Updated Rector to commit fd5edffa38
...
fd5edffa38
[TypeDeclaration] Add TypedPropertyFromStrictGetterMethodReturnTypeRector (#1048 )
2021-10-23 21:09:26 +00:00
Tomas Votruba
f24d3a51b1
Updated Rector to commit f9fdebfe58
...
f9fdebfe58
[DowngradePhp74] Handle nested uses on ArrowFunctionToAnonymousFunctionRector (#1040 )
2021-10-23 01:58:01 +00:00
Tomas Votruba
20dc105d45
Updated Rector to commit 06994b8ff3
...
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 1f2a4e9eac
...
1f2a4e9eac
Check for instance in (#1033 )
2021-10-21 07:30:29 +00:00
Tomas Votruba
1099eab862
Updated Rector to commit 36fc840488
...
36fc840488
Trigger notification (#1027 )
2021-10-20 01:31:18 +00:00
Tomas Votruba
4a269dfc0b
Updated Rector to commit d51b8494eb
...
d51b8494eb
[DX] Add DowngradeLevelSetList (#1023 )
2021-10-19 09:00:23 +00:00
Tomas Votruba
cdbc308200
Updated Rector to commit 33e5cab8d5
...
33e5cab8d5
[DowngradePhp80] Handle Throw Exception on DowngradeMatchToSwitchRector (#1019 )
2021-10-18 08:52:15 +00:00
Tomas Votruba
427b9ce357
Updated Rector to commit 8bb31f2556
...
8bb31f2556
[automated] Re-Generate Nodes/Rectors Documentation (#1012 )
2021-10-17 00:30:43 +00:00
Tomas Votruba
6409895073
Updated Rector to commit caba58dfd0
...
caba58dfd0
[PHPStan] Clean up PHPStan ignore error (#1008 )
2021-10-16 09:57:47 +00:00
Tomas Votruba
67d83c7b32
Updated Rector to commit 4e377b26af
...
4e377b26af
Add option of case-insensitive ReplaceStringWithClassConstantRector (#1004 )
2021-10-15 16:34:45 +00:00
Tomas Votruba
fadc7bb98d
Updated Rector to commit bc39e1c3e8
...
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 78c6226bce
...
78c6226bce
Allow resolving names on dynamic property fetch (#996 )
2021-10-13 11:50:37 +00:00
Tomas Votruba
3163961fe7
Updated Rector to commit 90c1d09a33
...
90c1d09a33
[PHPStanStaticTypeMapper] Add UnionTypeAnalyzer::isNullable() (#987 )
2021-10-12 01:37:01 +00:00
Tomas Votruba
c6a9b6bdf0
Updated Rector to commit 65c3a44c63
...
65c3a44c63
[TypedPropertyRector] Handle nullable collection on TypedPropertyRector (#986 )
2021-10-11 06:45:23 +00:00
Tomas Votruba
9056c6c3a5
Updated Rector to commit 3c0cb22a58
...
3c0cb22a58
[automated] Re-Generate Nodes/Rectors Documentation (#984 )
2021-10-10 00:30:12 +00:00
Tomas Votruba
45d3e63a94
Updated Rector to commit ff32aed8c3
...
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 82b689d713
...
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 f2afe8ed6e
...
f2afe8ed6e
[DX] Move from deprecated getStaticType() to getType() (#974 )
2021-10-07 18:52:22 +00:00
Tomas Votruba
61389a9b2c
Updated Rector to commit f6f7431ce7
...
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 f175e5afdf
...
f175e5afdf
[Php74] Skip type hint DummyTraitClass on TypedPropertyRector (#965 )
2021-10-07 07:59:43 +00:00
Tomas Votruba
34fc36ed68
Updated Rector to commit 683077ed2a
...
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 687f9e9de9
...
687f9e9de9
Clean up PHPStan ignore error messages (#954 )
2021-10-05 05:07:42 +00:00
Tomas Votruba
f9c50ad2b9
Updated Rector to commit 1f63ed3e55
...
1f63ed3e55
Reworking trait scope run (#952 )
2021-10-04 21:24:17 +00:00
Tomas Votruba
9d6051f97f
Updated Rector to commit 6bfe013300
...
6bfe013300
[NodeCollector] Add ArrayCallableDynamicMethod value object (#951 )
2021-10-03 08:23:40 +00:00
Tomas Votruba
da81700dfe
Updated Rector to commit 0b84824190
...
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 363e7910e7
...
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 01b39f585b
...
01b39f585b
Remove moved phsptan rules (#933 )
2021-09-30 12:35:12 +00:00
Tomas Votruba
82e31fbd26
Updated Rector to commit d21dcc3ce3
...
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 17cfa9f376
...
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 59aded96ec
...
59aded96ec
bump symplify version
2021-09-27 12:26:58 +00:00
Tomas Votruba
4e6d051524
Updated Rector to commit f2132237d6
...
f2132237d6
[automated] Apply Coding Standard (#922 )
2021-09-26 00:28:25 +00:00
Tomas Votruba
038e6331b2
Updated Rector to commit ddd8e85902
...
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 57a6d7af31
...
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 5ff4058f93
...
5ff4058f93
[NodeTypeResolver] Skip Auto import from doc in used namespace on NameImportingPhpDocNodeVisitor (#912 )
2021-09-22 17:53:44 +00:00
Tomas Votruba
45b3a18479
Updated Rector to commit e09cf113d7
...
e09cf113d7
[DX] Add PhpUpgradeDowngradeRegisteredInSetRule PHPStan rule (#905 )
2021-09-21 11:16:07 +00:00
Tomas Votruba
5933e0d5f0
Updated Rector to commit e78fadd24d
...
e78fadd24d
[Php74] Handle conflict with alias on TypedPropertyRector (#899 )
2021-09-20 11:23:02 +00:00
Tomas Votruba
495580024a
Updated Rector to commit a19687ce9d
...
a19687ce9d
[automated] Re-Generate preload.php (#901 )
2021-09-19 00:28:26 +00:00
Tomas Votruba
883dd9f677
Updated Rector to commit 1e3e5dff59
...
1e3e5dff59
[CodingStyle] Handle too detailed pair class string array on VarConstantCommentRector (#897 )
2021-09-17 19:38:24 +00:00
Tomas Votruba
1257466608
Updated Rector to commit 00e0f49b9d
...
00e0f49b9d
[Php80] Skip Ternary indirect usage with null else on NullsafeOperatorRector (#891 )
2021-09-16 10:24:17 +00:00
Tomas Votruba
e6b6f5b661
Updated Rector to commit a2a378e016
...
a2a378e016
[EarlyReturn] Refactor ChangeAndIfToEarlyReturnRector: return array of Nodes (#885 )
2021-09-15 12:50:35 +00:00
Tomas Votruba
cdd58e83f2
Updated Rector to commit 6f0288df97
...
6f0288df97
[EarlyReturn] Refactor ChangeAndIfToEarlyReturnRector (#878 )
2021-09-14 05:51:11 +00:00
Tomas Votruba
4d03ef9715
Updated Rector to commit 41dfd36407
...
41dfd36407
[PHPStan] Update to PHPStan 0.12.99 (#874 )
2021-09-13 13:38:55 +00:00
Tomas Votruba
46d03714d0
Updated Rector to commit 95bf5aa61f
...
95bf5aa61f
[automated] Re-Generate Nodes/Rectors Documentation (#870 )
2021-09-12 00:30:25 +00:00
Tomas Votruba
c9bd554857
Updated Rector to commit 29fb47974d
...
29fb47974d
[Php80] feat: str starts with hardcoded (#866 )
2021-09-11 09:23:29 +00:00
Tomas Votruba
a41d82e567
Updated Rector to commit 40bd8926d3
...
40bd8926d3
[Php80][Naming] Handle ClassPropertyAssignToConstructorPromotionRector + RenamePropertyToMatchTypeRector (#861 )
2021-09-10 08:55:02 +00:00
Tomas Votruba
13a376a756
Updated Rector to commit c9f333d9dd
...
c9f333d9dd
[EarlyReturn] Returns array of If_ on ChangeOrIfContinueToMultiContinueRector (#854 )
2021-09-09 01:20:04 +00:00
Tomas Votruba
2af3b965d3
Updated Rector to commit 1e6dfd240e
...
1e6dfd240e
[PHPStan] Clean up ignore error messages (#846 )
2021-09-08 06:39:19 +00:00
Tomas Votruba
c94867257b
Updated Rector to commit b8a6c976b4
...
b8a6c976b4
[TypeDeclaration] Handle UnitEnum not exists check on ParamTypeByParentCallTypeRector (#841 )
2021-09-07 06:01:30 +00:00
Tomas Votruba
3ce615d525
Updated Rector to commit df9246c609
...
df9246c609
[CodeQuality][EarlyReturn] Handle ExplicitBoolCompareRector + ChangeOrIfReturnToEarlyRector (#836 )
2021-09-06 05:59:31 +00:00
Tomas Votruba
8303b46898
Updated Rector to commit 0779c402c3
...
0779c402c3
[automated] Re-Generate Nodes/Rectors Documentation (#832 )
2021-09-05 00:27:40 +00:00
Tomas Votruba
d62e039ac8
Updated Rector to commit 61709a198d
...
61709a198d
[PHPStan] Update to PHPStan 0.12.98 (#826 )
2021-09-04 07:42:32 +00:00
Tomas Votruba
73cb9e40d3
Updated Rector to commit 89ca42d7c1
...
89ca42d7c1
[TypeDeclaration] Skip callable on AddArrayParamDocTypeRector (#815 )
2021-09-03 09:26:46 +00:00
Tomas Votruba
35aeca4151
Updated Rector to commit 54c2151111
...
54c2151111
[CodingStyle] Handle next with comment on NewlineAfterStatementRector (#813 )
2021-09-02 06:22:11 +00:00
Tomas Votruba
8fbb6d4a84
Updated Rector to commit 511a076211
...
511a076211
bump nette
2021-09-01 00:12:38 +00:00
Tomas Votruba
be5c11b4f1
Updated Rector to commit 9fee4dd297
...
9fee4dd297
[CodingStyle] Handle complex If_ ElseIf_ Else_ Try Catch Finally on on NewlineAfterStatementRector (#793 )
2021-08-31 02:36:59 +00:00
Tomas Votruba
5fcab9b1bb
Updated Rector to commit a81fd4e050
...
a81fd4e050
[CodingStyle] Add NewlineAfterStatementRector (#787 )
2021-08-30 08:27:47 +00:00
Tomas Votruba
c863551bf5
Updated Rector to commit 13bf954089
...
13bf954089
[CodingStyle] Handle ClassConstFetch on RemoveUnusedAliasRector (#785 )
2021-08-29 11:59:15 +00:00
Tomas Votruba
3136ede1f3
Updated Rector to commit dd49d3874b
...
dd49d3874b
[CodingStyle] Handle Nullable Type and under intanceof for RemoveUnusedAliasRector (#784 )
2021-08-28 13:03:07 +00:00
Tomas Votruba
54f4789e3e
Updated Rector to commit b2c44bfdb0
...
b2c44bfdb0
[DowngradePhp72] Handle anonymous class override class method on DowngradeParameterTypeWideningRector (#777 )
2021-08-27 09:14:46 +00:00
Tomas Votruba
15c1876627
Updated Rector to commit 4731c3f5e1
...
4731c3f5e1
[CS] Cs Fix config Skip AssignmentInConditionSniff FoundInWhielCondition (#767 )
2021-08-26 04:42:58 +00:00
Tomas Votruba
f6bf813917
Updated Rector to commit aa22210581
...
aa22210581
[Php80] Handle Iterable typed on ClassPropertyAssignToConstructorPromotionRector (#753 )
2021-08-25 07:00:32 +00:00
Tomas Votruba
ed5842f8aa
Updated Rector to commit 6ff80ba037
...
6ff80ba037
[DeadCode] Skip RemoveUnusedNonEmptyArrayBeforeForeachRector on native Variable (#748 )
2021-08-24 05:31:50 +00:00
Tomas Votruba
ba205b46bb
Updated Rector to commit 68d410ef00
...
68d410ef00
Trigger notification (#741 )
2021-08-23 00:20:32 +00:00
Tomas Votruba
674f76ced2
Updated Rector to commit 877cbb2de8
...
877cbb2de8
fix(scoper): prefix vendor classes from PHPDoc, close #6614 (#739 )
2021-08-22 23:17:31 +00:00
Tomas Votruba
bdc1df40d9
Updated Rector to commit 1cc465b4d5
...
1cc465b4d5
[CodingStyle] Skip RemoveUnusedAliasRector when same class in use statement exists, but not used (#732 )
2021-08-22 21:22:18 +00:00
Tomas Votruba
abe47f2ff5
Updated Rector to commit af1cbb92fd
...
af1cbb92fd
[Core] Add Smarty Support for PhpFilesFinder check non-PHP files (#736 )
2021-08-22 21:06:43 +00:00
Tomas Votruba
28d47f320d
Updated Rector to commit 1cc465b4d5
...
1cc465b4d5
[CodingStyle] Skip RemoveUnusedAliasRector when same class in use statement exists, but not used (#732 )
2021-08-22 21:05:54 +00:00
Tomas Votruba
f3f75a2919
Updated Rector to commit b422a9d747
...
b422a9d747
[Core] Replace deprecated ShellCode:: with Symfony Command:: for status (#737 )
2021-08-22 21:04:29 +00:00
Tomas Votruba
f791d9d767
Updated Rector to commit 138aa5ea68
...
138aa5ea68
Param doctype not copied to property in DowngradePropertyPromotionRector (#734 )
2021-08-22 21:02:57 +00:00
Tomas Votruba
0f57e3a147
Updated Rector to commit d72a5999ef
...
d72a5999ef
[Php80] Do not remove Assert with no arg in AnnotationToAttributeRector (#733 )
2021-08-22 15:42:22 +00:00
Tomas Votruba
40ecfbd21b
Updated Rector to commit 2a6cfb363d
...
2a6cfb363d
Fix 6644 (#728 )
2021-08-21 00:59:31 +00:00
Tomas Votruba
65ad60c6e9
Updated Rector to commit 2623e6773c
...
2623e6773c
Bump branch-alias from 0.10 to 0.11 (#723 )
2021-08-20 10:06:28 +00:00
Tomas Votruba
c81e0916bc
Updated Rector to commit 9f311dca00
...
9f311dca00
Add failing test fixture for RemoveParentCallWithoutParentRector (#711 )
2021-08-19 04:03:26 +00:00
Tomas Votruba
dd5ada968f
Updated Rector to commit 582d1d3851
...
582d1d3851
[Exclusion] Check Parent attribute is Node on ExclusionManager::isNodeSkippedByRector() (#712 )
2021-08-18 09:22:43 +00:00
Tomas Votruba
898f0a5dac
Updated Rector to commit c1b7a97ee1
...
c1b7a97ee1
[CodeQuality] Skip Child class of \DateTime on DateTimeToDateTimeInterfaceRector (#703 )
2021-08-17 07:07:19 +00:00
Tomas Votruba
4d052b08f9
Updated Rector to commit 6cdfebe40c
...
6cdfebe40c
[Windows] Add platform agnostic asserts (#461 )
2021-08-16 07:19:49 +00:00
Tomas Votruba
dc5c5507e9
Updated Rector to commit e9d1172717
...
e9d1172717
[automated] Re-Generate Nodes/Rectors Documentation (#683 )
2021-08-15 00:30:09 +00:00
Tomas Votruba
5916663bf3
Updated Rector to commit f329873422
...
f329873422
[Defluent] Skip New_ with not a Name on InArgFluentChainMethodCallToStandaloneMethodCallRector (#677 )
2021-08-14 12:21:24 +00:00
Tomas Votruba
f353893d6d
Updated Rector to commit bf038c60bd
...
bf038c60bd
[Defluent] Fix test namespace for InArgFluentChainMethodCallToStandaloneMethodCallRector (#676 )
2021-08-14 11:18:07 +00:00
Tomas Votruba
55cb627074
Updated Rector to commit 7b8f4deae2
...
7b8f4deae2
[CodeQuality] Skip FixClassCaseSensitivityNameRector on function name exists (#660 )
2021-08-13 11:57:49 +00:00
Tomas Votruba
93cc8dacbc
Updated Rector to commit 906bb39c8d
...
906bb39c8d
[EarlyReturn] Handle Repetitive create If_ statement on use ChangeOrIfReturnToEarlyReturnRector+RemoveAlwaysElseRector (#651 )
2021-08-12 09:54:28 +00:00
Tomas Votruba
a75504cb47
Updated Rector to commit 3a76077bfe
...
3a76077bfe
[Defluent] Handle casted return value on FluentChainMethodCallToNormalMethodCallRector (#643 )
2021-08-11 06:38:05 +00:00
Tomas Votruba
3395b050ee
Updated Rector to commit 028dcb15e4
...
028dcb15e4
[CodingStyle] Skip RemoveUnusedAliasRector on alias used as namespace (#634 )
2021-08-10 07:12:30 +00:00
Tomas Votruba
d5f9e53969
Updated Rector to commit a6ce5e40a7
...
a6ce5e40a7
[Naming] Fix generics RenamePropertyToMatchTypeRector (#626 )
2021-08-09 10:54:50 +00:00
Tomas Votruba
bd98852bcd
Updated Rector to commit db637973d0
...
db637973d0
[DeadCode] Do not remove assign on RemoveUnusedVariableAssignRector on New_ usage (#625 )
2021-08-09 07:40:23 +00:00
Tomas Votruba
e9e85a1300
Updated Rector to commit a8b01f217b
...
a8b01f217b
[automated] Re-Generate Nodes/Rectors Documentation (#619 )
2021-08-08 00:26:40 +00:00
Tomas Votruba
b5290c94c5
Updated Rector to commit 2d22795af1
...
2d22795af1
[DeadCode] Skip RemoveDeadConstructorRector on empty constructor with class extends (#611 )
2021-08-07 11:33:39 +00:00
Tomas Votruba
ed866c99db
Updated Rector to commit 7398a6637c
...
7398a6637c
Add failing test fixture for RemoveUnusedPrivateMethodRector (#604 )
2021-08-06 06:45:08 +00:00
Tomas Votruba
fa67d66a44
Updated Rector to commit 3eb503653f
...
3eb503653f
[BetterStandardPrinter] Using Expr_ArrowFunction->returnType with print return type double colon right after the bracket (#596 )
2021-08-05 05:49:38 +00:00
Tomas Votruba
4be28bf7eb
Updated Rector to commit 37b06023b6
...
37b06023b6
[DeadCode] Fix removal of variable-used promoted property (#593 )
2021-08-04 13:47:30 +00:00
Tomas Votruba
fcfef6acab
Updated Rector to commit 529eb40360
...
529eb40360
[DowngradePhp80] Handle both DowngradeTypedPropertyRector and DowngradeMixedTypeDeclarationRector Name parameter (#591 )
2021-08-04 07:34:48 +00:00
Tomas Votruba
46cf4c1774
Updated Rector to commit 0888a92985
...
0888a92985
[CodeQuality] Skip class with constructor parameter for ClassConstFetch on CallableThisArraToAnonymousFunctionRector (#581 )
2021-08-03 10:22:54 +00:00
Tomas Votruba
1452c5d9ff
Updated Rector to commit b3480900f3
...
b3480900f3
[CodingStyle] Remove YieldClassMethodToArrayClassMethodRector, rather PHPStorm job (#576 )
2021-08-02 17:48:07 +00:00
Tomas Votruba
bfa1433bd5
Updated Rector to commit 2c71aa6976
...
2c71aa6976
[VersionBonding] Update rector warning message for min PHP version project (#572 )
2021-08-02 09:39:41 +00:00
Tomas Votruba
d0e5aaee2f
Updated Rector to commit 645b7a8e8f
...
645b7a8e8f
[automated] Re-Generate Nodes/Rectors Documentation (#562 )
2021-08-01 00:25:55 +00:00
Tomas Votruba
c3bc0fc47d
Updated Rector to commit d9f47f8572
...
d9f47f8572
[DeadCode] Using SideEffectNodeDetector::detectCallExpr() on RemoveOverriddenValuesRector (#554 )
2021-07-31 11:34:50 +00:00
Tomas Votruba
406cb3c9f8
Updated Rector to commit a152283fd7
...
a152283fd7
cleanup (#547 )
2021-07-30 07:40:46 +00:00
Tomas Votruba
ff5108a964
Updated Rector to commit cdad000d81
...
cdad000d81
[DowngradePhp80] Register DowngradeThrowExprRector to downgrade-php80 config set (#538 )
2021-07-29 00:44:05 +00:00
Tomas Votruba
f41cfb1de8
Updated Rector to commit b4392749f4
...
b4392749f4
Fix some code samples (#535 )
2021-07-28 12:55:48 +00:00
Tomas Votruba
b8d4e57170
Updated Rector to commit a7f111e201
...
a7f111e201
[PHPStan] Clean up PHPStan ignore error messages (#530 )
2021-07-28 04:37:30 +00:00
Tomas Votruba
a23b777a9a
Updated Rector to commit 3a96b9097d
...
3a96b9097d
[DeadCode] Skip fluent return on RemoveEmptyMethodCallRector (#521 )
2021-07-27 11:16:44 +00:00
Tomas Votruba
c231e32779
Updated Rector to commit eb91c61b95
...
eb91c61b95
[Config] Clean up rector.php config (#514 )
2021-07-26 09:06:10 +00:00
Tomas Votruba
dfa7a8133f
Updated Rector to commit 923bb72983
...
923bb72983
[Naming] Remove MakeBoolPropertyRespectIsHasWasMethodNamingRector, not reliable and rather PHPStan scope (#511 )
2021-07-25 16:57:05 +00:00
Tomas Votruba
4a70b89e41
Updated Rector to commit 4456c4690b
...
4456c4690b
extend AutowiredClassMethodAnalyzer with property
2021-07-25 07:47:04 +00:00
Tomas Votruba
4c03335bdf
Updated Rector to commit 771a3390b0
...
771a3390b0
[TypeDeclaration] Handle simple class name as string for non-native class (#501 )
2021-07-24 11:53:32 +00:00
Tomas Votruba
27e4e06416
Updated Rector to commit 5967ffa267
...
5967ffa267
Fix along other packages gha (#492 )
2021-07-23 06:16:10 +00:00
Tomas Votruba
29db7ec980
Updated Rector to commit 1747d9899a
...
1747d9899a
[DeadCode] Skip next used as variable variable on RemoveUnusedVariableAssignRector (#486 )
2021-07-22 14:50:45 +00:00
Tomas Votruba
7483b5a016
Updated Rector to commit 692e9e3db4
...
692e9e3db4
Rector 7.0 Native init steps (#475 )
2021-07-21 08:41:12 +00:00
Tomas Votruba
9e4b848150
Updated Rector to commit 48ccb539d4
...
48ccb539d4
[DeadCode] Handle null start token position attribute in NodeByTypeAndPositionCollector (#469 )
2021-07-20 14:23:43 +00:00
Tomas Votruba
0ead874fad
Updated Rector to commit 75c06eab69
...
75c06eab69
Fix match static method name in annotation (#446 )
2021-07-19 05:06:26 +00:00
Tomas Votruba
d77b300a95
Updated Rector to commit 2fc18bd2c0
...
2fc18bd2c0
[Rectify] Manual twice run rector against rules directory (#448 )
2021-07-18 02:11:18 +00:00
Tomas Votruba
e3f781999f
Updated Rector to commit 2a28758894
...
2a28758894
[Core] Fix --no-progress-bar option not applied (#447 )
2021-07-17 03:01:09 +00:00
Tomas Votruba
cc15e42d73
Updated Rector to commit a0f2ad9789
...
a0f2ad9789
[Privatization] Skip ChangeGlobalVariablesToPropertiesRector on read only global variable (#442 )
2021-07-16 09:16:38 +00:00
Tomas Votruba
816016aac7
Updated Rector to commit 294bea2d18
...
294bea2d18
[FileProcessor] Run untill the file is fixed completelly (#432 )
2021-07-15 03:40:51 +00:00
Tomas Votruba
68e641029b
Updated Rector to commit 4f2d2d12dd
...
4f2d2d12dd
[DeadCode] Skip RemoveUnusedNonEmptyArrayBeforeForeachRector on array param has default null (#433 )
2021-07-14 07:23:54 +00:00
Tomas Votruba
adc6b8148a
Updated Rector to commit f7eeebaa7b
...
f7eeebaa7b
[DeadCode] Fix non-null type check on RemoveUnusedNonEmptyArrayBeforeForeachRector (#430 )
2021-07-13 05:50:47 +00:00
Tomas Votruba
55c47b9663
Updated Rector to commit d08a87f692
...
d08a87f692
added promoted property test for annotation to attribute rule (#425 )
2021-07-12 08:28:11 +00:00
Tomas Votruba
f3645ab6a9
Updated Rector to commit fb9ad83c32
...
fb9ad83c32
[CodeQuality] Skip InlineIfToExplicitIfRector on constant definition (#422 )
2021-07-11 15:30:37 +00:00
Tomas Votruba
54dcc7b361
Updated Rector to commit a49c8612af
...
a49c8612af
[Downgrade PHP 8.0] Fix DowngradeNullsafeToTernaryOperatorRector for trait (#412 )
2021-07-10 00:43:27 +00:00
Tomas Votruba
8883574049
Updated Rector to commit 6f1f047087
...
6f1f047087
add RenameParamValueObjectInterface to trusted downgrade widening types
2021-07-09 23:00:32 +00:00
Tomas Votruba
207c620c29
Updated Rector to commit 311a96fbf8
...
311a96fbf8
bump php-parser to 4.11, phpstan to 0.12.91 (#402 )
2021-07-08 00:06:13 +00:00
Tomas Votruba
09e84aa431
Updated Rector to commit 20153a915b
...
20153a915b
[TypeDeclaration] Skip mixed union return on ReturnTypeDeclarationRector (#393 )
2021-07-07 00:20:29 +00:00
Tomas Votruba
8a32b5f563
Updated Rector to commit 150da023db
...
150da023db
include standalone traits in downgrade too
2021-07-06 08:19:07 +00:00
Tomas Votruba
b7686ac9ad
Updated Rector to commit 97ca45aade
...
97ca45aade
skip private method
2021-07-05 23:06:30 +00:00
Tomas Votruba
96112cb1f0
Updated Rector to commit 2da49992cc
...
2da49992cc
[Downgrade] [PHP 7.2] Make DowngradeParameterTypeWideningRector always downgrade to phpdoc type (#390 )
2021-07-05 22:50:18 +00:00
Tomas Votruba
a79e6f56df
Updated Rector to commit ff1ad31d6a
...
ff1ad31d6a
[PHP 7.2] Refactor DowngradeParameterTypeWideningRector to class method (#380 )
2021-07-05 07:47:59 +00:00
Tomas Votruba
4333c09758
Updated Rector to commit dfbbb02dec
...
dfbbb02dec
[PHP 8.0] Fix DowngradeNamedArgumentRector named arguments (#373 )
2021-07-04 13:13:54 +00:00
Tomas Votruba
ec097d0fda
Updated Rector to commit 9907e913af
...
9907e913af
bump to fixed ECS
2021-07-03 10:57:19 +00:00
Tomas Votruba
79df1ed831
Updated Rector to commit 6238705e93
...
6238705e93
mics
2021-07-02 00:08:09 +00:00
Tomas Votruba
1666838b21
Updated Rector to commit 9575dd2231
...
9575dd2231
[CodingStyle] Skip indirect version number on VersionCompareFuncCallToConstantRector (#344 )
2021-07-01 08:50:15 +00:00
Tomas Votruba
6949a054ce
Updated Rector to commit 1d1dc73fcb
...
1d1dc73fcb
[PHP 8.0] Fix attribute multi-line (#337 )
2021-06-30 01:01:00 +00:00
Tomas Votruba
636eeecaf4
Updated Rector to commit dfd048342b
...
dfd048342b
[PHP 8.0] Run union types for filled param type too (#331 )
2021-06-29 14:24:45 +00:00
Tomas Votruba
a7f25f1444
Updated Rector to commit 2a394c750f
...
2a394c750f
Reflection cleanup + inline union types for couple of param docs (#330 )
2021-06-29 13:37:16 +00:00
Tomas Votruba
ed4f2ecd4c
Updated Rector to commit e666df703e
...
e666df703e
More Reflection cleanup (#328 )
2021-06-29 00:31:58 +00:00
Tomas Votruba
57002777fc
Updated Rector to commit 1a87a3dfcc
...
1a87a3dfcc
[TypeDeclaration] Prevent checking class like has external fully qualifieds when class like is null (#319 )
2021-06-28 09:39:23 +00:00
Tomas Votruba
5a0a45ded6
Updated Rector to commit 20ad16b1e6
...
20ad16b1e6
[automated] Re-Generate Nodes/Rectors Documentation (#307 )
2021-06-27 12:12:15 +00:00
Tomas Votruba
2037399677
Updated Rector to commit 04981badaa
...
04981badaa
Rename ReflectionAstResolver to simple AstResolver (#300 )
2021-06-26 11:50:38 +00:00
Tomas Votruba
c99e19b804
Updated Rector to commit 4f619aae72
...
4f619aae72
NodeRepository usage cleanup (#287 )
2021-06-25 06:35:08 +00:00
Tomas Votruba
3164f411cc
Updated Rector to commit 328b5b4a02
...
328b5b4a02
[Cleanup] Removing NodeRepository from constant string regex rule + [Naming] Remove dangerou isser/getter renames (#286 )
2021-06-24 13:19:56 +00:00
Tomas Votruba
fe83c379c5
Updated Rector to commit 29e9bf5610
...
29e9bf5610
Cleaning up NodeRepository dependency (#280 )
2021-06-24 08:24:49 +00:00
Tomas Votruba
4982b19288
Updated Rector to commit 68d7671ee1
...
68d7671ee1
Handle nested arrays in CurlyListNode (#274 )
2021-06-23 12:46:02 +00:00
Tomas Votruba
5c17ab737b
Updated Rector to commit a41384bc00
...
a41384bc00
Fix doc importing on Doctrine annotation class rename (#264 )
2021-06-22 10:43:16 +00:00
Tomas Votruba
89bf6477a6
Updated Rector to commit ff4a9883f9
...
ff4a9883f9
[automated] Re-Generate Nodes/Rectors Documentation (#252 )
2021-06-21 19:24:28 +00:00
Tomas Votruba
dd0f41032c
Updated Rector to commit dc90b45425
...
dc90b45425
Alternative for 241 (Remove backslash from fallback var name) (#251 )
2021-06-20 00:37:20 +00:00
Tomas Votruba
54f83536f1
Updated Rector to commit 9987001099
...
9987001099
[Config] Clean up comment in rector.php config (#247 )
2021-06-19 01:07:33 +00:00
Tomas Votruba
11b9fe9deb
Updated Rector to commit 24384c10ed
...
24384c10ed
[Php 8] Enable RenamePropertyToMatchTypeRector (#168 )
2021-06-18 19:29:49 +00:00
Tomas Votruba
281d0518a0
Updated Rector to commit dce60231f7
...
dce60231f7
[TypeDeclaration][Php 8] Enable ReturnTypeDeclarationRector (#184 )
2021-06-18 17:31:16 +00:00
Tomas Votruba
6736aed6b9
Updated Rector to commit e783801584
...
e783801584
[Php71] Handle variadic check inside function with function_exists() check (#244 )
2021-06-18 17:14:06 +00:00
Tomas Votruba
864721907d
Updated Rector to commit 6c3a5215c1
...
6c3a5215c1
[Naming] Keep underscore in RenameForeachValueVariableToMatchExprVariableRector (#236 )
2021-06-17 09:49:16 +00:00
Tomas Votruba
dda18414a1
Updated Rector to commit 5e6a01145f
...
5e6a01145f
[README] fix ecs.php link
2021-06-17 09:46:43 +00:00
Tomas Votruba
26f92fe9e9
Updated Rector to commit 5157414f6c
...
5157414f6c
[Php80] Fix multiple cases and case mix up default for ChangeSwitchToMatchRector (#231 )
2021-06-16 10:39:17 +00:00
Tomas Votruba
8f636d1e5d
Updated Rector to commit f7ba591fd6
...
f7ba591fd6
rename fixture classes to differ from node names to avoid miss-type (#229 )
2021-06-15 14:27:25 +00:00
Tomas Votruba
0f17e48d24
Updated Rector to commit fc17cc90a9
...
fc17cc90a9
[Php80] Test for misplaced } on multiline in AnnotationToAttributeRector (#218 )
2021-06-14 02:16:47 +00:00
Tomas Votruba
ab3b6b2c9e
Updated Rector to commit 651562dca2
...
651562dca2
[automated] Re-Generate Nodes/Rectors Documentation (#211 )
2021-06-13 10:00:46 +00:00
Tomas Votruba
644e950638
Updated Rector to commit 7716d176c9
...
7716d176c9
Clean up phpstan ignore error mask (#210 )
2021-06-12 16:11:51 +00:00
Tomas Votruba
843f414034
Updated Rector to commit 7bbbed11e7
...
7bbbed11e7
Test: + (#208 )
2021-06-12 06:41:08 +00:00
Tomas Votruba
a130d42a04
Updated Rector to commit 9dea8d8cd8
...
9dea8d8cd8
[DeadCode][CodeQuality] Handle use RemoveDeadInstanceOfRector + SwitchNegatedTernaryRector with if instanceof check (#201 )
2021-06-11 09:40:47 +00:00
Tomas Votruba
4e4ad99d9a
Updated Rector to commit 1a3afef04d
...
1a3afef04d
PHPStan updated and static fixes (#192 )
2021-06-10 10:46:24 +00:00
Tomas Votruba
6fa9c12855
Updated Rector to commit 4f26e3643d
...
4f26e3643d
[Scoped] Early downgrade src/functions (#185 )
2021-06-09 02:43:00 +00:00
Tomas Votruba
a36655a228
Updated Rector to commit bc84defd14
...
bc84defd14
[Naming] @param doc should follow variable renamed on RenamePropertyToMatchTypeRector (#170 )
2021-06-08 13:00:58 +00:00
Tomas Votruba
ff9660d77a
Updated Rector to commit 6e320ce114
...
6e320ce114
[PHP 8.0] Improve single case check (#175 )
2021-06-08 07:43:06 +00:00
Tomas Votruba
b82be72250
Updated Rector to commit 0c9a1f82b8
...
0c9a1f82b8
[PSR4] Fix deleting file that matches class name (#163 )
2021-06-07 07:27:06 +00:00
Tomas Votruba
8953d4eb8c
Updated Rector to commit 84c80e4cb3
...
84c80e4cb3
[Naming] Skip change duplicate type on RenamePropertyToMatchTypeRector (#161 )
2021-06-06 12:02:44 +00:00
Tomas Votruba
d29020633e
Updated Rector to commit 3158767ccb
...
3158767ccb
[automated] Re-Generate Nodes/Rectors Documentation (#157 )
2021-06-06 07:59:41 +00:00
Tomas Votruba
2535f6a548
Updated Rector to commit 4e71338466
...
4e71338466
[Privatization] Skip Entity and Embeddable Attribute Doctrine\ORM\Mapping on FinalizeClassesWithoutChildrenRector (#155 )
2021-06-05 14:17:34 +00:00
Tomas Votruba
55b0e2405f
Updated Rector to commit d34b8469aa
...
d34b8469aa
Add test fixture and fix for AnnotationToAttributeRector (#145 )
2021-06-04 11:46:51 +00:00
Tomas Votruba
3547d90d45
Updated Rector to commit 1913747f01
...
1913747f01
[CodingStyle] Handle NotIdentical on CountArrayToEmptyArrayComparisonRector (#144 )
2021-06-03 08:30:49 +00:00
Tomas Votruba
f04617a297
Updated Rector to commit d88e3a3efb
...
d88e3a3efb
Fix copy-paste errors in rule docs (#143 )
2021-06-02 22:56:35 +00:00
Tomas Votruba
2d7c16f73c
Updated Rector to commit 6f7cd6ee39
...
6f7cd6ee39
[Core] Fix ConfigurableCallValuesCollectingPhpFileLoader::import() type (#140 )
2021-06-02 02:12:14 +00:00
Tomas Votruba
3167527b46
Updated Rector to commit 02f9524e34
...
02f9524e34
[DowngradePhp80] Add DowngradeNamedArgumentRector (#133 )
2021-06-01 12:39:02 +00:00
Tomas Votruba
1a63f1a06c
Updated Rector to commit 6fe5a9f4f1
...
6fe5a9f4f1
[Downgrade PHP 7.3] Add DowngradeIsCountableRector (#128 )
2021-05-31 09:35:19 +00:00
Tomas Votruba
fff9179119
Updated Rector to commit f7e9986835
...
f7e9986835
[PHP 8.0] Add downgrade for str_starts_with() (#126 )
2021-05-30 10:12:56 +00:00
Tomas Votruba
d6ce660185
Updated Rector to commit 0864547a0d
...
0864547a0d
[automated] Re-Generate Nodes/Rectors Documentation (#125 )
2021-05-30 07:54:06 +00:00
Tomas Votruba
7313b64374
Updated Rector to commit b90952fdeb
...
b90952fdeb
Let Rector upgrade itself to PHP 8 🤖 😇 (#123 )
2021-05-29 22:10:59 +00:00
Tomas Votruba
578cb687e1
Rector 0.11.6
2021-05-29 17:17:11 +00:00
Tomas Votruba
ebc0abcc08
Updated Rector to commit e0b4e852a6
...
e0b4e852a6
[Php80] Annotation attribute should keep order original annotation comment (#104 )
2021-05-28 12:08:33 +00:00
Tomas Votruba
47087101c1
Updated Rector to commit 80e6c3b959
...
80e6c3b959
FileRelocationResolverTest: fix RegexpException on windows (#116 )
2021-05-27 20:54:56 +00:00
Tomas Votruba
47d722993a
Updated Rector to commit ae96c1a308
...
ae96c1a308
Skip FormatPerservingPrinterTest on windows (#109 )
2021-05-26 10:17:03 +00:00
Tomas Votruba
9b5515a16d
Updated Rector to commit 4f4c416041
...
4f4c416041
[CodeQuality] Skip UnusedForeachValueToArrayKeysRector when value used in compact (#100 )
2021-05-25 11:50:23 +00:00
Tomas Votruba
89eee6ea29
Updated Rector to commit 5b74ac7ae6
...
5b74ac7ae6
[PhpDocInfoPrinter] fix running tests on windows (#98 )
2021-05-24 16:18:32 +00:00
Tomas Votruba
8ef1dfb7af
Updated Rector to commit ed8191fb64
...
ed8191fb64
[Docs] Fixes rector_rules_overview.md docs link in each rules (#92 )
2021-05-23 09:33:26 +00:00
Tomas Votruba
90a746a8cf
Updated Rector to commit 617c04a9be
...
617c04a9be
[TypeDeclaration] Separated inferred and no types (#90 )
2021-05-22 20:37:33 +00:00
Tomas Votruba
3689a516db
Updated Rector to commit db00e23b5e
...
db00e23b5e
[PHP 8.0] Downgrade (#85 )
2021-05-21 16:44:29 +00:00
Tomas Votruba
91a82e9ca5
Updated Rector to commit b5c00cbf1c
...
b5c00cbf1c
[BUGFIX] Respect indent_size for tabs (#81 )
2021-05-20 14:35:36 +00:00
Tomas Votruba
1fc5dba0b1
Updated Rector to commit 7a712ba445
...
e2bd8de348
resolve version on release 7a712ba445
date time
2021-05-19 00:12:47 +00:00
Tomas Votruba
270eaef34d
Rector 0.11.5
2021-05-18 13:45:09 +00:00
Tomas Votruba
9987c84c58
Rector 0.11.3
2021-05-17 07:55:27 +00:00
Tomas Votruba
10b65060a2
Updated Rector to commit cefe13feab
...
cefe13feab
fix rector rules overview dump location (#49 )
2021-05-16 08:19:51 +00:00
Tomas Votruba
80c6cbecea
Updated Rector to commit fa8e59708b
...
fa8e59708b
Use local version resolver (#36 )
2021-05-15 01:39:19 +00:00
Tomas Votruba
146dc7d680
Updated Rector to commit f2c0023dad
...
f2c0023dad
[PHP 8.1] Add MyClabs enum to native ENUM (#30 )
2021-05-14 09:53:43 +00:00
Tomas Votruba
693ce44ea9
Updated Rector to commit 9305fdf4f4
...
9305fdf4f4
typo
2021-05-13 00:24:58 +00:00
Tomas Votruba
758a350d87
Updated Rector to commit 6af13d7b76234edf43dbb0b4c533912cec19f971
2021-05-12 13:15:45 +00:00
Tomas Votruba
436fcb7505
Updated Rector to commit 0684911cdf
...
0684911cdf
[PHP 8.0] Promoted property fixes (#8 )
2021-05-11 10:40:34 +00:00
Tomas Votruba
cdc3b7adef
Updated Rector to commit f451b0b8e1
...
f451b0b8e1
[PHP 8.0] Bump to promoted properties (#4 )
2021-05-10 23:39:21 +00:00
Tomas Votruba
7d36c3b0b9
Updated Rector to commit a80cf5292d
...
a80cf5292d
revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba
363a910cf7
Updated Rector to commit a7db1ad94d
...
a7db1ad94d
use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba
345a89a7e2
Updated Rector to commit a657258f31
...
a657258f31
cleanup CHANGELOG, is part of GitHub releases now (#2 )
2021-05-10 00:23:30 +00:00
Tomas Votruba
d56e7982d0
Updated Rector to commit dedd4b55fe
...
dedd4b55fe
make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
TomasVotruba
0800c7cdc3
fix cs
2021-05-06 20:51:25 +02:00
Tomas Votruba
5cda5de4ac
Decouple Rector PHPStan rules to own package ( #6242 )
2021-04-25 23:12:14 +00:00
Abdul Malik Ikhsan
cd3725aeb5
[DowngradePhp71] Add DowngradeKeysInListRector ( #6170 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-20 14:21:02 +02:00
TomasVotruba
3e3c2dc40d
use changelog annotation
2021-04-19 18:15:52 +02:00
Tomas Votruba
b8071fb7bc
Make use of inline parser over extreme node construction ( #6145 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-15 17:34:49 +00:00
TomasVotruba
c4870c4a8d
cleanup
2021-04-10 22:21:54 +02:00
Tomas Votruba
8e8446a909
remove METHOD_NAME attribute to promote single source of node ( #6063 )
2021-04-09 12:45:07 +02:00
Tomas Votruba
31566dc869
Traverse phpdoc with use of PhpDocNodeVisitor ( #6045 )
...
* make use of new simple-php-doc-parser
* add ParamPhpDocNodeVisitor
* remove uneeded contracts
* skip bool instanceof
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-06 19:33:09 +02:00
Tomas Votruba
b2412ad62a
Refactor doctrine/annotation from dynamic to own static-reflection parser ( #5974 )
...
* remove doctrine/annotations
* Refactor doctrine/annotation parser to static reflection with phpdoc-parser
* remove doctirne-annotation-parser-syncer
* remove annotation stubs
* use nodes
* almost there
* [ci-review] Rector Rectify
* skip temporary
* phpstan: remove fixed messages
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-04 11:01:11 +02:00
Abdul Malik Ikhsan
cee8046e84
[Naming] Skip RenameForeachValueVariableToMatchExprVariableRector on empty singular value name result ( #5978 )
2021-03-24 23:36:11 +01:00
Tomas Votruba
4f27f39e70
Remove dynamic type checks #3 ( #5942 )
2021-03-21 23:07:40 +00:00
Tomas Votruba
a781b3bd12
Remove dynamic type checks ( #5939 )
2021-03-21 19:41:17 +01:00
Tomas Votruba
44375f6637
Post Nette tags split cleanup ( #5925 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-20 21:47:40 +00:00
Tomas Votruba
b28b8742fc
use rector-nette with tags ( #5924 )
...
* use rector-nette with tags
* redirect Kdyby sets
* use local ParamAnalyzer
2021-03-20 22:16:54 +01:00
Tomas Votruba
c01d9699b5
Remove type-hiding name methods ( #5912 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-19 23:11:36 +00:00
kaizen-ci
d14630e1d2
[ci-review] Rector Rectify
2021-03-18 00:00:16 +01:00
TomasVotruba
3746f24cf4
remove FUNCTION_NODE attribute
2021-03-18 00:00:16 +01:00
Tomas Votruba
0ac0e54b02
[Naming] Removing underscore rules, rather handle with coding standards ( #5868 )
2021-03-15 23:24:43 +00:00
Tomas Votruba
751a7453dd
Apply new PHPStan rules from Symplify ( #5843 )
...
* apply new PHPStan rules from Symplify
* less directories to speedup CI
2021-03-14 14:11:24 +01:00
Tomas Votruba
157c39aefc
[DX] move src/tests rules from micro-packages to single PSR-4 structure ( #5826 )
2021-03-12 23:20:25 +01:00