1405 Commits

Author SHA1 Message Date
Tomáš Votruba
ed6d238b14
Merge pull request #206 from rectorphp/drop-yaml-fixing
[YamlParser] drop for now, focus on PHP
2017-12-20 17:09:43 +01:00
TomasVotruba
d1ab286478 drop from composer 2017-12-20 16:16:49 +01:00
TomasVotruba
25b733fbf9 [YamlParser] drop for now, focus on PHP 2017-12-20 16:13:35 +01:00
Tomáš Votruba
3a113f2e03
Merge pull request #202 from rectorphp/eat-dog-foot
Run on-itself, performance improvements
2017-12-20 15:20:58 +01:00
TomasVotruba
f23ad9b453 exclude phpstan bugged case 2017-12-20 15:08:33 +01:00
TomasVotruba
c0399030d5 SmartClassReflector: rebuild on source change, mainly for tests 2017-12-20 15:03:13 +01:00
TomasVotruba
693a715e3b MagicMethodRector - simplify class type analysis 2017-12-20 14:58:41 +01:00
TomasVotruba
bb7225c625 fix tests by making paramter provider aware of source 2017-12-20 14:43:48 +01:00
TomasVotruba
aa1d9c0f6c fix tests by making paramter provider aware of source 2017-12-20 14:35:38 +01:00
TomasVotruba
391fdd114b drop CurrentFileProvider, not needed anymore 2017-12-20 14:31:21 +01:00
TomasVotruba
9054207ac5 SourceLocatorFactory: add performance note 2017-12-20 14:29:44 +01:00
TomasVotruba
0e45d22a96 SourceLocatorFactory: drop EvalLocator, not used 2017-12-20 14:23:58 +01:00
TomasVotruba
544a7fee4b test fix 2017-12-20 13:54:32 +01:00
TomasVotruba
4f0ca69671 SmartClassReflector: create ClassReflector just once for source, instead once per file 2017-12-20 13:34:47 +01:00
TomasVotruba
3230944b17 SourceLocatorFactory: make use of files/directories source 2017-12-20 13:34:18 +01:00
TomasVotruba
6c63b7d10a cache SmartClassReflector 2017-12-20 03:28:09 +01:00
TomasVotruba
ead53dbe46 create common locators just once 2017-12-20 03:23:59 +01:00
TomasVotruba
b7019cece8 do not reflect on invalid types 2017-12-20 03:20:38 +01:00
TomasVotruba
92b23cc6d2 SourceLocatorFactory: pass ComposerLoader 2017-12-20 03:08:26 +01:00
TomasVotruba
6091c88717 fix cs 2017-12-20 02:57:27 +01:00
TomasVotruba
684b1b933d StandaloneTraverseNodeTraverser: create NodeTraversers just once 2017-12-20 02:55:19 +01:00
TomasVotruba
ed5baf3d6e README: apply list indent [ci skip] 2017-12-20 02:39:06 +01:00
TomasVotruba
d40065cefb ProcessCommand: show only changed files 2017-12-20 02:36:50 +01:00
Tomáš Votruba
35edf6e521
Merge pull request #192 from rectorphp/dry-run
Add --dry-run option
2017-12-20 02:34:31 +01:00
TomasVotruba
1ae9c4bae5 README: add --dry-run option [ci skip] 2017-12-20 02:17:34 +01:00
TomasVotruba
17f84702ab phpstan fixes 2017-12-20 02:13:45 +01:00
TomasVotruba
e7ff2ae15a cleanup, drop ChangedFilesCollector 2017-12-20 02:12:15 +01:00
TomasVotruba
d96c0952f0 improve no-rector error message 2017-12-20 01:55:19 +01:00
TomasVotruba
94c675c9a4 ProcessCommand: sort Rector by class name, show only diff for files, no need to list count and their names 2017-12-20 01:54:27 +01:00
TomasVotruba
afe8f03ba3 add OPTION_DRY_RUN constant 2017-12-20 01:21:06 +01:00
TomasVotruba
052f06b204 ecs: add UnusedPrivateSniff, apply it 2017-12-20 01:19:35 +01:00
TomasVotruba
9630972ae8 remove unused property 2017-12-20 01:18:54 +01:00
TomasVotruba
221042afed add DifferAndFormatter 2017-12-20 01:18:54 +01:00
TomasVotruba
c54dad164f composer: add php cs fixer for Diff 2017-12-20 01:18:54 +01:00
TomasVotruba
f422f52d9e fix cs 2017-12-20 01:18:54 +01:00
TomasVotruba
8b281d4955 cleanup temp code [ci skip] 2017-12-20 01:18:54 +01:00
TomasVotruba
4145536514 add Differ 2017-12-20 01:18:54 +01:00
TomasVotruba
7db6007a20 dry wip 2017-12-20 01:18:54 +01:00
Tomáš Votruba
75ceb6984e
Merge pull request #198 from carusogabriel/extend-SpecificMethodCountRector
Extend SpecificMethodCountRector
2017-12-20 00:19:13 +01:00
Gabriel Caruso
b82a0734dc Add third argument to verify custom error message isn't overwrite 2017-12-19 20:32:49 -02:00
Gabriel Caruso
491b697b77 Use array_keys to avoid array duplication 2017-12-19 20:28:49 -02:00
Gabriel Caruso
afb27b1900 Make easier to add new assertions to SpecificMethodCountRector 2017-12-19 20:18:10 -02:00
TomasVotruba
bd60cb7ec7 README: title detail [ci skip] 2017-12-19 23:14:51 +01:00
Gabriel Caruso
aa50903b38 Extend SpecificMethodCountRector 2017-12-19 19:33:37 -02:00
Tomáš Votruba
c4dc955661
Merge pull request #200 from rectorphp/fix-array-key-exists
[PHPUnit] Fix array_key_exists() argument up-lifting
2017-12-19 22:29:27 +01:00
TomasVotruba
cf2df46390 fix phpstan 2017-12-19 22:16:33 +01:00
TomasVotruba
f2014a2641 [PHPUnit] fix arguments moving up for array_key_exists() 2017-12-19 22:16:06 +01:00
Tomáš Votruba
ee6870aa94
Merge pull request #197 from carusogabriel/fix-class-description
Fix SpecificMethodObjectAttributeRector description class
2017-12-19 18:50:44 +01:00
Gabriel Caruso
5042936985 Fix SpecificMethodObjectAttributeRector description class 2017-12-19 13:01:11 -02:00
Gabriel Caruso
3612d139f7 First try to fix assertArrayHasKey 2017-12-19 12:47:55 -02:00