nvcristea
3/14/2017 - 10:42 AM

PHP

PHP

To profile 

Use on linux for interpret profilers:
- KCachegrind
- Callgrind
php --ri xdebug
php -m
php -i
<?xml version="1.0"?>
<phpunit
    bootstrap="./vendor/autoload.php"
    colors="true"
    convertErrorsToExceptions="true"
    convertNoticesToExceptions="true"
    convertWarningsToExceptions="true"
    verbose="true"
    stopOnFailure="false"
    processIsolation="false"
    backupGlobals="false"
    syntaxCheck="true"
>
    <testsuite name="Test Suite">
        <directory suffix=".php">./tests/</directory>
    </testsuite>
    <filter>
        <whitelist addUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./src</directory>
            <exclude>
                <directory>src/*/*Bundle/Tests</directory>
                <directory>src/*/*Bundle/Resources</directory>
            </exclude>
        </whitelist>
    </filter>
</phpunit>