Permalink
Browse files

Added composer autoloading compliance

Removed code which falsely claimed PSR-0 compliance, replaced it with namespaceless autoloading code which looks for classes in the files you already have.
  • Loading branch information...
1 parent fdbd370 commit ce8a675af70ceeb4b55600d3c15be5853ec2444c @barnabywalters barnabywalters committed Aug 29, 2012
Showing with 4 additions and 5 deletions.
  1. +4 −5 composer.json
View
@@ -11,9 +11,8 @@
"require": {
"php": ">=5.0.0"
},
- "autoload": {
- "psr-0": {
- "Pingback": "lib"
- }
- }
+ "autoload": {
+ "classmap": ["lib/Pingback/Exception.php", "lib/Pingback/Server.php", "lib/Pingback/Utility.php"]
+ }
+
}

0 comments on commit ce8a675

Please sign in to comment.