Skip to content

Commit 5b97000

Browse files
idabictjasko
authored andcommitted
updated composer by PSR-0 convention
Added classmap to bypass PSR-0 standard issue with underscores (_) - by PSR-0 underscores are translated into directory separators (slashes: /) whereas previous naming of files x_y_z will throw an exception.
1 parent fcc1b77 commit 5b97000

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

composer.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@
1414
},
1515
"autoload": {
1616
"psr-0": {
17-
"MaxCDN\\": "src/",
18-
"": "src/"
19-
}
17+
"MaxCDN\\": "src/"
18+
},
19+
"classmap": [
20+
"src/MaxCDN.php",
21+
"src/MaxCDN/OAuth/OAuthSignatureMethod_PLAINTEXT.php",
22+
"src/MaxCDN/OAuth/OAuthSignatureMethod_HMAC_SHA1.php",
23+
"src/MaxCDN/OAuth/OAuthSignatureMethod_RSA_SHA1.php"
24+
]
2025
}
2126

2227
}

0 commit comments

Comments
 (0)