From 1330bf8955ad48164ef1809547e784dc12990e58 Mon Sep 17 00:00:00 2001 From: Evan Darwin Date: Sun, 14 Sep 2014 10:35:45 -0700 Subject: [PATCH] Make it PSR-4 compatible --- .gitignore | 1 + composer.json | 4 +++- src/{snapchat_agent.php => SnapchatAgent.php} | 0 src/{snapchat_cache.php => SnapchatCache.php} | 0 src/snapchat.php | 5 +---- 5 files changed, 5 insertions(+), 5 deletions(-) rename src/{snapchat_agent.php => SnapchatAgent.php} (100%) rename src/{snapchat_cache.php => SnapchatCache.php} (100%) diff --git a/.gitignore b/.gitignore index 57872d0..491f666 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /vendor/ +.idea/ diff --git a/composer.json b/composer.json index 067f878..2c6c9dc 100644 --- a/composer.json +++ b/composer.json @@ -17,6 +17,8 @@ "ext-mcrypt": "*" }, "autoload": { - "classmap": ["src/"] + "psr-4": { + "": "src" + } } } diff --git a/src/snapchat_agent.php b/src/SnapchatAgent.php similarity index 100% rename from src/snapchat_agent.php rename to src/SnapchatAgent.php diff --git a/src/snapchat_cache.php b/src/SnapchatCache.php similarity index 100% rename from src/snapchat_cache.php rename to src/SnapchatCache.php diff --git a/src/snapchat.php b/src/snapchat.php index fe64534..7cf4e3a 100755 --- a/src/snapchat.php +++ b/src/snapchat.php @@ -1,11 +1,8 @@