-
Notifications
You must be signed in to change notification settings - Fork 500
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now all test classes are namespaced, the old autoloader in the test bootstrap is no longer necessary. Additionally, as long as Composer knows about the namespaced test classes. the (new) custom autoloader is only really needed when PHPUnit is run via a PHAR file. To this end, this commit: * Adds a `autoload-dev` section to the `composer.json` configuration file. * Removes the old autoloader. * And places the "manual" loading of the PHPUnit polyfills autoloader and the custom autoloader in a condition, so they only get used when the tests are run via a PHAR file.
- Loading branch information
Showing
2 changed files
with
32 additions
and
31 deletions.
There are no files selected for viewing
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
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