Tomas Votruba
0eb6e29176
drop MinimalVersionChecker, is checked by composer itself ( #4715 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-27 17:32:38 +01:00
Tomas Votruba
0993088cda
[SymfonyPhpConfig] Use Symplify package instead + simplify set validation ( #4694 )
...
* [SymfonyPhpConfig] Use Symplify package instead
* [SymfonyPhpConfig] Drop forgotten custom-jobs Rectors
* [CI] simplify set validation
* from inline functions to Static class
* cleanup
* decouple rector.php to allow static analysis and coding standards
2020-11-26 16:44:27 +00:00
Tomas Votruba
da6d703687
Improve Blade class renames ( #4676 )
...
* [Console] Use single point of command naming
* use blade in process command
* filter out blade templates from PHP files
* make test process blade as non php file
* add failing test
* remove duplicated tests
* rename php to php.inc suffix to make it skip to CI tools
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-23 19:16:48 +00:00
Tomas Votruba
4a76cdaa82
[SymfonyPHPConfig] Add monorepo split for value objects function ( #4153 )
...
* add monorepo split for symfony-php-config
* [SOLID] Prevent replacing referenced parametes with inlined constnat value
* make Symfon 5.0- compatible
* add support for reference skip in constructor
* [rector] add support for reference skip in constructor
* [cs] add support for reference skip in constructor
* improve misisng rule feedback
* underscore
* Fix ChangeReadOnlyVariableWithDefaultValueToConstantRector for new
* add clear-cache to all commands
* colors
* [rector] colors
* [cs] colors
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-10 17:42:43 +00:00
Marek Šimeček
66bf80f891
changed files detector test ( #4256 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-18 12:06:01 +02:00
Julian Pollmann
bdb3750948
FixMissing Ruleset does not throw SetNotFoundException ( #4117 )
2020-09-03 15:55:13 +02:00
Tomas Votruba
042f08f71b
Drop YAML config support ( #4081 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-30 23:29:39 +02:00
Tomas Votruba
4ef653976f
Fix invalid set reporting ( #4006 )
...
* do not use internal rectors
* report invalid set
* remove dashes before number in set name
* [rector] remove dashes before number in set name
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-22 19:27:41 +00:00
Tomas Votruba
ac4e73b72f
add ConfigShifter to make use of root config parameter override ( #3994 )
2020-08-20 15:37:13 +02:00
TomasVotruba
6cc9432fbc
warn about YAML deprecation + load YAML sets
2020-07-22 22:42:56 +02:00
TomasVotruba
e5d7cee695
move RectorConfigsResolver to bootstrap, fix paths
2020-07-22 00:55:22 +02:00
TomasVotruba
2eb21e1087
make use of new set from symplify
2020-07-21 14:10:48 +02:00
TomasVotruba
3a9375007e
decouple Set package
2020-07-21 01:39:24 +02:00
TomasVotruba
2f927842a7
move sets to single /set directory
2020-07-21 00:46:53 +02:00
TomasVotruba
aeb7937972
add set constants + command to generate them
2020-07-20 01:00:49 +02:00
TomasVotruba
bda3e5aa28
load rector.php config
2020-07-18 21:15:27 +02:00
TomasVotruba
78f830a6f7
add PHP support to FileHashComputer
2020-07-17 00:59:52 +02:00
dobryy
78e518c105
check minimal php version
2020-07-08 20:36:27 +02:00
Markus Staab
de81569417
Define __RECTOR_RUNNING__ constant at analysis time
2020-05-08 14:12:25 +02:00
TomasVotruba
f8c659a43d
autoload reference file before creating container, so phpstan.neon extensions are loaded
2020-04-25 19:39:04 +02:00
TomasVotruba
c4dee7782f
various fixes
2020-04-20 15:40:09 +02:00
TomasVotruba
5f4a2c1e3b
Add changed files caching
2020-04-20 01:54:17 +02:00
Ondrej Mirtes
e8ea606e12
Fixed PHPStan issues
2020-02-08 20:00:10 +01:00
TomasVotruba
cc75b8b0af
move stubs autoload after class autoload
2020-02-07 07:13:53 +01:00
TomasVotruba
607358a8e1
move src classes to Rector\Core namespace to prevent duplications
2020-02-07 00:57:45 +01:00
TomasVotruba
9e0ca0f234
skip doctrine for now, impossible to fix
2020-02-06 17:09:57 +01:00
TomasVotruba
3b2cfbf2c7
fix array expr
2020-02-06 17:04:12 +01:00
TomasVotruba
bace233ed4
load just once experiment
2019-12-09 00:57:44 +01:00
TomasVotruba
a17c90227c
simplify autolaod in bin/rector
2019-12-08 18:01:41 +01:00
TomasVotruba
a1eb10be06
autoload tweaks
2019-12-08 18:01:41 +01:00
TomasVotruba
290d0b4ee5
fixup! Merge pull request #2409 from rectorphp/phalcon-round-2
2019-12-08 18:01:29 +01:00
TomasVotruba
53eda0bb8e
use new Symplify 7
2019-11-23 18:49:27 +01:00
TomasVotruba
fcb5f372c2
[DX] report missing rules in exclude_rectors parameter
2019-11-14 16:48:25 +01:00
Tomas Votruba
8dc4336ce8
add SetOptinosResolver and ConfigResolver
2019-10-30 12:17:26 +01:00
Tomas Votruba
07a1f1e848
move ci scripts to from /bin to /ci
2019-10-30 11:56:21 +01:00
Tomas Votruba
e5194fecc2
add --xdebug option
2019-10-29 17:58:44 +01:00
Tomas Votruba
51403e5348
Fix empty -c/--config value
2019-10-29 17:46:24 +01:00
Tomas Votruba
beaf6a8378
make use of Set and ContainerFactory
2019-10-22 15:13:46 +02:00
Tomas Votruba
0a5efeaf84
add Standalone
2019-10-22 15:13:46 +02:00
Tomas Votruba
acfd930f54
apply PSR-12
2019-10-13 08:09:08 +02:00
Tomas Votruba
b5b2358849
fix set error report
2019-10-09 11:19:51 +01:00
Tomas Votruba
46412c73ce
[Symfony] Make MakeDispatchFirstArgumentEventRector work with get_class
2019-09-26 13:52:28 +02:00
Tomas Votruba
fcb865767a
make RectorServiceParametersShifter report better error in case of invalid configuration
2019-09-26 13:33:31 +02:00
Tomas Votruba
e2a8659b2c
fix easy-admin-bundle20 set
2019-09-26 13:26:06 +02:00
Tomas Votruba
2289c0d873
[CI] run all sets check
2019-09-26 12:48:28 +02:00
Tomas Votruba
cefdc0f846
check invalid config arguments
2019-09-13 09:01:27 +02:00
Tomas Votruba
aa5bfc4921
fix array to provider rule
2019-09-13 08:32:33 +02:00
Tomas Votruba
60232eca21
add check class existance scripts
2019-09-13 08:16:11 +02:00
Tomas Votruba
93a71ce302
rename level to set to prevent confusion of duplicate
2019-08-29 22:50:37 +02:00
Tomas Votruba
522fc0ca58
rename level dir to set
2019-06-08 22:41:52 +02:00