Closed serima closed 6 years ago
I'm not using SOAP at all, so it's strange that it'd throw a SOAP-related error. Hmm. I'll take a look soon.
I'm hitting a different error while trying to set up this project on CircleCI to install dependencies using Composer and then run the GrumPHP tasks:
Fatal error: Uncaught TypeError: Argument 6 passed to Symfony\Component\Process\Process::__construct() must be of the type array, null given, called in /home/circleci/repo/vendor/symfony/process/ProcessBuilder.php on line 274 and defined in phar:///usr/local/bin/composer/vendor/symfony/process/Process.php:141
Stack trace:
#0 /home/circleci/repo/vendor/symfony/process/ProcessBuilder.php(274): Symfony\Component\Process\Process->__construct(Array, NULL, Array, NULL, 60, NULL)
#1 /home/circleci/repo/vendor/phpro/grumphp/src/Composer/GrumPHPPlugin.php(182): Symfony\Component\Process\ProcessBuilder->getProcess()
#2 /home/circleci/repo/vendor/phpro/grumphp/src/Composer/GrumPHPPlugin.php(137): GrumPHP\Composer\GrumPHPPlugin->runGrumPhpCommand('configure')
#3 [internal function]: GrumPHP\Composer\GrumPHPPlugin->runScheduledTasks(Object(Composer\Script\Event))
#4 phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(171): call_user_func(Array, Object(Composer\Script\Event))
#5 phar:///usr/local/bin/compose in phar:///usr/local/bin/composer/vendor/symfony/process/Process.php on line 141
Seems to be related to Laravel 5.5 + Composer: https://github.com/laravel/framework/issues/20995
I don't get this error on my own computer though, so I'm not too sure why it's happening.
Ah, I also encountered same error on CircleCI. I think that the issue should be re-opened too, thanks.
By default VCR enables all library hooks: http://php-vcr.github.io/documentation/configuration/#library-hooks
You'll have to change the phpunit bootstrap file in order to make this work. Add
\VCR\VCR::configure()->enableLibraryHooks(array('curl_rewrite'));
Before
https://github.com/Daniel15/BuildSize/blob/master/tests/bootstrap.php#L4
This repo does not have
.circle/config.yml
I tried it usingcircleci/php:7.1-node-browsers
docker image, but it did not have php-soap, and the following error occurred when running phpunit. We need to configure php with--enable-soap
if we use this.