45 Commits

Author SHA1 Message Date
TomasVotruba
ddf8de2e17 move AffectedFilesCollector to ChangesReporting 2020-03-19 13:56:38 +01:00
TomasVotruba
607358a8e1 move src classes to Rector\Core namespace to prevent duplications 2020-02-07 00:57:45 +01:00
TomasVotruba
69adcb274c [DX] Make sure provided node types are children of node 2020-01-18 00:27:07 +01:00
TomasVotruba
e4f1380c19 Add PHP linter 2020-01-17 16:43:25 +01:00
TomasVotruba
53eda0bb8e use new Symplify 7 2019-11-23 18:49:27 +01:00
Tomas Votruba
acfd930f54 apply PSR-12 2019-10-13 08:09:08 +02:00
Tomas Votruba
f558733611 [PHP] Split huge package to php by version rules 2019-09-23 13:38:51 +02:00
Tomas Votruba
d6d48ea44b make ShouldNotHappenException smarter 2019-09-21 13:30:03 +02:00
Tomas Votruba
9cc1c9909a remove CallableCollectorPopulator 2019-09-04 13:26:23 +02:00
Tomas Votruba
93a71ce302 rename level to set to prevent confusion of duplicate 2019-08-29 22:50:37 +02:00
Tomas Votruba
42cbfd8905 [BetterPhpDocParser] Add support for parsing Doctrine annotations 2019-08-26 21:52:16 +02:00
Tomas Votruba
6c0564a337 Add --rule option to process only single rule from set 2019-06-23 13:05:37 +02:00
Tomas Votruba
f0e86b25bf introduce OutputFormatterCollector to allow extension of output formatters 2019-05-25 20:34:10 +02:00
Tomas Votruba
ed9d83c77f fix cs 2019-03-27 20:02:15 +01:00
Tomas Votruba
bbad5b83ae bump phpstan to 0.11.5 2019-03-27 17:46:25 +01:00
Tomas Votruba
b8268f3897 remove safe 2019-02-02 13:27:03 +01:00
Tomas Votruba
465bd42925 use new PHP CS Fixer sort style for function namespaces 2019-01-02 14:22:25 +01:00
Tomas Votruba
530b2f1310 Add CallableCollectorPopulator 2018-12-23 18:03:37 +01:00
Tomas Votruba
2ad6946baf Validate that classes exist, to prevent typos 2018-10-12 11:20:20 +08:00
Tomas Votruba
a8ef98e2b5 Apply FinderSanitizer to make sure all files exists and have content [closes #655] 2018-10-12 10:24:07 +08:00
Tomas Votruba
75f2611722 use symplify/phpstan-extensions 2018-09-28 01:29:27 +08:00
Tomas Votruba
f07480c773 apply thecodingmachine/safe 2018-09-21 07:50:14 +02:00
Tomas Votruba
5e08ebc29a merge NodeTraverserQueue to Application 2018-08-15 15:50:02 +02:00
Tomas Votruba
f45d3047dc [Rector] Add ChangeMethodVisibilityRector 2018-07-31 13:24:57 +02:00
Tomas Votruba
3996e4ff41 DefaultServiceTypeForNameProvider - add 'kernel_class' parameter 2018-04-28 18:49:05 +02:00
Tomas Votruba
28ae86665f --amend 2018-04-08 17:26:59 +02:00
Tomas Votruba
36ffa14b37 RectorDefinition: ensure at lesat one CodeSample is provided 2018-04-08 17:26:59 +02:00
TomasVotruba
4ed3646adc fix case while entity is not provided 2018-03-05 13:38:56 +01:00
TomasVotruba
4b4bbc9817 add configuration 'version' option 2018-01-17 13:06:09 +01:00
TomasVotruba
5f0510dfbf AbstractRector: report expression that were not added 2018-01-06 19:21:26 +01:00
TomasVotruba
8c21c93976 cs fixes 2018-01-02 23:43:45 +01:00
TomasVotruba
886e0dbb55 fix cs by using specific NodeMissingIdentifierException 2018-01-02 23:41:37 +01:00
TomasVotruba
a394f671d5 fix namespace 2017-12-25 22:33:44 +01:00
TomasVotruba
6bd6b8e48f add exception with file that is currently being processed [closes #223] 2017-12-25 22:26:41 +01:00
TomasVotruba
97b0ad01f1 add RectorClassNormalizer, move under Configuration with Validator 2017-10-05 17:22:13 +02:00
TomasVotruba
4b908c2ab4 Exception name 2017-09-28 17:29:17 +02:00
TomasVotruba
bfc445ff5f ProcessCommand: check directories exist 2017-09-28 17:28:10 +02:00
TomasVotruba
e512719bbb fix cs 2017-09-27 17:02:54 +02:00
TomasVotruba
998fc08a3b ensure rectors are loaded in ProcessCommand 2017-09-27 17:02:54 +02:00
TomasVotruba
0d05e11bce fix cs 2017-09-27 17:02:54 +02:00
TomasVotruba
39cc722d92 add InvalidRectorClassException 2017-09-27 17:02:54 +02:00
TomasVotruba
950151daef add NotImplementedException 2017-09-06 22:56:28 +02:00
TomasVotruba
738ac001f9 use simple NodeTypeResolver according to NodeVisitor example 2017-08-20 00:51:00 +02:00
TomasVotruba
5a0ce3b7dc WIP with PHPStan 2017-08-18 22:59:59 +02:00
TomasVotruba
2f09ad31ed drop TokenSwitcher, use standalone NodeTraverser for cloning tokens 2017-08-15 14:36:39 +02:00