Created
January 3, 2017 18:44
-
-
Save sirbrillig/63cdfee0f028d3ab309a7d3cf752b558 to your computer and use it in GitHub Desktop.
Example phpunit test bootstrap file for using Patchwork
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 | |
$autoload = 'vendor/autoload.php'; | |
$patchwork = 'vendor/antecedent/patchwork/Patchwork.php'; | |
# require patchwork first | |
if ( file_exists( $patchwork ) ) { | |
require_once $patchwork; | |
} | |
if ( file_exists( $autoload ) ) { | |
require_once $autoload; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment