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
ffcf6171ac
Updated Rector to commit 9c6a6b0422
...
9c6a6b0422
[automated] Re-Generate Nodes/Rectors Documentation (#1612 )
2022-01-02 00:31:07 +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
9ca383a82e
Updated Rector to commit 0cc56b0a0b
...
0cc56b0a0b
[automated] Re-Generate Nodes/Rectors Documentation (#1522 )
2021-12-19 00:36:48 +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
b54d1ce71e
Updated Rector to commit 790889c4c7
...
790889c4c7
[TypedPropertyRector] Remove private property only, to keep other rules work separately (#1496 )
2021-12-14 17:04:36 +00:00
Tomas Votruba
79317e0a0f
Updated Rector to commit f6c3e95d7b
...
f6c3e95d7b
[TypeDeclaration] Improve PropertyTypeDeclarationRector to work with strict types (#1494 )
2021-12-14 15:31:59 +00:00
Tomas Votruba
01c66cf875
Updated Rector to commit d9b36c6241
...
d9b36c6241
[Doc] Update documentation for Class was not found on autoload (#1472 )
2021-12-12 16:22:35 +00:00
Tomas Votruba
e14a9194ef
Updated Rector to commit e4f3f5c831
...
e4f3f5c831
[automated] Re-Generate Nodes/Rectors Documentation (#1469 )
2021-12-12 00:35:48 +00:00
Tomas Votruba
891d788ac2
Updated Rector to commit f36390d8df
...
f36390d8df
Correct link in docs (#1465 )
2021-12-11 14:32:07 +00:00
Tomas Votruba
408e36b706
Updated Rector to commit b4fabbdeba
...
b4fabbdeba
[Downgrade] Drop SAFE_TYPES and SAFE_TYPES_TO_METHODS constants, use UNSAFE_TYPES_TO_METHODS instead (#1449 )
2021-12-10 14:05:16 +00:00
Tomas Votruba
a774c0815a
Updated Rector to commit 9f8b48003f
...
9f8b48003f
[Php55] Use AllowEmptyConfigurableRectorInterface on StringClassNameToClassConstantRector (#1445 )
2021-12-10 07:56:16 +00:00
Tomas Votruba
3c3c64edbd
Updated Rector to commit 9d8e5c9011
...
9d8e5c9011
[CodingStyle] Remove UseMessageVariableForSprintfInSymfonyStyleRector as local custom rule (#1419 )
2021-12-07 22:31:51 +00:00
Tomas Votruba
0c19dc8049
Updated Rector to commit 327144efdf
...
327144efdf
[DowngradePhp80] Add return property downgrade case (#1415 )
2021-12-07 19:04:47 +00:00
Tomas Votruba
f3d9b9c31c
Updated Rector to commit 5493b6dc13
...
5493b6dc13
[DX] Re-use configure() in docs + remove prefixing of ValueObjectInliner (#1410 )
2021-12-06 21:12:03 +00:00
Tomas Votruba
8eada0bd4b
Updated Rector to commit 079b20c894
...
079b20c894
[PHP 7.4] Skip dependency on native ReflectionProperty->getType() (#1409 )
2021-12-06 19:42:49 +00:00
Tomas Votruba
f63516d9b4
Updated Rector to commit 27a78d96ed
...
27a78d96ed
[Cleanup] merge duplicated SplitStringClassConstantToClassConstFetchRector to UseClassKeywordForClassNameResolutionRector (#1401 )
2021-12-06 07:48:16 +00:00
Tomas Votruba
ea32bebe15
Updated Rector to commit 29562a6545
...
29562a6545
[CodingStyle] Remove custom code rule ManualJsonStringToJsonEncodeArrayRector, not much generic (#1398 )
2021-12-05 21:47:27 +00:00
Tomas Votruba
560c118ef7
Updated Rector to commit 2d24210c3f
...
2d24210c3f
[automated] Re-Generate Nodes/Rectors Documentation (#1394 )
2021-12-05 00:35:40 +00:00
Tomas Votruba
ccce5491a7
Updated Rector to commit 58c8a93698
...
58c8a93698
[DX] Make use of configure() method (#1344 )
2021-11-30 13:55:08 +00:00
Tomas Votruba
22732248fc
Updated Rector to commit a30b2ef8d1
...
a30b2ef8d1
[Renaming] Add generic rename annotation to RenameAnnotationRector (#1341 )
2021-11-29 10:27:24 +00:00
Tomas Votruba
97eb75a93d
Updated Rector to commit 21c4a84cd6
...
21c4a84cd6
[DX] Add strict PHPStan rules - step #5 (#1334 )
2021-11-28 19:07:44 +00:00
Tomas Votruba
8573f613c5
Updated Rector to commit fa9b4ef615
...
fa9b4ef615
[Transform] Remove unused ClassConstFetchToValueRector (#1332 )
2021-11-28 17:29:16 +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
4c91ed1b0a
Updated Rector to commit 99a337285a
...
99a337285a
[TypeDeclaration] Add AddPropertyTypeDeclaration rule (#1317 )
2021-11-26 20:07:54 +00:00
Tomas Votruba
2f9d13bd92
Updated Rector to commit aa72166505
...
aa72166505
[DeadCode] Remove RemoveAssignOfVoidReturnFunctionRector as unreliable, let PHPStan report and use handle various cases (#1313 )
2021-11-25 19:16:58 +00:00
Tomas Votruba
cf2bb9a656
Updated Rector to commit dc07c1f9a8
...
dc07c1f9a8
[CodingStyle] Remove PreslashSimpleFunctionRector, let php-cs-fixer doing good work handle that (#1310 )
2021-11-25 18:41:12 +00:00
Tomas Votruba
cdff1edc5d
Updated Rector to commit dd7bc52135
...
dd7bc52135
Move ChangeGlobalVariablesToPropertiesRector from ClassMethod to Class_ node, to keep the minimal changed scope in active nodes (#1307 )
2021-11-25 13:07:04 +00:00
Tomas Votruba
4dc2c773aa
Updated Rector to commit 14f67de7e9
...
14f67de7e9
[League] Remove only League upgrade set from core, give space for community package with whole vendor (#1305 )
2021-11-25 12:53:25 +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
cae65c2537
Updated Rector to commit 63ed131c3f
...
63ed131c3f
[automated] Re-Generate Nodes/Rectors Documentation (#1284 )
2021-11-21 00:34:01 +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
46f79a7750
Updated Rector to commit 85c3848e8b
...
85c3848e8b
[DowngradePhp80/81] Refactor Downgrade Resource Return to Object to use BooleanOr check (#1193 )
2021-11-08 20:33:54 +00:00
Tomas Votruba
59fbea4817
Updated Rector to commit 4815cd9643
...
4815cd9643
[DowngradePhp81/80] Skip combine check with is_resource and instanceof Object (#1192 )
2021-11-08 19:40:36 +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
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
4286dd4a43
Updated Rector to commit b218e334ca
...
b218e334ca
[DowngradePhp74] Add DowngradePreviouslyImplementedInterfaceRector (#1159 )
2021-11-05 22:37:42 +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
3203dd5529
Updated Rector to commit 4c507636dc
...
4c507636dc
Skip too wide union types on AddMethodCallBasedStrictParamTypeRector (#1097 )
2021-10-28 22:22:07 +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
427b9ce357
Updated Rector to commit 8bb31f2556
...
8bb31f2556
[automated] Re-Generate Nodes/Rectors Documentation (#1012 )
2021-10-17 00:30:43 +00:00
Tomas Votruba
f19d6bb9aa
Updated Rector to commit ef253094f0
...
ef253094f0
bump docs
2021-10-14 15:36:34 +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
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
8203945744
Updated Rector to commit ed80bec474
...
ed80bec474
[Strict] Add parameter to require non-empty values opt-in (#956 )
2021-10-05 15:59:39 +00:00
Tomas Votruba
0bb5807237
Updated Rector to commit d4cb2395dc
...
d4cb2395dc
fix BooleanInBooleanNotRuleFixerRector docs
2021-10-05 11:12:46 +00:00
Tomas Votruba
0b0fa02f46
Updated Rector to commit c4de350289
...
c4de350289
[Strict] Add rules to resolve PHPStan Strict rule set (#955 )
2021-10-05 08:51:30 +00:00
Tomas Votruba
028a05a8ab
Updated Rector to commit 7607da6751
...
7607da6751
bump docs
2021-10-02 14:09:09 +00:00
Tomas Votruba
e8aece2bf2
Updated Rector to commit 466c9e1b1a
...
466c9e1b1a
docs: add downgrade set list to docs (#924 )
2021-09-26 09:24:43 +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
eeaf265fd8
Updated Rector to commit a8a79d0b98
...
a8a79d0b98
[Arguments] Use native types over weak string to define types (#903 )
2021-09-19 11:08:13 +00:00
Tomas Votruba
9bcdf99a5a
Updated Rector to commit ab182ff80b
...
ab182ff80b
[PHP 8.0] Remove NullsafeOperatorRector, as often breaking and promoting non-early returns and losen types (#900 )
2021-09-19 10:24:30 +00:00
Tomas Votruba
6672a6759e
Updated Rector to commit b5516368d4
...
b5516368d4
[Php74] Add privatePropertyOnly config to TypedPropertyRector (#898 )
2021-09-19 10:18:03 +00:00
Tomas Votruba
4728cc7a69
Updated Rector to commit 0315a82d57
...
0315a82d57
Add new option for auto importing names (#764 )
2021-09-16 21:56:43 +00:00
Tomas Votruba
96d71cf14e
Updated Rector to commit be1cdc059d
...
be1cdc059d
Documenting a solution for missing classes (#889 )
2021-09-15 18:23:02 +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
b2f416d234
Updated Rector to commit 0c36bf8769
...
0c36bf8769
[Doc] Autoload Troubleshooting (#860 )
2021-09-10 09:39:55 +00:00
Tomas Votruba
dfbd1733c6
Updated Rector to commit a10212419c
...
a10212419c
[automated] Re-Generate preload.php (#831 )
2021-09-05 00:37:33 +00:00
Tomas Votruba
e2b36a29b3
Updated Rector to commit 5b3b527a51
...
5b3b527a51
[automated] Apply Coding Standard (#833 )
2021-09-05 00:28:26 +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
9ba6923f97
Updated Rector to commit 541e40b48f
...
541e40b48f
[IDE-refactoring cleanup] Remove rather custom PassFactoryToEntityRector and NewUniqueObjectToEntityFactoryRector rules, better use PHPStorm there (#783 )
2021-08-27 14:31:16 +00:00
Tomas Votruba
536a2b5d5d
Updated Rector to commit fff52c329a
...
fff52c329a
[RuleDefinition] Fix Sample Code docs generation (#768 )
2021-08-26 04:53:55 +00:00
Tomas Votruba
6e9b486a68
Remove leftover config for Docer
2021-08-20 16:51:02 +02: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
4c5b41a7fe
Updated Rector to commit 5f4653c9f6
...
5f4653c9f6
Move DowngradeSelfTypeDeclarationRector to downgrade-php70 (#623 )
2021-08-08 20:04:42 +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
1452c5d9ff
Updated Rector to commit b3480900f3
...
b3480900f3
[CodingStyle] Remove YieldClassMethodToArrayClassMethodRector, rather PHPStorm job (#576 )
2021-08-02 17:48:07 +00:00
Tomas Votruba
fb7f804b70
Updated Rector to commit 00fb10f8a5
...
8c4c7d0ae7
recursion is not needed, as Rector now works till there is something to change 00fb10f8a5
fix cs
2021-08-02 16:02:25 +00:00
Tomas Votruba
0141b275c0
Updated Rector to commit 89511623cd
...
89511623cd
update docs
2021-08-02 15:06:07 +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
3f2ea1ec26
Updated Rector to commit dfbd366b74
...
dfbd366b74
[Transform] Add MethodCallToMethodCallRector (#505 )
2021-07-25 11:10:57 +00:00
Tomas Votruba
9ffc8ec64a
Updated Rector to commit 3d1ec1d85d
...
3d1ec1d85d
bump docs
2021-07-23 16:35:16 +00:00
Tomas Votruba
2f9cc5d362
Updated Rector to commit 178f3f643c
...
178f3f643c
bump docs (#488 )
2021-07-22 18:40:24 +00:00
Tomas Votruba
ff3d08c8e0
Updated Rector to commit bc29f1bb50
...
bc29f1bb50
Update how_to_add_test_for_rector_rule.md (#473 )
2021-07-21 09:15:54 +00:00
Tomas Votruba
cae21ff247
Updated Rector to commit acabcfc456
...
acabcfc456
[TypeDeclaration] Do not add return type on parent Closure for deep closure has return type on ReturnTypeFromStrictTypedCallRector (#439 )
2021-07-15 22:20:38 +00:00
Tomas Votruba
31b96d8276
Updated Rector to commit 5f43d6b712
...
5f43d6b712
Make RemoveUnusedPrivateClassConstantRector use of static reflection (#384 )
2021-07-05 09:49:56 +00:00
Tomas Votruba
1f8149a055
Updated Rector to commit a9b1bbba88
...
a9b1bbba88
[PHP 8.0] Make Downgrade widening union depend on ClassMethod, the narrow scope (#375 )
2021-07-04 18:27:51 +00:00
Tomas Votruba
13bedd1bf5
Updated Rector to commit 8733e7335f
...
8733e7335f
[PHP 8.0] Add support for nested annotation to attributes (#342 )
2021-06-30 21:52:31 +00:00
Tomas Votruba
ba438584ff
Updated Rector to commit 4f4dce928e
...
4f4dce928e
Improve reflection for Variadic analyzer (#310 )
2021-06-27 14:06:45 +00:00
Tomas Votruba
7d23c365ed
Updated Rector to commit 6554750698
...
6554750698
[automated] Apply Coding Standard (#308 )
2021-06-27 12:13:59 +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
7cdc668f8b
Updated Rector to commit ea11625cfb
...
ea11625cfb
compact
2021-06-22 19:34:44 +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
d39c210590
Updated Rector to commit 25821f6212
...
25821f6212
[TASK] Add documentation about FileProcessors (#121 )
2021-06-13 11:31:37 +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
4e4ad99d9a
Updated Rector to commit 1a3afef04d
...
1a3afef04d
PHPStan updated and static fixes (#192 )
2021-06-10 10:46:24 +00:00
Tomas Votruba
06272681a5
Updated Rector to commit f3b3c8727f
...
f3b3c8727f
[docs] example and title for tests (#191 )
2021-06-09 15:02:10 +00:00
Tomas Votruba
a8594a1335
Updated Rector to commit e50ad80290
...
e50ad80290
[tests] fix rectors custom naming convention (#188 )
2021-06-09 13:08:07 +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
3167527b46
Updated Rector to commit 02f9524e34
...
02f9524e34
[DowngradePhp80] Add DowngradeNamedArgumentRector (#133 )
2021-06-01 12:39:02 +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
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
10b65060a2
Updated Rector to commit cefe13feab
...
cefe13feab
fix rector rules overview dump location (#49 )
2021-05-16 08:19:51 +00:00
Tomas Votruba
df00621605
Updated Rector to commit c7700cfbd4
...
c7700cfbd4
[Docs] Copy docs to rector-prefixed-downgraded/ as well (#34 )
2021-05-14 21:27:39 +00:00
github-actions[bot]
dd41106ee4
[automated] Re-Generate Nodes/Rectors Documentation ( #6396 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-05-09 02:15:50 +02:00
Tomas Votruba
ac82ae6a63
Move from SETS parameter to explicit import() ( #6375 )
2021-05-06 20:06:31 +00:00
Tomas Votruba
5fe3eb555f
[PHP 5.3] Add DirConstToFileConstRector ( #6363 )
2021-05-05 21:56:59 +00:00
github-actions[bot]
ea0061264a
[automated] Re-Generate Nodes/Rectors Documentation ( #6281 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-05-02 10:26:23 +02:00
Tomas Votruba
ca4d1fb1aa
[TypeDeclaration] Traverse the param node that is changed in ParamTypeFromStrictTypedPropertyRector ( #6260 )
2021-04-28 20:33:20 +00:00
Sebastian Schreiber
255b1fcbf7
[TASK] Add template type option for init command ( #6233 )
2021-04-25 21:43:59 +02:00
github-actions[bot]
08aab90348
[automated] Re-Generate Nodes/Rectors Documentation ( #6236 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-04-25 11:44:34 +02:00
Tomas Votruba
764c311565
[docs] add auto imports docs ( #6240 )
2021-04-25 11:43:24 +02:00
Tomas Votruba
31c06b2fcb
[docs] add Static Reflection and Autoload ( #6238 )
2021-04-25 11:04:04 +02:00
Tomas Votruba
a3ec81fe1f
Add setter/getter factory ( #6219 )
2021-04-23 18:14:51 +00:00
Tomas Votruba
ff57c49662
[PHP 7.2] Add covariant param support for trait methods ( #6190 )
...
* [Downgrade PHP 7.2] Handle trait methods too
* move DowngradeParameterTypeWideningRector to Class_ namespace
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-22 00:02:38 +02:00
github-actions[bot]
2b88d9d937
[automated] Re-Generate Nodes/Rectors Documentation ( #6163 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-04-18 15:01:56 +02:00
Tomas Votruba
268b32ff7e
[DeadCode] Remove duplicated RemoveUnusedPrivateConstantRector ( #6151 )
...
* [DeadCode] Remove duplicated RemoveUnusedPrivateConstantRector
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-15 23:38:44 +02:00
Rob Landers
27f3544e8e
Fix nullsafe transpile ( #6101 )
...
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2021-04-15 19:16:27 +00:00
Tomas Votruba
8b402bfe02
Make use of File object instead of passing around provider of file info, tokens, stmts etc. ( #6110 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-13 00:12:48 +00:00
Tomas Votruba
26a5b86892
[Privatization] Remove MakeUnusedClassesWithChildrenAbstractRector as risky and full context is needed ( #6091 )
2021-04-10 20:18:49 +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
Zing
ff9173ff35
Stripping quotation marks of argument default value ( #5997 )
2021-03-26 13:45:54 +07:00
Tomas Votruba
27e9ad030a
Remove buggy rules that depend on false condition of all class and calls analysis, to improve static reflection ( #5958 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-23 23:13:35 +01:00
Tomas Votruba
89a7afb5a4
Merge DeadDocBlock to DeadCode ( #5936 )
2021-03-21 12:57:56 +00:00
Abdul Malik Ikhsan
be39fb9a75
[Doc] Remove unused images assets and apply phpunit image in readme ( #5933 )
2021-03-21 10:52:56 +01:00
Abdul Malik Ikhsan
57acbe7cdc
[Doc] Documentation how to register custom SetList contant ( #5921 )
2021-03-20 14:10:13 +01:00
Markus Staab
9e0c9a5c03
docs: fix path to tests and namespace in "how to add a test" ( #5910 )
2021-03-19 23:45:34 +07:00
Dominik Peters
dc94477d54
Migrate at to with consecutive and will return on consecutive calls ( #5822 )
2021-03-18 00:11:23 +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
683f8319a8
[CI] simplify php linter ( #5867 )
...
* [CI] simplify php linter
* [CI] merge code analysis to one
* [docs] remove nodes overview, already in external repository
* remove unused ci job
* [CI] check annotation parser + sync
* [DeadCode] Remove RemoveEmptyAbstractClassRector, not reliable with static-reflection, opionated
* [CI] remove set validation, PHPStan handles this better with PHP
* remove dead-code-strict [skip ci]
2021-03-15 23:44:28 +01:00
Tomas Votruba
d897902ccf
[Downgrade] Keep better phpdoc type ( #5862 )
2021-03-15 18:58:04 +01:00
github-actions[bot]
bd1a0f1be7
[automated] Re-Generate Nodes/Rectors Documentation ( #5840 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-03-14 01:55:25 +01:00
Tomas Votruba
721f619a1d
Post moving cleanup ( #5827 )
2021-03-12 23:52:38 +00: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
Tomas Votruba
c791f5ed60
[RectorGenerator] Decouple to external package ( #5825 )
2021-03-12 20:13:27 +01:00
Tomas Votruba
67670e70ad
[DX] move packages from src/tests to single PSR-4 directory ( #5824 )
2021-03-12 01:21:29 +00:00
github-actions[bot]
65e43f3dfa
[automated] Re-Generate Nodes/Rectors Documentation ( #5788 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-03-07 12:24:31 +01:00
Tomas Votruba
382f146eaf
Merge CoreRectorInterface ( #5762 )
2021-03-03 22:28:27 +01:00
Jan Mikeš
cdd11f69c6
[Docker] Documented multiple supported PHP versions ( #5734 )
2021-03-02 22:16:38 +01:00
Tomas Votruba
d5bf66f9cd
[CI] run rules dir by dir to identify static reflection weak sposts ( #5720 )
...
* [CI] run rules dir by dir to identify static reflection weak sposts
* [ci-review] Rector Rectify
* consistency
* remove unused property
* add data provider test fixture
* add InvertedIfFactory to lower complexity
* [DeadCode] Skip unused public method if data provider
* misc
* [DeadCode] Do not remove class method if required by parent ocntract
* make use of ContextAnalyzer to find the loop
* narrow dirs one level
* narrow packages
* narrow
* use directly
* narrow
* correct constant name to keep BC
* bump deps
* add version_compare to removed extra params, just to be sure
* do not return function node on unchanged name
* narrow
* add support for multiple variants
* widen
* remove double check [skip ci]
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-02 14:43:36 +01:00
Tomas Votruba
05788745fd
[Downgrade] Remove excessive abstract class inheritance, use single service ( #5717 )
2021-03-01 12:10:50 +00:00
Markus Staab
74a54f3bc4
Fix url to nodes-overview ( #5695 )
...
* Fix url to nodes-overview
* Update create_own_rule.md
* Update README.md
2021-02-28 10:36:32 +01:00
github-actions[bot]
510252cdc5
[automated] Re-Generate Nodes/Rectors Documentation ( #5698 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-02-28 08:52:22 +01:00
Tomas Votruba
e571128b85
[Transform] Move FunctionCallToConstantRector to FuncCallToConstFetchRector ( #5642 )
2021-02-21 09:40:54 +00:00
github-actions[bot]
eb4bc68409
[automated] Re-Generate Nodes/Rectors Documentation ( #5641 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-02-21 01:06:30 +01:00
Tomas Votruba
9a376d98e5
[Arguments] New rule set from former generics ( #5637 )
...
* [Transform] Move SingleToManyMethodRector
* [Transform] Move WrapReturnRector here
* [DependencyInjectoin] Move AddMethodParentCallRecto here
* [Arguments] Create new package from old generics only around arguments
* composer docs uild
2021-02-21 00:21:19 +01:00
Tomas Votruba
947a75f6aa
rebuild docs ( #5636 )
2021-02-21 00:02:05 +01:00
Tomas Votruba
13e33f0bff
[Generic] Decouple rules to tailored sets ( #5635 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-20 23:48:31 +01:00
Tomas Votruba
19810c2b9a
move FunctionToStaticMethodRector to Transform ( #5613 )
2021-02-18 21:35:10 +00:00
Tomas Votruba
ddfeae3391
drop --match-git-diff, not reliable for dependencies; use enable_cache instead ( #5609 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-18 15:55:31 +00:00
Tomas Votruba
f03cfa767a
[Output] Drop checkstyle to avoid manual fixes in PRs ( #5566 )
2021-02-15 21:27:07 +00:00
Tomas Votruba
de8fa30257
[cs] apply indent of call in configs ( #5547 )
2021-02-14 21:28:21 +00:00
github-actions[bot]
981e437bb7
[automated] Re-Generate Nodes/Rectors Documentation ( #5539 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-02-14 10:46:15 +01:00
Tomas Votruba
5c56de463e
bump docs ( #5530 )
2021-02-13 15:57:30 +01:00
Tomas Votruba
ecbef2bcaa
[Tests] remove getPhpVersion() helped method, use configs instead ( #5477 )
2021-02-09 17:25:16 +00:00
Tomas Votruba
e0ad0f960f
[Tests] Move from getRectorsWithConfiguration() to provideConfigFileInfo() to make test configs more intuitive ( #5468 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-09 15:02:29 +01:00
github-actions[bot]
8ef96f2166
[automated] Re-Generate Nodes/Rectors Documentation ( #5443 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-02-07 11:11:42 +01:00
Tomas Votruba
ec5ed49020
[README] Add Typo3 and its repository ( #5440 )
2021-02-06 23:30:59 +01:00
Tomas Votruba
0c830ab123
misc ( #5439 )
2021-02-06 22:20:57 +00:00
Tomas Votruba
d402f52238
[TypeDeclaratoin] Add ReturnTypeFromStrictTypedPropertyRector ( #5438 )
2021-02-06 23:09:45 +01:00
github-actions[bot]
537755a44a
[automated] Re-Generate Nodes/Rectors Documentation ( #5387 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-31 09:12:01 +01:00
Tomas Votruba
b6b8ac0c4c
Less traits 3, drop duplicated issue tests ( #5385 )
2021-01-31 00:14:13 +00:00
Tomas Votruba
e2757242be
Various stabilizations ( #5381 )
2021-01-30 20:30:37 +00:00
Tomas Votruba
737b6471c2
[Performance] [Polyfill] Move to DeadCode ( #5380 )
2021-01-30 19:56:32 +00:00
Tomas Votruba
e1310abebb
[Nette 3.0] Add #[Inject] attribute ( #5376 )
2021-01-30 15:06:43 +00:00
Tomas Votruba
2df4732c6c
Move Architecture to Doctrine, improve a bit ( #5374 )
2021-01-30 08:57:35 +00:00
Tomas Votruba
024ec4ba93
[Generics] Add GenericsPHPStormMethodAnnotationRector ( #5365 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-29 17:24:20 +01:00
Tomas Votruba
f1a70bd271
[Removing] Move RemoveInterfacesRector here ( #5361 )
2021-01-29 10:38:59 +00:00
Tomas Votruba
53102c9c29
[Removing] Init new set ( #5360 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-29 08:08:55 +00:00
Tomas Votruba
1f61ef7160
[Generic] specialize generic rules ( #5355 )
2021-01-29 00:29:12 +00:00
Tomas Votruba
34c0f08969
[Generic] Split rules to their particular categories ( #5354 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-29 00:32:20 +01:00
Tomas Votruba
8e3e3fd6e1
add CoreRectorInterface and PhpCoreRectorInterface to allow PhpRectorInterface to be RectorInterface without getDefinition() ( #5348 )
2021-01-28 19:26:56 +01:00
Tomas Votruba
fced0ca087
[Symfony] Add Symfony 5.1 set ( #5331 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-27 15:09:08 +01:00
Tomas Votruba
e00106ee49
[phpstan] Make ComposerRectorInterface child classes respetc the "ComposerRector" suffix ( #5319 )
2021-01-26 01:32:23 +00:00
Tomas Votruba
8d600ce412
[docs] regenerate ( #5316 )
2021-01-25 18:59:06 +00:00
github-actions[bot]
ad256edcad
[automated] Re-Generate Nodes/Rectors Documentation ( #5296 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-24 10:07:23 +01:00
vladyslavstartsev
10b96a0b97
Make example of ReplaceStringWithClassConstantRector more correct ( #5269 )
...
* Make example of ReplaceStringWithClassConstantRector more correct
- `argument position` and `class with constants` are swapped
- `argument position` starts with zero (0), so `1` is the second argument
* also fix example in `Rector`ing class
2021-01-23 14:51:23 +02:00
Tomas Votruba
4b7f6f4a72
use PhpDocTagRemoer as a service ( #5242 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-19 19:45:30 +00:00
Tomas Votruba
ea1f7bd758
Lower class complexity ( #5208 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-17 15:43:47 +00:00
github-actions[bot]
d93900b56a
[automated] Re-Generate Nodes/Rectors Documentation ( #5211 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-17 14:32:41 +01:00
Tomas Votruba
024a97d019
[RemovingStatic] Decouple static ( #5207 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-16 22:45:18 +01:00
Tomas Votruba
04db98620a
Refactor composer modifier to ComposerRector ( #5198 )
2021-01-16 13:23:37 +01:00
github-actions[bot]
fc9acd9c21
[automated] Re-Generate Nodes/Rectors Documentation ( #5178 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-14 11:10:33 +01:00
github-actions[bot]
19c47b9f1f
[automated] Re-Generate Nodes/Rectors Documentation ( #5162 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-13 02:25:45 +01:00
Tomas Votruba
b604e1676c
[Privatization] Add ReplaceStringWithClassConstantRector ( #5156 )
...
* [Privatization] Add ReplaceStringWithClassConstantRector
* README: add to scoped
2021-01-12 13:41:47 +00:00
github-actions[bot]
f40d602d43
[automated] Re-Generate Nodes/Rectors Documentation ( #5150 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-12 12:52:10 +01:00
github-actions[bot]
f1d4a4a671
[automated] Re-Generate Nodes/Rectors Documentation ( #5118 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-09 12:16:22 +01:00
Tomas Votruba
27f2fad0c0
[DeadCode] Fix removing native interface ( #5113 )
...
* [Restoratoin] Skip native interface from removing
* move RemoveUselessJustForSakeInterfaceRector to dead code category
* remove interface name pattern
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-08 14:34:54 +00:00
Floris Luiten
39a6b79f30
Fixed typo "lenght" ( #5096 )
...
* Fixed typo in docs "lenght" to "length"
* Fixed typo in class constant "lenght" to "length"
* Changed "lenght" instead of "length", fixing bug in class_exists using incorrect classname
2021-01-06 03:06:16 +07:00
github-actions[bot]
17f47bd5c4
[automated] Re-Generate Nodes/Rectors Documentation ( #5082 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-04 14:09:38 +01:00
github-actions[bot]
34c3c3a67c
[automated] Re-Generate Nodes/Rectors Documentation ( #5061 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-01 19:59:23 +01:00
Krystian Marcisz
94a4bb7777
[DX] Add Interactive Mode to Generate command ( #4931 )
...
* Add Interactive Mode to Generate command
* CS Fixer
* Unify names
* Unify names
* Fixes
* Fixes
* Fixes
* Check generated tests against the "special hack for PHPUnit"
* Re-use the same input/output in the Generate Command
* Add test for Interactive Mode of Generate Command
* Rename test file
* Use ::class instead of string
* Create Finder instance where it's used
* Create RectorRecipeInteractiveProvider service
* Create RectorRecipeInteractiveProvider service
* Bring back SymfonyStyle as DI service
2020-12-28 18:00:51 +01:00
Tomas Votruba
51dd6b899a
[SOLID] Drop UseInterfaceOverImplementationInConstructorRector, very subjective ( #4993 )
2020-12-25 17:24:53 +00:00
Tomas Votruba
a4f8a23ecf
[CodeQuality] Move MoveVariableDeclarationNearReferenceRector ( #4992 )
2020-12-25 17:48:15 +01:00
Tomas Votruba
db89b5eefa
[CodeQuality] Move MoveVariableDeclarationNearReferenceRector ( #4989 )
...
* [CodeQuality] Move MoveVariableDeclarationNearReferenceRector
* move code-quality-strict rules to own namespace
* move MoveVariableDeclarationNearReferenceRector to CodeQualityStrict
* add ClassConstFetchFactory
* static fixes
2020-12-25 16:22:19 +00:00
Tomas Votruba
a2dbaedb0e
[Privatization] Move MakeUnusedClassesWithChildrenAbstractRector here ( #4987 )
2020-12-25 15:45:17 +01:00
Tomas Votruba
bfcdd22a7c
[Privatization] Move FinalizeClassesWithoutChildrenRector here ( #4986 )
2020-12-25 14:59:14 +01:00
Tomas Votruba
cffd7ea0ac
[CodingStyle] Move PHPStormVarAnnotationRector ( #4985 )
...
* [CodingStyle] Move PHPStormVarAnnotationRector
* [ci-review] Rector Rectify
* [DeadDocBlock] Move RemoveNonExistingVarAnnotationRector here (#4984 )
* [DeadDocBlock] Move RemoveNonExistingVarAnnotationRector here
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
* [ci-review] Rector Rectify
* cleanup docs
* static fixes
* [ci-review] Rector Rectify
* remove duplicated
* multi use case
* misc
* [ci-review] Rector Rectify
* fixes
* remove order set, slow
* move UseMessageVariableForSprintfInSymfonyStyleRector from solid set to coding-style
* make unique-named variables to prevent accidental override and improve readability
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-25 13:20:13 +00:00
Tomas Votruba
61b72a8d7c
[DeadDocBlock] Move RemoveNonExistingVarAnnotationRector here ( #4984 )
...
* [DeadDocBlock] Move RemoveNonExistingVarAnnotationRector here
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-25 00:56:59 +00:00
Tomas Votruba
d465ec83e2
[DeadCode] Move RecastingRemovalRector from PHPStan set ( #4983 )
...
* [DeadCode] Move RecastingRemovalRector from PHPStan set
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-25 00:22:45 +00:00
Tomas Votruba
c5d258e0cc
[Downgrade] Drop ChangePhpVersionInPlatformCheckRector as not useful, paltform check false is good enough ( #4939 )
...
* [Downgrade] Drop ChangePhpVersionInPlatformCheckRector as not useful, paltform check false is good enough
* fixup! [Downgrade] Drop ChangePhpVersionInPlatformCheckRector as not useful, paltform check false is good enough
2020-12-22 15:48:25 +00:00
Abdul Malik Ikhsan
34e6c6ffdf
[Doc] Using transparent image for space.png ( #4934 )
2020-12-21 12:15:19 +01:00
HDVinnie
4436ba62eb
fix: checkstyle.md ( #4912 )
...
- simple typo
2020-12-17 22:18:14 +07:00
Tomas Votruba
eddb2b29c9
[EarlyReturn] Decouple new rules ( #4868 )
2020-12-12 16:59:09 +00:00
github-actions[bot]
fb87c23e07
[automated] Re-Generate Nodes/Rectors Documentation ( #4803 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-12-06 11:19:50 +01:00
Tomas Votruba
dc61d2fecf
add docblock on downgrade by default ( #4799 )
...
* add docblock on downgrade by default
* update docs
* drop no docblock test
2020-12-05 22:33:27 +00:00
Tomas Votruba
f672eace0e
[DX] Add init-recipe command to create recipe config in root ( #4789 )
...
* [DX] Add init-recipe command to initlaize recipe
* update docs
2020-12-05 13:20:13 +00:00
github-actions[bot]
34881de2f5
[automated] Re-Generate Nodes/Rectors Documentation ( #4783 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-12-05 11:08:31 +01:00
Tomas Votruba
520b8a9a85
[DeadDocBlock] decouple return and param rules ( #4782 )
...
* decopule return and parma rules
* enable in CI
* cleanup
* protected class-string vs string
2020-12-05 00:31:05 +00:00