File: bin/.phpunit/phpunit-7.5-0/tests/end-to-end/dump-xdebug-filter.phpt

Recommend this page to a friend!
  Classes of Paulo Henrique  >  symfony-dual-login  >  bin/.phpunit/phpunit-7.5-0/tests/end-to-end/dump-xdebug-filter.phpt  >  Download  
File: bin/.phpunit/phpunit-7.5-0/tests/end-to-end/dump-xdebug-filter.phpt
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: symfony-dual-login
API to get user details using OAuth authentication
Author: By
Last change:
Date: 2 months ago
Size: 765 bytes
 

Contents

Class file image Download
--TEST--
phpunit -c ../_files/configuration_whitelist.xml --dump-xdebug-filter 'php://stdout'
--SKIPIF--
<?php
if (!extension_loaded('xdebug')) {
    print 'skip: xdebug not loaded';
}
--FILE--
<?php
$_SERVER['argv'][1] = '-c';
$_SERVER['argv'][2] = __DIR__ . '/../_files/configuration_whitelist.xml';
$_SERVER['argv'][3] = '--dump-xdebug-filter';
$_SERVER['argv'][4] = 'php://stderr';

require __DIR__ . '/../bootstrap.php';
PHPUnit\TextUI\Command::main();
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.

<?php declare(strict_types=1);
if (!\function_exists('xdebug_set_filter')) {
    return;
}

\xdebug_set_filter(
    \XDEBUG_FILTER_CODE_COVERAGE,
    \XDEBUG_PATH_WHITELIST,
    [
        %s
    ]
);
Wrote Xdebug filter script to php://stderr

For more information send a message to info at phpclasses dot org.