Last active
January 28, 2018 14:17
-
-
Save ahmed-abid/3789745599d5e5b2a987c533e23ce76e to your computer and use it in GitHub Desktop.
PHP code is now 99% testable with AspectMock
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 | |
$kernel = \AspectMock\Kernel::getInstance(); | |
$kernel->init([ | |
'appDir' => _DIR_ . '/..', | |
'debug' => true, | |
'includePaths' => [ | |
_DIR_ . '/../vendor/laravel', | |
_DIR_ . '/../app' | |
], | |
'excludePaths' => [_DIR_], | |
]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment