Closed livingroot closed 1 year ago
replaced SplFileInfo::getBasename() calls with SplFileInfo::getFilename()
gitify build
$file = new SplFileInfo("directory/файл.txt"); // file, which contains cyrillic characters var_dump($file->getBasename()); var_dump($file->getFilename());
output:
string(4) ".txt" // wrong string(12) "файл.txt" // correct
Related issue: https://github.com/modmore/Gitify/issues/188
What does it do ?
replaced SplFileInfo::getBasename() calls with SplFileInfo::getFilename()
Why is it needed ?
gitify build
removed those files.Example:
output:
Related issue: https://github.com/modmore/Gitify/issues/188