PSR-0 support - step 2
Review Request #27 — Created Dec. 21, 2012 and submitted — Latest diff uploaded
Information | |
---|---|
pprkut | |
Lunr | |
pprkut/locator | |
Reviewers | |
lunr | |
This is the second part of conforming to PSR-0. With this change our libraries can now be loaded by other projects which use a PSR-0 conform autoloader. The changes are vast since all files basically are touced, but not really complex as all that changed is filename and location. Here a short summary: - system/config was moved entirely into docs/example-config - system/models and system/libraries were merged - system/libraries moved to src/Lunr - unit tests under tests/system/ moved to a respective "Tests" subfolder within their namespace. - mock classes moved to this "Tests" subfolder as well Since these are huge changes I don't plan to keep this review around for long. This depends on http://reviews.lunr.nl/r/19/ Everything else now needs to depend on this.
Unit tests still passing \o/
Diff Revision 2 (Latest)
orig
1
2
tests/system/class.environment.test.php |
---|
tests/system/libraries/core/class.autoloader.test.php |
---|
tests/system/libraries/core/class.configuration.arrayaccess.test.php |
---|
tests/system/libraries/core/class.configuration.arrayconstructor.test.php |
---|
tests/system/libraries/core/class.configuration.arrayusage.test.php |
---|
tests/system/libraries/core/class.configuration.base.test.php |
---|
tests/system/libraries/core/class.configuration.convertarraytoclass.test.php |
---|
tests/system/libraries/core/class.configuration.loadfile.test.php |
---|
tests/system/libraries/core/class.configuration.nonarrayconstructor.test.php |
---|
tests/system/libraries/core/class.configuration.test.php |
---|
tests/system/libraries/core/class.console.test.php |
---|
tests/system/libraries/core/class.controller.test.php |
---|
tests/system/libraries/core/class.datetime.base.test.php |
---|
tests/system/libraries/core/class.datetime.getdatetime.test.php |
---|
tests/system/libraries/core/class.datetime.getdelayeddatetime.test.php |
---|
tests/system/libraries/core/class.datetime.getdelayedtimestamp.test.php |
---|
tests/system/libraries/core/class.datetime.test.php |
---|
tests/system/libraries/core/class.datetime.today.test.php |
---|
tests/system/libraries/core/class.datetime.tomorrow.test.php |
---|
tests/system/libraries/core/class.datetime.verify.test.php |
---|