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/
src/Lunr/DataAccess/Tests/MockMySQLiFailedConnection.php
src/Lunr/DataAccess/Tests/MockMySQLiSuccessfulConnection.php
src/Lunr/DataAccess/Tests/MockMySQLndFailedConnection.php
src/Lunr/DataAccess/Tests/MockMySQLndSuccessfulConnection.php
src/Lunr/DataAccess/Tests/MySQLAsyncQueryResultBaseTest.php
src/Lunr/DataAccess/Tests/MySQLAsyncQueryResultFetchTest.php
src/Lunr/DataAccess/Tests/MySQLAsyncQueryResultTest.php
src/Lunr/DataAccess/Tests/MySQLConnectionBaseTest.php
src/Lunr/DataAccess/Tests/MySQLConnectionConnectTest.php
src/Lunr/DataAccess/Tests/MySQLConnectionEscapeTest.php
src/Lunr/DataAccess/Tests/MySQLConnectionQueryTest.php
src/Lunr/DataAccess/Tests/MySQLConnectionSetTest.php
src/Lunr/DataAccess/Tests/MySQLConnectionTest.php
src/Lunr/DataAccess/Tests/MySQLConnectionTransactionTest.php
src/Lunr/DataAccess/Tests/MySQLDMLQueryBuilderConditionTest.php
src/Lunr/DataAccess/Tests/MySQLDMLQueryBuilderDeleteTest.php
src/Lunr/DataAccess/Tests/MySQLDMLQueryBuilderEscapeTest.php
src/Lunr/DataAccess/Tests/MySQLDMLQueryBuilderGroupByTest.php
src/Lunr/DataAccess/Tests/MySQLDMLQueryBuilderInsertTest.php
src/Lunr/DataAccess/Tests/MySQLDMLQueryBuilderLimitTest.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...