Created
March 21, 2018 14:44
-
-
Save hollodotme/084a6b1c2aedcae3f5ea0507f1dd0ce2 to your computer and use it in GitHub Desktop.
This file contains 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