src/modules/Jira/IssueFile.php
/**
     * Checks the file name for the template matching
     *
     * @param $fileName
     *
     * @throws IssueFileException
     *
     */
Checks the file name for the template matching
@param $fileName


Checks the file name for the template matching @param $fileName
protected static function fileNameCheck($fileName)
    {
        if (!preg_match("/^[A-Za-z]{1,10}-[0-9]{1,10}$/", $fileName)) {
            throw new IssueFileException("IssueFile: File name {$fileName} is invalid!");
        }
    }
protected static function fileNameCheck ( $ fileName ) { if ( ! preg_match ( " /^[A-Za-z]{1,10}-[0-9]{1,10}$/ " , $ fileName ) ) { throw new IssueFileException ( " IssueFile: File name  { $ fileName }  is invalid! " ) ; } }
Checks the file name for the template matching
 @param $fileName
Checks the file name for the template matching @param $fileName