Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Elgg
CommitMessage
isValidFormat
Elgg\CommitMessage::isValidFormat PHP Method
CommitMessage Class Documentation
Show file
Open project: elgg/elgg
isValidFormat()
public
method
Whether the message format conforms to our standards.
public
isValidFormat
( ) :
boolean
return
boolean
public function isValidFormat() { return preg_match($this->formatRegex, $this->msg) === 1; }
CommitMessage
__construct
__toString
findLengthyLines
getLengthyLines
getMaxLineLength
getMsg
getOriginalMsg
getPart
getValidTypes
isValid
isValidFormat
isValidLineLength
isValidType
processMsg
removeComments
setMaxLineLength
setMsg
shouldIgnore