src/Console/DuskCommand.php
protected function phpunitArguments($options)
    {
        $options = array_values(array_filter($options, function ($option) {
            return ! Str::startsWith($option, '--env=');
        }));

        if (! file_exists($file = base_path('phpunit.dusk.xml'))) {
            $file = base_path('phpunit.dusk.xml.dist');
        }

        return array_merge(['-c', $file], $options);
    }
protected function phpunitArguments($options)
    {
        $options = array_values(array_filter($options, function ($option) {
            return ! Str::startsWith($option, '--env=');
        }));

        if (! file_exists($file = base_path('phpunit.dusk.xml'))) {
            $file = base_path('phpunit.dusk.xml.dist');
        }

        return array_merge(['-c', $file], $options);
    }
protected function phpunitArguments ( $ options ) { $ options = array_values ( array_filter ( $ options , function ( $ option ) { return ! Str :: startsWith ( $ option , '--env=' ) ; } ) ) ; if ( ! file_exists ( $ file = base_path ( 'phpunit.dusk.xml' ) ) ) { $ file = base_path ( 'phpunit.dusk.xml.dist' ) ; } return array_merge ( [ '-c' , $ file ] , $ options ) ; }
Get the array of arguments for running PHPUnit.

@param  array  $options
@return array
Get the array of arguments for running PHPUnit .