Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it PSR-4 compatible #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/vendor/
.idea/
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"ext-mcrypt": "*"
},
"autoload": {
"classmap": ["src/"]
"psr-4": {
"": "src"
}
}
}
File renamed without changes.
File renamed without changes.
5 changes: 1 addition & 4 deletions src/snapchat.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<?php

include_once dirname(__FILE__) . '/snapchat_agent.php';
include_once dirname(__FILE__) . '/snapchat_cache.php';

/**
* @file
* Provides an implementation of the undocumented Snapchat API.
* @class Provides an implementation of the undocumented Snapchat API.
*/
class Snapchat extends SnapchatAgent {

Expand Down