PSR-0 support - step 2

Review Request #27 — Created Dec. 21, 2012 and submitted — Latest diff uploaded

pprkut
Lunr
pprkut/locator
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/libraries/dataaccess/class.mysqlqueryresult.failed.test.php Deleted
tests/system/libraries/dataaccess/class.mysqlqueryresult.free.test.php Deleted
tests/system/libraries/dataaccess/class.mysqlqueryresult.result.test.php Deleted
tests/system/libraries/dataaccess/class.mysqlqueryresult.success.test.php Deleted
tests/system/libraries/dataaccess/class.mysqlqueryresult.test.php Deleted
tests/system/libraries/db/class.dbcon.test.php Deleted
tests/system/libraries/db/class.dbman.test.php Deleted
tests/system/libraries/l10n/class.gettextl10nprovider.base.test.php Deleted
tests/system/libraries/l10n/class.gettextl10nprovider.lang.test.php Deleted
tests/system/libraries/l10n/class.gettextl10nprovider.nlang.test.php Deleted
tests/system/libraries/l10n/class.gettextl10nprovider.test.php Deleted
tests/system/libraries/l10n/class.l10n.test.php Deleted
tests/system/libraries/l10n/class.l10nprovider.test.php Deleted
tests/system/libraries/l10n/class.phpl10nprovider.base.test.php Deleted
tests/system/libraries/l10n/class.phpl10nprovider.lang.test.php Deleted
tests/system/libraries/l10n/class.phpl10nprovider.nlang.test.php Deleted
tests/system/libraries/l10n/class.phpl10nprovider.test.php Deleted
tests/system/libraries/network/class.curl.base.test.php Deleted
tests/system/libraries/network/class.curl.execute.test.php Deleted
tests/system/libraries/network/class.curl.request.test.php Deleted
tests/system/libraries/network/class.curl.setget.test.php Deleted
tests/system/libraries/network/class.curl.test.php Deleted
This diff has been split across 18 pages: < 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
tests/system/libraries/dataaccess/class.mysqlqueryresult.failed.test.php
tests/system/libraries/dataaccess/class.mysqlqueryresult.free.test.php
tests/system/libraries/dataaccess/class.mysqlqueryresult.result.test.php
tests/system/libraries/dataaccess/class.mysqlqueryresult.success.test.php
tests/system/libraries/dataaccess/class.mysqlqueryresult.test.php
tests/system/libraries/db/class.dbcon.test.php
tests/system/libraries/db/class.dbman.test.php
tests/system/libraries/l10n/class.gettextl10nprovider.base.test.php
tests/system/libraries/l10n/class.gettextl10nprovider.lang.test.php
tests/system/libraries/l10n/class.gettextl10nprovider.nlang.test.php
tests/system/libraries/l10n/class.gettextl10nprovider.test.php
tests/system/libraries/l10n/class.l10n.test.php
tests/system/libraries/l10n/class.l10nprovider.test.php
tests/system/libraries/l10n/class.phpl10nprovider.base.test.php
tests/system/libraries/l10n/class.phpl10nprovider.lang.test.php
tests/system/libraries/l10n/class.phpl10nprovider.nlang.test.php
tests/system/libraries/l10n/class.phpl10nprovider.test.php
tests/system/libraries/network/class.curl.base.test.php
tests/system/libraries/network/class.curl.execute.test.php
tests/system/libraries/network/class.curl.request.test.php
tests/system/libraries/network/class.curl.setget.test.php
tests/system/libraries/network/class.curl.test.php
This diff has been split across 18 pages: < 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Loading...