git clone -b Code-violations https://github.com/jongfeli/SemanticMediaWiki.git
if ( some condition ) {
doSomeStuff
}
/**
* We use the internal wikipage object to store some of this objects data.
* Clone it to make sure that data can be modified independently from the
* original object's content.
*/
public function __clone() {
if ( !is_null( $this->m_wikipage ) ) {
$this->m_wikipage = clone $this->m_wikipage;
}
}
if ( $subCondition instanceof FalseCondition ) {
return new FalseCondition();
} // @codingStandardsIgnoreStart phpcs, ignore --sniffs=.....
elseif ( $subCondition instanceof TrueCondition ) {
// ignore true conditions in a conjunction
} // @codingStandardsIgnoreEnd