From eafee72d6ad6b396486280071a482be5959da6af Mon Sep 17 00:00:00 2001 From: Frank de Jonge Date: Sat, 1 Feb 2014 19:53:12 +0100 Subject: [PATCH] Switches to PSR-4 autoloading --- composer.json | 4 ++-- src/{League/Flysystem => }/Adapter/AbstractAdapter.php | 0 src/{League/Flysystem => }/Adapter/AbstractFtpAdapter.php | 0 src/{League/Flysystem => }/Adapter/AwsS3.php | 0 src/{League/Flysystem => }/Adapter/Dropbox.php | 0 src/{League/Flysystem => }/Adapter/Ftp.php | 0 src/{League/Flysystem => }/Adapter/Local.php | 0 src/{League/Flysystem => }/Adapter/Rackspace.php | 0 src/{League/Flysystem => }/Adapter/Sftp.php | 0 src/{League/Flysystem => }/Adapter/WebDav.php | 0 src/{League/Flysystem => }/Adapter/Zip.php | 0 src/{League/Flysystem => }/AdapterInterface.php | 0 src/{League/Flysystem => }/Cache/AbstractCache.php | 0 src/{League/Flysystem => }/Cache/Memcached.php | 0 src/{League/Flysystem => }/Cache/Memory.php | 0 src/{League/Flysystem => }/Cache/Noop.php | 0 src/{League/Flysystem => }/Cache/Predis.php | 0 src/{League/Flysystem => }/CacheInterface.php | 0 src/{League/Flysystem => }/Config.php | 0 src/{League/Flysystem => }/Directory.php | 0 src/{League/Flysystem => }/File.php | 0 src/{League/Flysystem => }/FileExistsException.php | 0 src/{League/Flysystem => }/FileNotFoundException.php | 0 src/{League/Flysystem => }/Filesystem.php | 0 src/{League/Flysystem => }/FilesystemInterface.php | 0 src/{League/Flysystem => }/Handler.php | 0 src/{League/Flysystem => }/MountManager.php | 0 src/{League/Flysystem => }/PluginInterface.php | 0 src/{League/Flysystem => }/ReadInterface.php | 0 src/{League/Flysystem => }/Util.php | 0 30 files changed, 2 insertions(+), 2 deletions(-) rename src/{League/Flysystem => }/Adapter/AbstractAdapter.php (100%) rename src/{League/Flysystem => }/Adapter/AbstractFtpAdapter.php (100%) rename src/{League/Flysystem => }/Adapter/AwsS3.php (100%) rename src/{League/Flysystem => }/Adapter/Dropbox.php (100%) rename src/{League/Flysystem => }/Adapter/Ftp.php (100%) rename src/{League/Flysystem => }/Adapter/Local.php (100%) rename src/{League/Flysystem => }/Adapter/Rackspace.php (100%) rename src/{League/Flysystem => }/Adapter/Sftp.php (100%) rename src/{League/Flysystem => }/Adapter/WebDav.php (100%) rename src/{League/Flysystem => }/Adapter/Zip.php (100%) rename src/{League/Flysystem => }/AdapterInterface.php (100%) rename src/{League/Flysystem => }/Cache/AbstractCache.php (100%) rename src/{League/Flysystem => }/Cache/Memcached.php (100%) rename src/{League/Flysystem => }/Cache/Memory.php (100%) rename src/{League/Flysystem => }/Cache/Noop.php (100%) rename src/{League/Flysystem => }/Cache/Predis.php (100%) rename src/{League/Flysystem => }/CacheInterface.php (100%) rename src/{League/Flysystem => }/Config.php (100%) rename src/{League/Flysystem => }/Directory.php (100%) rename src/{League/Flysystem => }/File.php (100%) rename src/{League/Flysystem => }/FileExistsException.php (100%) rename src/{League/Flysystem => }/FileNotFoundException.php (100%) rename src/{League/Flysystem => }/Filesystem.php (100%) rename src/{League/Flysystem => }/FilesystemInterface.php (100%) rename src/{League/Flysystem => }/Handler.php (100%) rename src/{League/Flysystem => }/MountManager.php (100%) rename src/{League/Flysystem => }/PluginInterface.php (100%) rename src/{League/Flysystem => }/ReadInterface.php (100%) rename src/{League/Flysystem => }/Util.php (100%) diff --git a/composer.json b/composer.json index e49c2e361..da5b0fc5a 100644 --- a/composer.json +++ b/composer.json @@ -10,8 +10,8 @@ } ], "autoload": { - "psr-0": { - "League\\Flysystem": "src/" + "psr-4": { + "League\\Flysystem\\": "src/" } }, "require-dev": { diff --git a/src/League/Flysystem/Adapter/AbstractAdapter.php b/src/Adapter/AbstractAdapter.php similarity index 100% rename from src/League/Flysystem/Adapter/AbstractAdapter.php rename to src/Adapter/AbstractAdapter.php diff --git a/src/League/Flysystem/Adapter/AbstractFtpAdapter.php b/src/Adapter/AbstractFtpAdapter.php similarity index 100% rename from src/League/Flysystem/Adapter/AbstractFtpAdapter.php rename to src/Adapter/AbstractFtpAdapter.php diff --git a/src/League/Flysystem/Adapter/AwsS3.php b/src/Adapter/AwsS3.php similarity index 100% rename from src/League/Flysystem/Adapter/AwsS3.php rename to src/Adapter/AwsS3.php diff --git a/src/League/Flysystem/Adapter/Dropbox.php b/src/Adapter/Dropbox.php similarity index 100% rename from src/League/Flysystem/Adapter/Dropbox.php rename to src/Adapter/Dropbox.php diff --git a/src/League/Flysystem/Adapter/Ftp.php b/src/Adapter/Ftp.php similarity index 100% rename from src/League/Flysystem/Adapter/Ftp.php rename to src/Adapter/Ftp.php diff --git a/src/League/Flysystem/Adapter/Local.php b/src/Adapter/Local.php similarity index 100% rename from src/League/Flysystem/Adapter/Local.php rename to src/Adapter/Local.php diff --git a/src/League/Flysystem/Adapter/Rackspace.php b/src/Adapter/Rackspace.php similarity index 100% rename from src/League/Flysystem/Adapter/Rackspace.php rename to src/Adapter/Rackspace.php diff --git a/src/League/Flysystem/Adapter/Sftp.php b/src/Adapter/Sftp.php similarity index 100% rename from src/League/Flysystem/Adapter/Sftp.php rename to src/Adapter/Sftp.php diff --git a/src/League/Flysystem/Adapter/WebDav.php b/src/Adapter/WebDav.php similarity index 100% rename from src/League/Flysystem/Adapter/WebDav.php rename to src/Adapter/WebDav.php diff --git a/src/League/Flysystem/Adapter/Zip.php b/src/Adapter/Zip.php similarity index 100% rename from src/League/Flysystem/Adapter/Zip.php rename to src/Adapter/Zip.php diff --git a/src/League/Flysystem/AdapterInterface.php b/src/AdapterInterface.php similarity index 100% rename from src/League/Flysystem/AdapterInterface.php rename to src/AdapterInterface.php diff --git a/src/League/Flysystem/Cache/AbstractCache.php b/src/Cache/AbstractCache.php similarity index 100% rename from src/League/Flysystem/Cache/AbstractCache.php rename to src/Cache/AbstractCache.php diff --git a/src/League/Flysystem/Cache/Memcached.php b/src/Cache/Memcached.php similarity index 100% rename from src/League/Flysystem/Cache/Memcached.php rename to src/Cache/Memcached.php diff --git a/src/League/Flysystem/Cache/Memory.php b/src/Cache/Memory.php similarity index 100% rename from src/League/Flysystem/Cache/Memory.php rename to src/Cache/Memory.php diff --git a/src/League/Flysystem/Cache/Noop.php b/src/Cache/Noop.php similarity index 100% rename from src/League/Flysystem/Cache/Noop.php rename to src/Cache/Noop.php diff --git a/src/League/Flysystem/Cache/Predis.php b/src/Cache/Predis.php similarity index 100% rename from src/League/Flysystem/Cache/Predis.php rename to src/Cache/Predis.php diff --git a/src/League/Flysystem/CacheInterface.php b/src/CacheInterface.php similarity index 100% rename from src/League/Flysystem/CacheInterface.php rename to src/CacheInterface.php diff --git a/src/League/Flysystem/Config.php b/src/Config.php similarity index 100% rename from src/League/Flysystem/Config.php rename to src/Config.php diff --git a/src/League/Flysystem/Directory.php b/src/Directory.php similarity index 100% rename from src/League/Flysystem/Directory.php rename to src/Directory.php diff --git a/src/League/Flysystem/File.php b/src/File.php similarity index 100% rename from src/League/Flysystem/File.php rename to src/File.php diff --git a/src/League/Flysystem/FileExistsException.php b/src/FileExistsException.php similarity index 100% rename from src/League/Flysystem/FileExistsException.php rename to src/FileExistsException.php diff --git a/src/League/Flysystem/FileNotFoundException.php b/src/FileNotFoundException.php similarity index 100% rename from src/League/Flysystem/FileNotFoundException.php rename to src/FileNotFoundException.php diff --git a/src/League/Flysystem/Filesystem.php b/src/Filesystem.php similarity index 100% rename from src/League/Flysystem/Filesystem.php rename to src/Filesystem.php diff --git a/src/League/Flysystem/FilesystemInterface.php b/src/FilesystemInterface.php similarity index 100% rename from src/League/Flysystem/FilesystemInterface.php rename to src/FilesystemInterface.php diff --git a/src/League/Flysystem/Handler.php b/src/Handler.php similarity index 100% rename from src/League/Flysystem/Handler.php rename to src/Handler.php diff --git a/src/League/Flysystem/MountManager.php b/src/MountManager.php similarity index 100% rename from src/League/Flysystem/MountManager.php rename to src/MountManager.php diff --git a/src/League/Flysystem/PluginInterface.php b/src/PluginInterface.php similarity index 100% rename from src/League/Flysystem/PluginInterface.php rename to src/PluginInterface.php diff --git a/src/League/Flysystem/ReadInterface.php b/src/ReadInterface.php similarity index 100% rename from src/League/Flysystem/ReadInterface.php rename to src/ReadInterface.php diff --git a/src/League/Flysystem/Util.php b/src/Util.php similarity index 100% rename from src/League/Flysystem/Util.php rename to src/Util.php