-
-
Save edgarsandi/af533630bda50896ed62e6891ec7552d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php declare(strict_types=1); | |
if ( | |
extension_loaded( 'xdebug' ) | |
&& version_compare( '2.6.0', phpversion( 'xdebug' ), '<=' ) | |
) | |
{ | |
/** @noinspection PhpUndefinedFunctionInspection */ | |
/** @noinspection PhpUndefinedConstantInspection */ | |
xdebug_set_filter( | |
XDEBUG_FILTER_CODE_COVERAGE, | |
XDEBUG_PATH_WHITELIST, | |
[dirname( __DIR__ ) . '/src'] | |
); | |
} | |
require __DIR__ . '/../vendor/autoload.php'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment