Commit Graph

512 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
e44e4f5da3 Updated Rector to commit 0d1ce85427
0d1ce85427 [Scoper] Fix Could not resolve argument SymfonyComponentDependencyInjectionLoaderConfiguratorContainerConfigurator (#141)
2021-06-02 10:21:10 +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
d6ce660185 Updated Rector to commit 0864547a0d
0864547a0d [automated] Re-Generate Nodes/Rectors Documentation (#125)
2021-05-30 07:54:06 +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
780e818533 Updated Rector to commit 037cfd435d
037cfd435d fix typo in option name that lead to missed config loader
2021-05-15 11:14:40 +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
9b96ef2c38 Updated Rector to commit 903dfab928
903dfab928 restore
2021-05-13 23:06:45 +00:00
Tomas Votruba
e6e69a6744 Updated Rector to commit 405e0c8102
405e0c8102 unprefix ContainerConfigurator
2021-05-13 22:39:51 +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
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
Sebastian Schreiber
5cab6367fb
[TASK] Use rector-installer to load config of extensions (#6174) 2021-04-22 10:30:18 +02:00
TomasVotruba
021ffc7ada fix cs 2021-04-08 17:50:23 +02:00
TomasVotruba
272df8a1e3 fix rector-generator config file path installed by 3rd party 2021-04-08 17:50:11 +02:00
Tomas Votruba
6ba046ef2b
add Doctrine configs (#5945) 2021-03-22 02:55:01 +01:00
TomasVotruba
4bc2316d31 use bundles if possible 2021-03-19 22:42:13 +01:00
TomasVotruba
056ec7e62a add dev configs 2021-03-19 22:34:04 +01:00
Tomas Votruba
163b37a30a
[Testing] Use single config-based testing to isolate scope unite testing for core + community packages (#5837) 2021-03-19 21:29:10 +01:00
Tomas Votruba
16b2b0376c
[PHPUnit] Decouple to own package (#5905) 2021-03-19 10:52:08 +01:00
Tomas Votruba
3aa1f86778
[Laravel] Decouple to own package (#5904) 2021-03-19 02:09:51 +01:00
Tomas Votruba
21db1e9e38
[Nette] Decouple to own package (#5903)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-19 01:33:30 +01:00
TomasVotruba
2500cbf8d1 add vendor deps locatoins 2021-03-19 00:15:52 +01:00
Tomas Votruba
8304d70f67
[Symfony] Decouple to own package (#5900) 2021-03-18 22:03:54 +00:00
Tomas Votruba
575131d0e2
[Compiler] Add downgrade-paths command (#5887) 2021-03-18 00:42:12 +01:00
Tomas Votruba
2be6607854
[Reporting] Move missing rector services to single class (#5881) 2021-03-17 19:59:47 +01:00
TomasVotruba
5896991385 decouple services-packages.php config 2021-03-15 21:01:47 +01:00
Tomas Votruba
c1c6c9aaf2
[downgrade] remove extra configs, unite parameters (#5861) 2021-03-15 13:19:57 +00:00
Tomas Votruba
0acc05cc6e
remove runnable interface, to lower complexity (#5829) 2021-03-13 01:23:22 +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
67670e70ad
[DX] move packages from src/tests to single PSR-4 directory (#5824) 2021-03-12 01:21:29 +00:00
Markus Staab
38c0ebda75
remove double ** glob to speedup bootstrapping (#4743) 2020-12-01 22:46:05 +01:00
Tomas Votruba
080e5cbe00
use symplify/skipper (#4689) 2020-11-26 23:09:21 +01:00
Tomas Votruba
4f37d2ec3f
decouple ProjectType from Option (#4451) 2020-10-19 15:11:40 +00:00
Abdul Malik Ikhsan
ae816c2c3d
Fixes #4337 : Make Option::SKIP works again with ParameterProvider (#4339) 2020-10-01 18:55:10 +02:00
Tomas Votruba
a127bf16eb
revert [Experimental] Add safe_types option - #3535 (#4120) 2020-09-03 18:02:07 +00:00
Tomas Votruba
3220d3d93a
misc (#4036) 2020-08-27 11:06:47 +02:00
Tomas Votruba
f71b242924
[Defluent] Allow DateTime to be fluent (#3947)
* ignore prefixed conflcits

* note

* skip date-time from defluencing

* drop parameter name guard, not needed anymore

* make use of addNodesAfterNode()
2020-08-12 12:32:45 +00:00
TomasVotruba
c50aedca5c [Nette] add support for getComponent() resolution in form array access 2020-07-25 18:24:40 +02:00
TomasVotruba
d4f6c497a7 [Nette] Add form dim access to standalone node control 2020-07-22 21:38:34 +02:00
TomasVotruba
0d3306250f [utils] switch YAML to PHP 2020-07-18 19:56:27 +02:00
TomasVotruba
bc0d9b3675 from YAML to PHP sets 2020-07-18 19:56:27 +02:00
TomasVotruba
0944b75f7e correct namespace in configs 2020-07-18 11:58:17 +02:00
TomasVotruba
b5f698a463 use of constants 2020-07-17 01:15:46 +02:00
TomasVotruba
f8c50ee885 switch config.yaml to config.php 2020-07-16 13:45:20 +02:00