647 Commits

Author SHA1 Message Date
TomasVotruba
9619a6426d moving to config-based testing 2018-02-24 14:42:49 +01:00
TomasVotruba
695876d6c1 [cs] add BreakArrayListFixer 2018-02-24 12:49:56 +01:00
TomasVotruba
2920edcdff fix phpstan 2018-02-24 12:35:24 +01:00
TomasVotruba
04e8ba5803 use stubs to remove dependency on unused nette/application package 2018-02-24 12:32:39 +01:00
TomasVotruba
4d8a6d3272 move test under RectorBuilder package 2018-02-24 12:00:52 +01:00
TomasVotruba
eb66eea0b2 fix cs 2018-02-24 11:33:11 +01:00
TomasVotruba
e6b11fbb12 rename CaseRector to BuilderRector 2018-02-24 11:32:54 +01:00
TomasVotruba
7b019d47b6 working prototype 2018-02-24 11:31:19 +01:00
TomasVotruba
fd04d89c95 fix cs 2018-02-24 11:01:45 +01:00
TomasVotruba
7c109a0749 move build methods to from Builder to Rector 2018-02-24 11:01:33 +01:00
TomasVotruba
c9435ee9a2 CompilerPass: use native API 2018-02-24 10:45:18 +01:00
TomasVotruba
628f4339bf CaseRectorBuilder - add autowired setters as well 2018-02-24 00:34:27 +01:00
TomasVotruba
76d52f8838 fix Rector loading to RectorNodeTraverser 2018-02-24 00:34:14 +01:00
TomasVotruba
51b516b5d7 move CaseRector creating to CaseRectorBuilder 2018-02-23 23:34:53 +01:00
TomasVotruba
81154076cd register CaseRector as service to be cloned 2018-02-23 22:20:45 +01:00
TomasVotruba
d7aa6003bc fix slash escaping on RectorProvidersCompilerPass 2018-02-23 22:20:32 +01:00
TomasVotruba
f6088f4430 fix CaseRector 2018-02-23 22:20:11 +01:00
TomasVotruba
9c2176739b add Symfony\ExpressionLanguage 2018-02-23 20:04:45 +01:00
TomasVotruba
38443547ec add RectorProviderInterface + CompilerPass to load it 2018-02-23 20:00:31 +01:00
TomasVotruba
b6636c8d53 rename to CaseRector, as it managed single specific case 2018-02-23 18:30:18 +01:00
TomasVotruba
5175bbfdc5 BuildRector wip 2018-02-23 18:30:18 +01:00
TomasVotruba
d1396f6c9b init RectorBuidler 2018-02-23 18:30:18 +01:00
TomasVotruba
5b21728770 put Nette/Object back now 2018-02-21 00:22:23 +01:00
TomasVotruba
5aa0efbe90 add Nette/Object stub 2018-02-21 00:20:03 +01:00
TomasVotruba
a663e285de fix cs 2018-02-20 23:30:37 +01:00
TomasVotruba
d645a5a671 fix Nette\Object removal in Nette 2018-02-20 23:26:13 +01:00
TomasVotruba
6d6d99539d remove unused code 2018-02-08 17:33:57 +01:00
TomasVotruba
ae1e812a07 [PHPUnit] add ScenarioToTestAnnotationRector 2018-02-08 17:32:00 +01:00
TomasVotruba
7b61882231 add AnnotationReplacer 2018-02-08 17:20:16 +01:00
TomasVotruba
ba9cb054c7 SmartClassReflector - skip empty class names [closes #309] 2018-02-08 16:14:30 +01:00
TomasVotruba
5dc2762996 use strict StrictUnifiedDiffOutputBuilder 2018-02-07 09:43:12 +01:00
TomasVotruba
7aeb632fb6 Merge branch 'master' into phpunit-7 2018-02-07 09:40:44 +01:00
Gabriel Caruso
ba27a60c98
Fix some misspellings 2018-02-06 07:57:34 -02:00
Gabriel Caruso
709e08dea5 Drop gecko-diff-output-builder in favor of diff v3 for PHPUnit 7 2018-02-05 12:11:23 -02:00
TomasVotruba
93cc5d86c4 remove package, move ConstExprEvaluatorFactory to core 2018-01-27 21:02:01 +01:00
TomasVotruba
201d4919bb use ConstExprEvaluator instead of NodeValueResolver 2018-01-27 20:47:56 +01:00
Gabriel Caruso
4ba5435704 Fixes from EasyCodeStandard 2018-01-23 01:10:30 -02:00
Gabriel Caruso
2dce06e34c Fix calling method toString on null by casting as string 2018-01-18 17:38:49 -02:00
TomasVotruba
02a955a34c fix @Route ( indent [closes #295] 2018-01-17 22:24:28 +01:00
TomasVotruba
f4b7529787 BetterNodeFinder: add findLastInstanceOf 2018-01-15 23:14:44 +01:00
TomasVotruba
03b16b240c remove unused interface 2018-01-15 19:46:11 +01:00
Tomáš Votruba
f699911d8a
Merge pull request #278 from carusogabriel/refactoring
Refactoring
2018-01-11 22:53:31 +01:00
Gabriel Caruso
3839e68b4e Invert the logic when getting the method name 2018-01-11 17:41:48 -02:00
Gabriel Caruso
6450a6b68b [Fix] Object of class PhpParser\Node\{} could not be converted to string 2018-01-11 17:24:37 -02:00
Gabriel Caruso
0fda92ff08 Use bool return of functions and comparisonsas return 2018-01-11 17:24:12 -02:00
Gabriel Caruso
b1a86aa8c1 Use Null Coalesce Operator 2018-01-11 17:24:12 -02:00
Gabriel Caruso
8e007f0264 [DocBlockAnalyzer] Fix getTagsByName return 2018-01-10 02:33:34 -02:00
TomasVotruba
e7c4bb4293 cleanup unused property 2018-01-08 21:27:10 +01:00
TomasVotruba
ed2e5b9d02 cleanup TypeNodeVisitor, move TypeContext class resolving to PropertyTypeResolver 2018-01-08 21:26:14 +01:00
TomasVotruba
e32ed6a300 simplify PropertyFetchTypeResolver 2018-01-08 21:25:56 +01:00