Skip to content

Commit 06b98bc

Browse files
committedNov 9, 2016
Fix class name to be PSR-4 compatible
The class and file names are case sensitive. This fixes the discrepancy and allows autoloading of getid3 class.
1 parent 62f4de7 commit 06b98bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎src/ID3Parser.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88

99
namespace ID3Parser;
1010

11-
use ID3Parser\getID3\getID3;
11+
use ID3Parser\getID3\getid3;
1212

1313
class ID3Parser {
1414
/**
1515
* @param string $fileName
1616
* @return array
1717
*/
1818
public function analyze($fileName) {
19-
$getID3 = new getID3();
19+
$getID3 = new getid3();
2020
return $getID3->analyze($fileName);
2121
}
2222
}

‎src/getID3/getid3.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace ID3Parser\getID3;
1010

11-
class getID3 {
11+
class getid3 {
1212
// public: Settings
1313
private $encoding = 'UTF-8'; // CASE SENSITIVE! - i.e. (must be supported by iconv()). Examples: ISO-8859-1 UTF-8 UTF-16 UTF-16BE
1414

0 commit comments

Comments
 (0)