Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

renamed lib to src and test to tests

Although not written in a standard anywhere (to my knowledge),
this seems to be the standard for PHP 5.3 libraries - I feel like
we should follow it

* https://github.com/kriswallsmith/assetic
* https://github.com/Seldaek/monolog
* https://github.com/schmittjoh/metadata
* https://github.com/KnpLabs/KnpMenu
  • Loading branch information...
commit 2eb8507e3ada1d1983f6b5eb0cf388986c0a9c35 1 parent f02a778
@kbond kbond authored
Showing with 6 additions and 6 deletions.
  1. +4 −4 phpunit.xml.dist
  2. 0  {lib → src}/Stash/Autoloader.php
  3. 0  {lib → src}/Stash/Box.php
  4. 0  {lib → src}/Stash/Cache.php
  5. 0  {lib → src}/Stash/Error.php
  6. 0  {lib → src}/Stash/Handlers.php
  7. 0  {lib → src}/Stash/Handlers/Apc.php
  8. 0  {lib → src}/Stash/Handlers/Ephemeral.php
  9. 0  {lib → src}/Stash/Handlers/FileSystem.php
  10. 0  {lib → src}/Stash/Handlers/HandlerInterface.php
  11. 0  {lib → src}/Stash/Handlers/Memcached.php
  12. 0  {lib → src}/Stash/Handlers/MultiHandler.php
  13. 0  {lib → src}/Stash/Handlers/Sqlite.php
  14. 0  {lib → src}/Stash/Handlers/Xcache.php
  15. 0  {lib → src}/Stash/Manager.php
  16. 0  {lib → src}/Stash/Utilities.php
  17. 0  {lib → src}/Stash/Warning.php
  18. 0  {test → tests}/Stash/Test/AutoloaderTest.php
  19. 0  {test → tests}/Stash/Test/BoxTest.php
  20. 0  {test → tests}/Stash/Test/CacheExceptionTest.php
  21. 0  {test → tests}/Stash/Test/CacheMemOnlyTest.php
  22. 0  {test → tests}/Stash/Test/CacheTest.php
  23. 0  {test → tests}/Stash/Test/Handlers/AbstractHandlerTest.php
  24. 0  {test → tests}/Stash/Test/Handlers/ApcTest.php
  25. 0  {test → tests}/Stash/Test/Handlers/EphemeralTest.php
  26. 0  {test → tests}/Stash/Test/Handlers/ExceptionTest.php
  27. 0  {test → tests}/Stash/Test/Handlers/FileSystemTest.php
  28. 0  {test → tests}/Stash/Test/Handlers/MemcachedMemcacheTest.php
  29. 0  {test → tests}/Stash/Test/Handlers/MemcachedMemcachedTest.php
  30. 0  {test → tests}/Stash/Test/Handlers/MultiHandlerTest.php
  31. 0  {test → tests}/Stash/Test/Handlers/SqlitePdoSqlite2Test.php
  32. 0  {test → tests}/Stash/Test/Handlers/SqlitePdoSqlite3Test.php
  33. 0  {test → tests}/Stash/Test/Handlers/SqliteSqlite2Test.php
  34. 0  {test → tests}/Stash/Test/Handlers/XcacheTest.php
  35. 0  {test → tests}/Stash/Test/HandlersTest.php
  36. 0  {test → tests}/Stash/Test/ManagerTest.php
  37. 0  {test → tests}/Stash/Test/UtilitiesTest.php
  38. +2 −2 {test → tests}/bootstrap.php
