private function _checkFileNaming() {
		if ($this->_isActive('fileNaming')) {
			$fileBaseName = basename($this->_currentFilename);

			$ret = preg_match($this->_config->getTestRegExp('fileNaming'), $fileBaseName);
			if (!$ret) {
				$msg = $this->_getMessage('FILENAME_NAMING', $fileBaseName, $this->_config->getTestRegExp('fileNaming'));
				$this->_writeError('fileNaming', $msg);
			}
		}
	}
private function _checkFileNaming() {
		if ($this->_isActive('fileNaming')) {
			$fileBaseName = basename($this->_currentFilename);

			$ret = preg_match($this->_config->getTestRegExp('fileNaming'), $fileBaseName);
			if (!$ret) {
				$msg = $this->_getMessage('FILENAME_NAMING', $fileBaseName, $this->_config->getTestRegExp('fileNaming'));
				$this->_writeError('fileNaming', $msg);
			}
		}
	}
private function _checkFileNaming ( ) { if ( $ this -> _isActive ( 'fileNaming' ) ) { $ fileBaseName = basename ( $ this -> _currentFilename ) ; $ ret = preg_match ( $ this -> _config -> getTestRegExp ( 'fileNaming' ) , $ fileBaseName ) ; if ( ! $ ret ) { $ msg = $ this -> _getMessage ( 'FILENAME_NAMING' , $ fileBaseName , $ this -> _config -> getTestRegExp ( 'fileNaming' ) ) ; $ this -> _writeError ( 'fileNaming' , $ msg ) ; } } }
Check the naming of a file.
Check the naming of a file .