Tomas Votruba
b055a88927
Add RectorConfigProvider to ask for configuration behave for 3rd party packages ( #2187 )
...
* add note about deprecated configure() method
* bump rector config to ruleWithConfiguration()
* remove ParameterProvider from StaticEasyPrefixer, as requires complete alias cleanup messed with scoped
* add RectorConfigProvider
2022-04-28 19:13:39 +02:00
Tomas Votruba
8272c42bfa
fix cs
2022-04-28 18:17:59 +02:00
Tomas Votruba
b061dcdcf3
[scoped] skip parameter provider class
2022-04-28 18:17:51 +02:00
Tomas Votruba
de1d8592a9
Avoid scoping parameter provider to re-use, remove it from AbstractRector to ease the dependency tree ( #2185 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-04-28 18:16:55 +02:00
Abdul Malik Ikhsan
5025d255ca
[Core] Rollback ParameterProvider autowire into AbstractRector ( #2095 )
...
* [Core] Rollback ParameterProvider autowire into AbstractRector
* remove exclude config
* clean up
* [ci-review] Rector Rectify
Co-authored-by: GitHub Action <action@github.com>
2022-04-19 10:04:23 +02:00
Abdul Malik Ikhsan
569560bff5
[Scoped] Register ParameterProvider to Excluded class on Scoped version ( #2093 )
2022-04-19 00:19:17 +02:00
Tomas Votruba
8d92c466fd
[DX] Use RectorConfig in configs ( #2063 )
...
* use RectorConfig in configs
* update variable name
* remove extra spaces
* apply on configs
* apply on e2e
* update markdown files
* remove extra spaces
2022-04-12 13:46:07 +02:00
Abdul Malik Ikhsan
dfa6312dd5
Revert [Scoped] Register src/functions to downgrade-rector.sh and DowngradePathsCommand ( #1966 ) ( #1967 )
...
This reverts commit 3e8381ea2a
.
2022-03-26 20:24:37 +00:00
Abdul Malik Ikhsan
3e8381ea2a
[Scoped] Register src/functions to downgrade-rector.sh and DowngradePathsCommand ( #1966 )
2022-03-26 20:11:38 +00:00
Abdul Malik Ikhsan
cfd0d61b52
[CodingStyle] Trigger RemoveFinalFromConstRector ( #1733 )
...
* [CodingStyle] Trigger RemoveFinalFromConstRector
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: GitHub Action <action@github.com>
2022-01-27 01:47:33 +07:00
Tomas Votruba
caeeb78f6f
Bump Symplify to 10.0.16 + improve complexity ( #1725 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-01-25 11:35:55 +00:00
Abdul Malik Ikhsan
a66be59205
Merge pull request #1635 from rectorphp/enable-src-parallel
...
[Scoped] Enable src to be downgraded via parallel
2022-01-05 01:20:57 +07:00
Abdul Malik Ikhsan
6e78e9d513
more specific path
2022-01-05 01:16:32 +07:00
Abdul Malik Ikhsan
fbc7bf00e6
Revert "[Scoped] Exclude utils directory from scoped, and no need parallel on bin directory"
2022-01-05 01:10:14 +07:00
Abdul Malik Ikhsan
056a8b170f
enable src/Config
2022-01-05 01:08:07 +07:00
Abdul Malik Ikhsan
4d500ab27d
[Scoped] Enable src to be downgraded via parallel
2022-01-05 01:01:30 +07:00
Abdul Malik Ikhsan
a4da59de24
[Scoped] Exclude utils directory from scoped
2022-01-05 00:42:58 +07:00
Abdul Malik Ikhsan
da658ed4d6
[Scoped] Exclude rules/Naming from parallel process
2022-01-05 00:25:33 +07:00
Abdul Malik Ikhsan
53cc9d2e64
move down packages
2022-01-04 22:13:03 +07:00
Abdul Malik Ikhsan
23340bec4d
set Option::PARALLEL back to false when read config-downgrade.php
2022-01-04 22:07:31 +07:00
Abdul Malik Ikhsan
2c46b1e762
more specific directory for parallel downgrade
2022-01-04 20:55:55 +07:00
Tomas Votruba
b4fabbdeba
[Downgrade] Drop SAFE_TYPES and SAFE_TYPES_TO_METHODS constants, use UNSAFE_TYPES_TO_METHODS instead ( #1449 )
2021-12-10 13:50:46 +00:00
Tomas Votruba
5d45598fbe
[scoped] return prefix of value object inliner, in case of direct use - https://github.com/rectorphp/rector/issues/6854
2021-12-10 14:11:45 +01:00
Tomas Votruba
5493b6dc13
[DX] Re-use configure() in docs + remove prefixing of ValueObjectInliner ( #1410 )
2021-12-06 21:59:45 +01:00
Abdul Malik Ikhsan
b7ef6368f3
[Scoped] Add missing utils to downgrade paths ( #1389 )
2021-12-04 16:19:44 +00:00
Abdul Malik Ikhsan
eea8393cc4
[Rectify] [Php81] Enable Rectify for finalize public class constant only ( #1380 )
...
* up to php 8.0 with add FinalizePublicClassConstantRector
* temporary skip non finalize public class constant rector
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: GitHub Action <action@github.com>
2021-12-04 15:35:50 +00:00
Abdul Malik Ikhsan
d23308fd3f
[Scoped] Remove phpstan-extracted code check reference ( #1265 )
2021-11-18 09:52:38 +01:00
Abdul Malik Ikhsan
f8e04774ad
Fixing scoped build ( #1143 )
2021-11-04 15:10:58 +00:00
Tomas Votruba
0480240e27
fix downgrade paths
2021-11-01 15:04:16 +01:00
Tomas Votruba
01b39f585b
Remove moved phsptan rules ( #933 )
2021-09-30 14:20:14 +02:00
Tomas Votruba
f2132237d6
[automated] Apply Coding Standard ( #922 )
...
Co-authored-by: TomasVotruba <TomasVotruba@users.noreply.github.com>
2021-09-26 00:17:11 +00:00
Abdul Malik Ikhsan
49314dc3d4
[DX] Add PhpUpgradeImplementsMinPhpVersionInterfaceRule ( #910 )
...
Co-authored-by: GitHub Action <action@github.com>
2021-09-24 14:25:49 +02:00
Abdul Malik Ikhsan
e09cf113d7
[DX] Add PhpUpgradeDowngradeRegisteredInSetRule PHPStan rule ( #905 )
...
* [DX] Add PhpUpgradeDowngradeRegisteredInSetRule PHPStan rule
* phpstan
* register test
* [ci-review] Rector Rectify
* phpstan
* phpstan fix
* check prefix
* Fix
* fix
* final touch: service config
* skip implements ConfigurableRectorInterface
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* register services
* final touch: example of non-configurable service
* include configured rector
Co-authored-by: GitHub Action <action@github.com>
2021-09-21 13:04:34 +02:00
Abdul Malik Ikhsan
3603d73c98
[Scoper] Fix Cannot autowire service "RectorPrefix20210825\Helmich\TypoScriptParser\Parser\Traverser\Traverser" ( #759 )
2021-08-25 10:19:12 +00:00
Abdul Malik Ikhsan
b422a9d747
[Core] Replace deprecated ShellCode:: with Symfony Command:: for status ( #737 )
...
Co-authored-by: GitHub Action <action@github.com>
2021-08-22 22:52:09 +02:00
Tomas Votruba
7e15ae1451
Upgrade PHPStan rules and fix new reports ( #697 )
2021-08-16 10:44:29 +00:00
Abdul Malik Ikhsan
401f6b8484
[Scoper] Fix PHPUnit scoper IsEqual ( #693 )
2021-08-16 08:24:05 +00:00
Abdul Malik Ikhsan
c8a4625e7c
[Scoper] Unprefix Helmich\TypoScriptParser\Parser\AST\Statement ( #647 )
2021-08-11 20:28:32 +07:00
Abdul Malik Ikhsan
aff0c5d90c
[Scoper] Remove Doctrine\Inflector\Inflector from exclude class ( #582 )
2021-08-03 19:10:53 +02:00
Abdul Malik Ikhsan
692e9e3db4
Rector 7.0 Native init steps ( #475 )
2021-07-21 10:29:55 +02:00
Tomas Votruba
a83dd76994
revert vendor/rector order
2021-07-05 17:11:58 +02:00
Tomas Votruba
48784457eb
Fix doctrine inflector bug downgrade ( #388 )
2021-07-05 16:58:37 +02:00
Tomas Votruba
bec370b9f9
downgrade vendor/rector first
2021-07-05 13:56:31 +02:00
TomasVotruba
f990da401b
remove container builder scoping
2021-06-05 22:54:01 +02:00
TomasVotruba
cb42037429
remove doctrine orm from scoping
2021-06-05 22:45:49 +02:00
TomasVotruba
cf849334d0
unscpoe phpfile loader
2021-06-05 22:12:20 +02:00
TomasVotruba
1e4a205f63
de-scope ContainerBuilder
2021-06-05 21:18:04 +02:00
TomasVotruba
84802f54d6
downgrade ssch together
2021-05-19 14:17:01 +01:00
Tomas Votruba
cc546e68d4
[scoped] include typo3 rector in scoped version follow up ( #71 )
...
Co-authored-by: Sebastian Schreiber <me@schreibersebastian.de>
2021-05-19 13:48:20 +02:00
TomasVotruba
903dfab928
restore
2021-05-13 23:59:47 +01:00