4049 Commits

Author SHA1 Message Date
Tomáš Votruba
6e8fcd3764
Merge pull request #841 from rectorphp/array-yield-transform
add transformArrayToYields() and transformYieldsToArray() methods to NodeTransformer
2018-12-14 20:20:54 +01:00
Tomas Votruba
3fd5984010 add transformArrayToYields() and transformYieldsToArray() methods to NodeTransformer 2018-12-14 20:01:47 +01:00
Tomáš Votruba
4c585a1daa
Merge pull request #839 from rectorphp/cakephp-fix
Test case for CakePHP bug
2018-12-14 19:00:22 +01:00
Tomas Votruba
f969e5a1f2 improve performance of AstractRectorTestCase and show original file path on fail 2018-12-14 16:17:50 +01:00
Tomas Votruba
e80e22a133 fix AppliedRectorCollector 2018-12-14 12:44:58 +01:00
Tomas Votruba
665e58a7fa keep visually similar lines in SimplifyUselessVariableRector 2018-12-13 22:07:27 +01:00
Tomas Votruba
f9fba047e1 add test case for #835 2018-12-13 21:06:12 +01:00
Tomas Votruba
cacc9fa35d improve no-rectors found message 2018-12-13 21:06:12 +01:00
Tomas Votruba
f7bf21fec3 improve attributes, add .editorconfig v0.3.25 2018-12-13 17:23:24 +01:00
Tomáš Votruba
5c0043019f
Merge pull request #836 from dereuromark/master
Add gitattributes file
2018-12-13 17:19:32 +01:00
Tomáš Votruba
63026ac4d1
Merge pull request #837 from rectorphp/mysqli
Add Mysql to Mysqli migration
2018-12-13 12:30:55 +01:00
Tomas Votruba
d376e90319 add Mysql to Mysqli set 2018-12-13 12:16:39 +01:00
Tomas Votruba
a43986832f update CakePHP 3.7 set [closes #830] 2018-12-13 01:11:14 +01:00
mscherer
5f515d262b Add gitattributes file 2018-12-12 22:49:52 +01:00
Tomáš Votruba
6f550c9826
Merge pull request #832 from rectorphp/symfony-42
Add Symfony 4.1 + Symfony 4.2 upgrades
2018-12-12 20:58:34 +01:00
Tomas Votruba
2e3634f4ae add WrapReturnRector 2018-12-12 20:41:00 +01:00
Tomas Votruba
925b046f0c update Symfony 4.2 and Symfony 4.1 sets 2018-12-12 20:41:00 +01:00
Tomas Votruba
a3a451f3ab remove Argument deprecations 2018-12-12 19:06:31 +01:00
Tomas Votruba
04626f4e5d add TybleStyle changes in Symfony 4 2018-12-12 18:48:58 +01:00
Tomas Votruba
4915ab1f20 use AbstractController over Controller in FrameworkBundle 2018-12-12 16:58:47 +01:00
Tomáš Votruba
40ad33481a
Merge pull request #834 from rectorphp/dockerfile
Added mention about docker to readme
2018-12-12 10:17:45 +01:00
Jan Mikeš
c3c63d6fa7 Added mention about docker to readme 2018-12-12 10:02:10 +01:00
Tomas Votruba
17f6e74c04 phpstan: move level to config 2018-12-12 09:58:55 +01:00
Tomáš Votruba
5769b636ad
Merge pull request #833 from rectorphp/dockerfile
Add Dockerfile
2018-12-12 09:51:06 +01:00
Jan Mikeš
5e61b54918 Loading config /project/rector.yml by default now 2018-12-12 09:48:30 +01:00
Jan Mikeš
884df9d075 Initial dockerfile 2018-12-12 09:33:46 +01:00
Tomáš Votruba
f00e8c8043
Merge pull request #825 from rectorphp/phpunit8
Add PHPUnit 8.0 changes
2018-12-11 13:53:05 +01:00
Tomas Votruba
45248dee04 Add AssertEqualsParameterToSpecificMethodsTypeRector 2018-12-11 13:02:28 +01:00
Tomas Votruba
ba3d0707e6 remove unused configs 2018-12-10 16:40:09 +01:00
Tomas Votruba
ef2e74a2ac add Mock class rename 2018-12-10 16:01:14 +01:00
Tomas Votruba
a59e35678c Add SpecificAssertInternalTypeRector 2018-12-10 16:01:14 +01:00
Tomas Votruba
e1a386054b [PHPUnit] Add SpecificAssertContainsRector 2018-12-10 16:01:14 +01:00
Tomáš Votruba
8b1b44dd20
Merge pull request #827 from rectorphp/reporting
Improve --debug reporting, fix MethodNameReplacerRector
v0.3.24
2018-12-10 15:56:03 +01:00
Tomas Votruba
e72bf085ef move try/catch in RectorApplicatoin to refactor part 2018-12-10 15:46:46 +01:00
Tomas Votruba
4ecd061fde report current rector class on --debug 2018-12-10 15:46:35 +01:00
Tomas Votruba
f1f2473519 make MethodNameReplacerRector work only with method related nodes 2018-12-10 15:46:26 +01:00
Tomas Votruba
262e2e7cc6 display fixture file in tests 2018-12-10 15:46:15 +01:00
Tomas Votruba
eabfadc2bb update CreateRectorCommand with fixture approach 2018-12-09 22:20:09 +01:00
Tomas Votruba
5c7b3cdb7a make code-quality level explicit to improve overview of all Rectors + now automated with create command 2018-12-09 22:18:33 +01:00
Tomas Votruba
802cc16c1d composer: improve description + bump deps 2018-12-09 22:17:53 +01:00
Tomas Votruba
e1d2ea8f21 authors are better tracked in Github, removing from composer.json 2018-12-09 22:17:46 +01:00
Tomas Votruba
26c190bdb4 add mixed and variadic cases to *ScalarTypehintRector v0.3.23 2018-12-09 15:26:26 +01:00
Tomáš Votruba
0aa0dc7617
Merge pull request #822 from rectorphp/symfony-tests-3
Testing *ScalarTypehintsRector on Symfony #3
v0.3.22
2018-12-08 22:32:38 +01:00
Tomas Votruba
baabc5937e add trait in child class support to ScalarTypehintRector 2018-12-08 21:59:56 +01:00
Tomáš Votruba
779fb7df61
Merge pull request #821 from rectorphp/symfony-tests-2
Testing *ScalarTypehintsRector on Symfony #2
2018-12-08 16:34:41 +01:00
Tomas Votruba
c088e62359 fix class name miss match caused by robotloader 2018-12-08 16:12:24 +01:00
Tomas Votruba
5df19a36e3 correct support for applied rectors 2018-12-08 16:04:27 +01:00
Tomas Votruba
e6e8da3747 ErrorAndDiffCollector cleanup 2018-12-08 15:41:55 +01:00
Tomas Votruba
d8d76d72b4 move FilesToReprtingCollector to new cycle in RectorApplication 2018-12-08 15:33:38 +01:00
Tomas Votruba
3f676b63ac cycle description 2018-12-08 13:32:08 +01:00