Commit Graph

155 Commits

Author SHA1 Message Date
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
Tomas Votruba
9665d586ce make LevelOptionResolver smarter 2019-06-01 11:46:18 +03:00
Tomas Votruba
62fb154906 make OutputFormatters specific for DumpRectorsCommand 2019-02-23 00:49:32 +01:00
Tomas Votruba
bfff23fbb2 use AbstractHttpKernelTest case and local Kernel over ContainerFactory 2019-02-23 00:49:32 +01:00
Tomas Votruba
a486f7fdbb rename class in bin/bootstrap.php 2019-02-08 15:53:29 +01:00