return ($versionParts[2] == $release);
}
- /**
- * @param $constraints
- *
- * @return array
- */
- public function checkSQLConstraints(&$constraints) {
- $pass = $fail = 0;
- foreach ($constraints as $constraint) {
- if ($this->checkSQLConstraint($constraint)) {
- $pass++;
- }
- else {
- $fail++;
- }
- return [$pass, $fail];
- }
- }
-
- /**
- * @param $constraint
- *
- * @return bool
- */
- public function checkSQLConstraint($constraint) {
- // check constraint here
- return TRUE;
- }
-
/**
* @param string $fileName
* @param bool $isQueryString