Hi,
i'm not sure if the thing i found is a bug or if it's my fault. I installed a new symfony project in the Linux subsystem and runned phpunit. It seems like that your script is working fine (if i run the php.cmd it looks alright), but if i try to run the default unittest in phpstorm it's aborting with this:
/bin/bash: -c: line 0: syntax error near unexpected token('/bin/bash: -c: line 0: php /mnt/c/Users/muell/AppData/Local/Temp/ide-phpunit.php --no-configuration --filter /::testIndex( .*)?$/ Tests\AppBundle\Controller\DefaultControllerTest /mnt/c/Users/muell/AppData/Local/lxss/home/Marvin/OwnWebProject/api/tests/AppBundle/Controller/DefaultControllerTest.php'
I'm pretty sure somewhere is the wrong character used, but i dont have any idea where.
On WIndows i'm using the latest php 7.1.6 without xdebug (i think it's not necessary), on Ubuntu 7.0.18 with xdebug, and symfony is in version 3.3.2.
I hope my english will not trigger you, but i'm a very bloody german without any languageskills except a few programming languages :D
Best regards from Karlsruhe ^^
Hi, i'm not sure if the thing i found is a bug or if it's my fault. I installed a new symfony project in the Linux subsystem and runned phpunit. It seems like that your script is working fine (if i run the php.cmd it looks alright), but if i try to run the default unittest in phpstorm it's aborting with this:
[.] Bash path: C:\Windows\System32\bash.exe
[.] CWD: C:\Users\muell\AppData\Local\lxss\home\Marvin\OwnWebProject\api\tests\AppBundle\Controller
[.] ENV:
[.] Input arguments: C:/Users/muell/AppData/Local/Temp/ide-phpunit.php --no-configuration --filter /::testIndex( .*)?$/ Tests\AppBundle\Controller\DefaultControllerTest C:\Users\muell\AppData\Local\lxss\home\Marvin\OwnWebProject\api\tests\AppBundle\Controller\DefaultControllerTest.php
[.] Linux arguments: /mnt/c/Users/muell/AppData/Local/Temp/ide-phpunit.php --no-configuration --filter /::testIndex( .*)?$/ Tests\AppBundle\Controller\DefaultControllerTest /mnt/c/Users/muell/AppData/Local/lxss/home/Marvin/OwnWebProject/api/tests/AppBundle/Controller/DefaultControllerTest.php
[.] Linux command: php /mnt/c/Users/muell/AppData/Local/Temp/ide-phpunit.php --no-configuration --filter /::testIndex( .*)?$/ Tests\AppBundle\Controller\DefaultControllerTest /mnt/c/Users/muell/AppData/Local/lxss/home/Marvin/OwnWebProject/api/tests/AppBundle/Controller/DefaultControllerTest.php
[.] Windows command: C:\Windows\System32\bash.exe -c "php /mnt/c/Users/muell/AppData/Local/Temp/ide-phpunit.php --no-configuration --filter /::testIndex( .*)?$/ Tests\AppBundle\Controller\DefaultControllerTest /mnt/c/Users/muell/AppData/Local/lxss/home/Marvin/OwnWebProject/api/tests/AppBundle/Controller/DefaultControllerTest.php"
/bin/bash: -c: line 0: syntax error near unexpected token
('php /mnt/c/Users/muell/AppData/Local/Temp/ide-phpunit.php --no-configuration --filter /::testIndex( .*)?$/ Tests\AppBundle\Controller\DefaultControllerTest /mnt/c/Users/muell/AppData/Local/lxss/home/Marvin/OwnWebProject/api/tests/AppBundle/Controller/DefaultControllerTest.php'
I'm pretty sure somewhere is the wrong character used, but i dont have any idea where. On WIndows i'm using the latest php 7.1.6 without xdebug (i think it's not necessary), on Ubuntu 7.0.18 with xdebug, and symfony is in version 3.3.2.
I hope my english will not trigger you, but i'm a very bloody german without any languageskills except a few programming languages :D Best regards from Karlsruhe ^^