| Subject |
Details |
| PHP version |
PHP 7.3.9-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Sep 2 2019 12:54:24) ( NTS ) |
| Full Command |
vendor/bin/rector --ansi --dry-run --debug process src |
Running 0.5.13 on our entire codebase applies the following unexpected changes :
124) src/Form/SomeFormType.php
---------- begin diff ----------
--- Original
+++ New
@@ -18,7 +18,7 @@
public function buildForm(FormBuilderInterface $builder, array $options): void
{
$builder
- ->add('q', TextType::class, [
+ ->add(['q'], TextType::class, [
----------- end diff -----------
127) tests/Functional/Page/PageControllerTest.php
---------- begin diff ----------
--- Original
+++ New
@@ -93,7 +93,7 @@
- static::assertGreaterThan(1, $crawler->filter('tbody tr')->count());
+ static::assertGreaterThan(1, $crawler->filter(['tbody', 'tr'])->count());
----------- end diff -----------
Applied rectors:
* Rector\Symfony\Rector\New_\StringToArrayArgumentProcessRector
PHP 7.3.9-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Sep 2 2019 12:54:24) ( NTS )vendor/bin/rector --ansi --dry-run --debug process srcRunning
0.5.13on our entire codebase applies the following unexpected changes :124) src/Form/SomeFormType.php ---------- begin diff ---------- --- Original +++ New @@ -18,7 +18,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void { $builder - ->add('q', TextType::class, [ + ->add(['q'], TextType::class, [ ----------- end diff ----------- 127) tests/Functional/Page/PageControllerTest.php ---------- begin diff ---------- --- Original +++ New @@ -93,7 +93,7 @@ - static::assertGreaterThan(1, $crawler->filter('tbody tr')->count()); + static::assertGreaterThan(1, $crawler->filter(['tbody', 'tr'])->count()); ----------- end diff ----------- Applied rectors: * Rector\Symfony\Rector\New_\StringToArrayArgumentProcessRector