2049 Commits

Author SHA1 Message Date
TomasVotruba
7d2bf3122f move TemplateAnnotationRector to Sensio\FrameworkExtraBundle 2018-01-17 12:50:04 +01:00
TomasVotruba
77df02382b fix cs 2018-01-17 12:43:58 +01:00
mssimi
70c8fd3e5d added tests and fixed code 2018-01-17 12:43:30 +01:00
TomasVotruba
e7683a9637 decrease complexity 2018-01-15 23:17:46 +01:00
TomasVotruba
ae47518f31 TemplateAnnotationRector: add support for existing render() method 2018-01-15 23:15:05 +01:00
TomasVotruba
f4b7529787 BetterNodeFinder: add findLastInstanceOf 2018-01-15 23:14:44 +01:00
TomasVotruba
77647decb8 fix test 2018-01-15 23:09:20 +01:00
Tomáš Votruba
5d2e73fe83
Merge pull request #293 from mssimi/temlate-symfony-rector
added tests for more use cases
2018-01-15 22:44:46 +01:00
mssimi
5f3633d1de added tests for more use cases 2018-01-15 22:43:01 +01:00
mssimi
9db9da7c74 added tests for more use cases 2018-01-15 22:38:02 +01:00
TomasVotruba
cc3f5573d3 tests pass 2018-01-15 20:40:38 +01:00
TomasVotruba
9ddbe54e4d add own TemplateGuesser 2018-01-15 20:40:19 +01:00
TomasVotruba
aab3c28fc6 [monorepo] init build script 2018-01-15 19:46:11 +01:00
mssimi
441efc7292 better tests 2018-01-15 19:46:11 +01:00
mssimi
1acc38c2d3 better tests 2018-01-15 19:46:11 +01:00
TomasVotruba
af4d893f0d uppercase @Template 2018-01-15 19:46:11 +01:00
TomasVotruba
03b16b240c remove unused interface 2018-01-15 19:46:11 +01:00
TomasVotruba
a8773121b2 uppercase @Template annotation 2018-01-15 19:46:11 +01:00
TomasVotruba
8f507baa05 decoupling 2018-01-15 19:46:11 +01:00
TomasVotruba
0ff8358aef phpstan fixes 2018-01-15 19:46:11 +01:00
TomasVotruba
238519ebea add test case for filename in annotation 2018-01-15 19:46:11 +01:00
TomasVotruba
ac5b455572 add test case for filename in annotation 2018-01-15 19:46:11 +01:00
TomasVotruba
6a5b8aa1f2 improve 1st test case 2018-01-15 19:46:11 +01:00
TomasVotruba
3de9c648b9 cs 2018-01-15 19:46:11 +01:00
TomasVotruba
105fff2396 add second test case with return args 2018-01-15 19:46:11 +01:00
TomasVotruba
4f30c8ffbd simplify if 2018-01-15 19:46:11 +01:00
TomasVotruba
666dc0371f add NodeFactory, fix cs 2018-01-15 19:46:11 +01:00
TomasVotruba
e799cdc26d pass 2018-01-15 19:46:11 +01:00
TomasVotruba
f3036f6d2d wip 2018-01-15 19:46:11 +01:00
TomasVotruba
88aa98988c determine template method from action method name 2018-01-15 19:46:11 +01:00
TomasVotruba
a4630f90f2 temove annotation 2018-01-15 19:46:11 +01:00
TomasVotruba
40d494cd65 isCandidate() 2018-01-15 19:46:11 +01:00
TomasVotruba
ee87618f69 TemplateAnnotationRector init 2018-01-15 19:46:11 +01:00
Gabriel Caruso
4071b3cf7a
Merge pull request #289 from rectorphp/readme
[README] Improve "Do you Have Conflicts" section
2018-01-14 14:41:46 -02:00
Gabriel Caruso
1eaceebf10 Link phpstan and php-parser 2018-01-14 14:24:28 -02:00
Gabriel Caruso
676a1b51ba Separe package name and version with colon 2018-01-14 13:29:40 -02:00
Gabriel Caruso
61910d280f [README] Improve "Do you Have Conflicts" section 2018-01-14 12:14:47 -02:00
Tomáš Votruba
6a8fc64ba1
Merge pull request #288 from rectorphp/fix-autoload
Add vendor-bin to $possibleAutoloadPaths
2018-01-14 14:27:13 +01:00
Gabriel Caruso
7e0f300265 Add vendor-bin to $possibleAutoloadPaths 2018-01-14 11:16:40 -02:00
Tomáš Votruba
d0968b2400
Merge pull request #284 from rectorphp/demo
Add animated gif to README
2018-01-13 18:09:22 +01:00
TomasVotruba
7f50ef78e7 fix cs 2018-01-13 16:41:33 +01:00
TomasVotruba
80c8deba69 README: add gif showcase 2018-01-13 16:01:31 +01:00
TomasVotruba
f9a9e2a9c8 use Option class for options 2018-01-13 14:02:51 +01:00
TomasVotruba
c86f5c64a5 exclude bugged cs rule 2018-01-12 20:40:33 +01:00
Tomáš Votruba
f699911d8a
Merge pull request #278 from carusogabriel/refactoring
Refactoring
2018-01-11 22:53:31 +01:00
Tomáš Votruba
3b842c2b37
Merge pull request #279 from carusogabriel/fix
[Fix] Object of class PhpParser\Node\{} could not be converted to string
2018-01-11 22:52:41 +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