Skip to content

Instantly share code, notes, and snippets.

@hollodotme
Created March 21, 2018 14:44
Show Gist options
  • Save hollodotme/084a6b1c2aedcae3f5ea0507f1dd0ce2 to your computer and use it in GitHub Desktop.
Save hollodotme/084a6b1c2aedcae3f5ea0507f1dd0ce2 to your computer and use it in GitHub Desktop.
<?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