418 Commits

Author SHA1 Message Date
TomasVotruba
8af520f9fc fix test name 2018-02-23 18:30:18 +01:00
mssimi
590e6d5bd1 add tests to method name replacer rector 2018-02-19 21:02:42 +01:00
TomasVotruba
c9b31dba64 update current Contrib configs 2018-02-13 22:16:05 +01:00
TomasVotruba
1d76891f14 cleaning 2018-02-13 19:58:09 +01:00
TomasVotruba
25df68f9ee fix tests 2018-02-13 19:50:57 +01:00
TomasVotruba
e08aea0139 add ArgumentReplacerItemRecipe, use typed config structure 2018-02-13 19:48:43 +01:00
TomasVotruba
74789aee46 cleanup and move 2018-02-09 01:20:37 +01:00
TomasVotruba
8853ac5957 use Dynamic AnnotationReplacerRector 2018-02-09 01:14:45 +01:00
TomasVotruba
ae1e812a07 [PHPUnit] add ScenarioToTestAnnotationRector 2018-02-08 17:32:00 +01:00
Marek Šimeček
67cbc909f3
Update AddFlashRectorTest.php
fix wrong namespace
2018-02-05 10:27:06 +01:00
mssimi
0df7d6e9cc add flash rector 2018-02-04 21:27:39 +01:00
mssimi
68873b8cd7 redirect to route rector 2018-02-03 19:25:10 +01:00
Tomáš Votruba
ce7af98011
Merge pull request #304 from rectorphp/assert-class-has-attribute
[PHPUnit] Create AssertPropertyExistsRector
2018-02-01 12:31:36 +01:00
Gabriel Caruso
e7a8001292 [PHPUnit] Test namespaced classes 2018-02-01 08:37:55 -02:00
Gabriel Caruso
81d44507bb [PHPUnit] Create AssertPropertyExistsRector 2018-02-01 08:34:15 -02:00
Gabriel Caruso
b13075a5b4 [PHPUnit] Test namespaced functions in PHP 7 2018-02-01 06:41:38 -02:00
TomasVotruba
4ca2743a29 add relatedTypesAndMethods property to collect defluented methods 2018-01-26 10:26:50 +01:00
Gabriel Caruso
bc977d7b7a Identify return $this 2018-01-26 10:26:50 +01:00
Gabriel Caruso
7ce8d9bcf5 [WIP] FluentReplaceRector 2018-01-26 10:26:50 +01:00
Gabriel Caruso
4ba5435704 Fixes from EasyCodeStandard 2018-01-23 01:10:30 -02:00
Gabriel Caruso
5e1999a368 Fix custom message been overwritten 2018-01-18 15:42:38 -02:00
Gabriel Caruso
8591cc6716 Add assertArrayHasKey and assertArrayNotHasKey refactoring 2018-01-18 15:16:39 -02:00
Gabriel Caruso
bb2249e660 Rename to AssertIssetToSpecificMethodRector 2018-01-18 14:19:51 -02:00
TomasVotruba
02a955a34c fix @Route ( indent [closes #295] 2018-01-17 22:24:28 +01:00
TomasVotruba
c1fd7d6c1c use single wrong version case for all 2018-01-17 22:15:11 +01:00
TomasVotruba
6140f1a835 add test case with route, less pass for now 2018-01-17 13:26:42 +01:00
TomasVotruba
9c10d98ac7 fix for Version5 2018-01-17 13:25:02 +01:00
TomasVotruba
5382f7ad27 split test case temp files 2018-01-17 13:14:25 +01:00
TomasVotruba
899cc35a74 split tests to cover both version 2018-01-17 13:09:16 +01:00
TomasVotruba
4b4bbc9817 add configuration 'version' option 2018-01-17 13:06:09 +01:00
TomasVotruba
7d2bf3122f move TemplateAnnotationRector to Sensio\FrameworkExtraBundle 2018-01-17 12:50:04 +01:00
mssimi
70c8fd3e5d added tests and fixed code 2018-01-17 12:43:30 +01:00
TomasVotruba
ae47518f31 TemplateAnnotationRector: add support for existing render() method 2018-01-15 23:15:05 +01:00
TomasVotruba
77647decb8 fix test 2018-01-15 23:09:20 +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
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
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
105fff2396 add second test case with return args 2018-01-15 19:46:11 +01:00
TomasVotruba
ee87618f69 TemplateAnnotationRector init 2018-01-15 19:46:11 +01:00
Gabriel Caruso
c7028b9016 [AssertCompareToSpecificMethodRector] Fix bug with ArrayDimFetch Nodes 2018-01-07 12:09:32 -02:00
TomasVotruba
8685bda7e4 [Contrib] drop FormSetRequiredRector as it require lot of human interaction to make it work 2018-01-06 19:21:26 +01:00
TomasVotruba
80fc0d1bec add failing test 2018-01-06 19:21:26 +01:00
TomasVotruba
84a44c753e add test case for adding Expression in if condition 2018-01-06 19:21:26 +01:00
TomasVotruba
d846136875 RectorOrder: add test case 2018-01-06 17:14:00 +01:00