View
8 phpunit.xml.dist
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
-<phpunit bootstrap="./test/bootstrap.php" colors="true">
+<phpunit bootstrap="./tests/bootstrap.php" colors="true">
<testsuites>
- <testsuite name="Assetic Test Suite">
- <directory suffix="Test.php">./test/Stash/</directory>
+ <testsuite name="Stash Test Suite">
+ <directory suffix="Test.php">./tests/Stash/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
- <directory suffix=".php">./lib/Stash/</directory>
+ <directory suffix=".php">./src/Stash/</directory>
</whitelist>
</filter>
</phpunit>
View
0  lib/Stash/Autoloader.php → src/Stash/Autoloader.php
File renamed without changes
View
0  lib/Stash/Box.php → src/Stash/Box.php
File renamed without changes
View
0  lib/Stash/Cache.php → src/Stash/Cache.php
File renamed without changes
View
0  lib/Stash/Error.php → src/Stash/Error.php
File renamed without changes
View
0  lib/Stash/Handlers.php → src/Stash/Handlers.php
File renamed without changes
View
0  lib/Stash/Handlers/Apc.php → src/Stash/Handlers/Apc.php
File renamed without changes
View
0  lib/Stash/Handlers/Ephemeral.php → src/Stash/Handlers/Ephemeral.php
File renamed without changes
View
0  lib/Stash/Handlers/FileSystem.php → src/Stash/Handlers/FileSystem.php
File renamed without changes
View
0  lib/Stash/Handlers/HandlerInterface.php → src/Stash/Handlers/HandlerInterface.php
File renamed without changes
View
0  lib/Stash/Handlers/Memcached.php → src/Stash/Handlers/Memcached.php
File renamed without changes
View
0  lib/Stash/Handlers/MultiHandler.php → src/Stash/Handlers/MultiHandler.php
File renamed without changes
View
0  lib/Stash/Handlers/Sqlite.php → src/Stash/Handlers/Sqlite.php
File renamed without changes
View
0  lib/Stash/Handlers/Xcache.php → src/Stash/Handlers/Xcache.php
File renamed without changes
View
0  lib/Stash/Manager.php → src/Stash/Manager.php
File renamed without changes
View
0  lib/Stash/Utilities.php → src/Stash/Utilities.php
File renamed without changes
View
0  lib/Stash/Warning.php → src/Stash/Warning.php
File renamed without changes
View
0  test/Stash/Test/AutoloaderTest.php → tests/Stash/Test/AutoloaderTest.php
File renamed without changes
View
0  test/Stash/Test/BoxTest.php → tests/Stash/Test/BoxTest.php
File renamed without changes
View
0  test/Stash/Test/CacheExceptionTest.php → tests/Stash/Test/CacheExceptionTest.php
File renamed without changes
View
0  test/Stash/Test/CacheMemOnlyTest.php → tests/Stash/Test/CacheMemOnlyTest.php
File renamed without changes
View
0  test/Stash/Test/CacheTest.php → tests/Stash/Test/CacheTest.php
File renamed without changes
View
0  test/Stash/Test/Handlers/AbstractHandlerTest.php → tests/Stash/Test/Handlers/AbstractHandlerTest.php
File renamed without changes
View
0  test/Stash/Test/Handlers/ApcTest.php → tests/Stash/Test/Handlers/ApcTest.php
File renamed without changes
View
0  test/Stash/Test/Handlers/EphemeralTest.php → tests/Stash/Test/Handlers/EphemeralTest.php
File renamed without changes
View
0  test/Stash/Test/Handlers/ExceptionTest.php → tests/Stash/Test/Handlers/ExceptionTest.php
File renamed without changes
View
0  test/Stash/Test/Handlers/FileSystemTest.php → tests/Stash/Test/Handlers/FileSystemTest.php
File renamed without changes
View
0  test/Stash/Test/Handlers/MemcachedMemcacheTest.php → tests/Stash/Test/Handlers/MemcachedMemcacheTest.php
File renamed without changes
View
0  test/Stash/Test/Handlers/MemcachedMemcachedTest.php → tests/Stash/Test/Handlers/MemcachedMemcachedTest.php
File renamed without changes
View
0  test/Stash/Test/Handlers/MultiHandlerTest.php → tests/Stash/Test/Handlers/MultiHandlerTest.php
File renamed without changes
View
0  test/Stash/Test/Handlers/SqlitePdoSqlite2Test.php → tests/Stash/Test/Handlers/SqlitePdoSqlite2Test.php
File renamed without changes
View
0  test/Stash/Test/Handlers/SqlitePdoSqlite3Test.php → tests/Stash/Test/Handlers/SqlitePdoSqlite3Test.php
File renamed without changes
View
0  test/Stash/Test/Handlers/SqliteSqlite2Test.php → tests/Stash/Test/Handlers/SqliteSqlite2Test.php
File renamed without changes
View
0  test/Stash/Test/Handlers/XcacheTest.php → tests/Stash/Test/Handlers/XcacheTest.php
File renamed without changes
View
0  test/Stash/Test/HandlersTest.php → tests/Stash/Test/HandlersTest.php
File renamed without changes
View
0  test/Stash/Test/ManagerTest.php → tests/Stash/Test/ManagerTest.php
File renamed without changes
View
0  test/Stash/Test/UtilitiesTest.php → tests/Stash/Test/UtilitiesTest.php
File renamed without changes
View
4 test/bootstrap.php → tests/bootstrap.php
@@ -6,13 +6,13 @@
spl_autoload_register(function($class) {
if (0 === strpos($class, 'Stash\\Test\\')) {
- $file = __DIR__ . '/../test/' . str_replace('\\', '/', $class) . '.php';
+ $file = __DIR__ . '/../tests/' . str_replace('\\', '/', $class) . '.php';
if (file_exists($file)) {
require_once $file;
return true;
}
} elseif (0 === strpos($class, 'Stash\\')) {
- $file = __DIR__ . '/../lib/' . str_replace('\\', '/', $class) . '.php';
+ $file = __DIR__ . '/../src/' . str_replace('\\', '/', $class) . '.php';
if (file_exists($file)) {
require_once $file;
return true;
Please sign in to comment.
Something went wrong with that request. Please try again.