4049 Commits

Author SHA1 Message Date
Tomas Votruba
a6d2d52eac temporary changes of AppliedRectorsCollector and re-runners 2018-12-08 13:30:32 +01:00
Tomas Votruba
2a8943c956 move exception message correction to ErrorAndDiffCollector 2018-12-08 13:04:27 +01:00
Tomas Votruba
284f732ac8 move diffs to ErrorCollector 2018-12-08 13:01:08 +01:00
Tomas Votruba
4dddf13432 decouple RectorApplication from console 2018-12-08 13:01:08 +01:00
Tomas Votruba
b3e6c46d93 Add ExceptionCorrector 2018-12-08 13:01:08 +01:00
Tomas Votruba
c01d9bcc7d add Configuration 2018-12-08 13:01:08 +01:00
Tomas Votruba
7912edb044 remove file list, with diffs it has no value 2018-12-08 00:47:02 +01:00
Tomas Votruba
fd9d66110f extend tests 2018-12-08 00:37:48 +01:00
Tomáš Votruba
04b2598aa5
Merge pull request #820 from rectorphp/scalar-on-symfony
Testing *ScalarTypehintsRector on Symfony
2018-12-07 22:29:51 +01:00
Tomas Votruba
2a00f0d51b rename Wrong ns to Fixture in tests 2018-12-07 21:51:59 +01:00
Tomas Votruba
47ad07d4b0 improve child type resolving with nullable and different namespace 2018-12-07 21:22:11 +01:00
Tomas Votruba
43874f6aa7 merge IntegrationRectorTestCaseTrait to Abstract test case 2018-12-07 20:47:55 +01:00
Tomas Votruba
a00ae17ab9 cleanup 2018-12-07 19:09:09 +01:00
Tomas Votruba
86ed54d316 add findClassesAndInterfacesByType() 2018-12-07 19:06:27 +01:00
Tomas Votruba
d60e21c0a0 add support for override of already checked file 2018-12-07 19:01:51 +01:00
Tomas Votruba
522dc17cdb make classes unique on output 2018-12-07 19:01:51 +01:00
Tomas Votruba
328e3b1eb4 phpstan - remove unreported errors 2018-12-07 19:01:51 +01:00
Tomas Votruba
cc2d9b7c73 prevent override of parent missing param 2018-12-07 19:01:51 +01:00
Tomas Votruba
19f4478f74 update Integration to Fixture namespace in tests 2018-12-07 13:48:40 +01:00
Tomas Votruba
036d7b9940 add support for false/true 2018-12-07 13:48:40 +01:00
Tomáš Votruba
7cd161b817
Merge pull request #819 from Soullivaneuh/doctrine-rename
Fix doctrine rule file name
2018-12-07 12:02:18 +01:00
Sullivan SENECHAL
35714c5df4
Fix doctrine rule file name 2018-12-07 11:46:01 +01:00
Tomas Votruba
cf5129c10b add return support 2018-12-06 17:35:29 +01:00
Tomas Votruba
f52cc58dae add check for interface vendor-lock-in in AbstractScalarTypehintRector 2018-12-06 17:00:53 +01:00
Tomas Votruba
60716d8b5c load project source vendor/autoload.php in AdditionalAutoloader 2018-12-06 16:37:15 +01:00
Tomas Votruba
fe37d9290f exclude vendor in FilesFinder 2018-12-06 16:36:59 +01:00
Tomáš Votruba
c7ecb423da
Merge pull request #818 from rectorphp/symfony-42-process
Symfony 4.2 process change
2018-12-06 15:34:45 +01:00
Tomas Votruba
880b74cf46 Resolve sprintf pre-assign case for StringToArrayArgumentProcessRector 2018-12-06 15:26:42 +01:00
Tomas Votruba
837606ab50 add assertNot* cases to AssertTrueFalseToSpecificMethodRector 2018-12-06 02:30:36 +01:00
Tomáš Votruba
0da7927469
Merge pull request #817 from rectorphp/fixtures
Rename old "wrong"/"correct" files to "fixtures"
2018-12-06 02:20:03 +01:00
Tomas Votruba
ef288d4045 [tests] rename test files to fixtures 2018-12-06 02:09:02 +01:00
Tomas Votruba
5d421585fd fix preg_match made array type [closes #786]
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-06 02:02:31 +01:00
Tomáš Votruba
231ac15879
Merge pull request #816 from rectorphp/php-in-array
fix preg_match-made array type
2018-12-06 01:58:16 +01:00
Tomas Votruba
9475576257 fix preg_match made array type [closes #786]
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-06 01:48:53 +01:00
Tomáš Votruba
4640bdaeda
Merge pull request #815 from rectorphp/yaml-drop
remove YamlRector
2018-12-06 01:22:11 +01:00
Tomas Votruba
9eaa3185c1 update docs
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-06 01:13:36 +01:00
Tomas Votruba
68b7076fd0 remove YamlRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-06 01:13:36 +01:00
Tomas Votruba
de83b97c8d fix PHPStormVarAnnotationRector namespace [closes #814]
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-05 18:35:34 +01:00
Tomas Votruba
7abdb842da drop too long examples
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 21:26:44 +01:00
Tomáš Votruba
f8e165bb9b
Merge pull request #810 from rectorphp/tests-3
Tests consolidation - part 3
2018-12-04 21:25:40 +01:00
Tomas Votruba
689555219f apply ConfiguredProvideConfigRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 21:17:06 +01:00
Tomas Votruba
1450f0af45 Update Sensio tests
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 21:11:22 +01:00
Tomas Votruba
e60a009cc2 make use of FileFinder in packages builder, remove duplicated source loading in AdditionalAutoloader
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 21:11:22 +01:00
Tomáš Votruba
d910c56f6f
Merge pull request #809 from rectorphp/tests-2
Tests consolidation - part 2
2018-12-04 16:51:45 +01:00
Tomas Votruba
54d13ece1d refactor with JoinWrongAndCorrectRector 2018-12-04 16:48:11 +01:00
Tomas Votruba
7ac6f10039 refactor /tests by JoinTestAndProvideFilesRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 15:34:40 +01:00
Tomas Votruba
8dba0bd34f refactor /packages by JoinTestAndProvideFilesRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 15:34:40 +01:00
Tomas Votruba
c7e537160a add JoinTestAndProvideFilesRector [examples]
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 15:34:40 +01:00
Tomas Votruba
3e74cf4c85 tests cleanup
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 15:34:40 +01:00
Tomas Votruba
3eeaaa7625 run test
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 14:15:39 +01:00