Lines Matching refs:matches

172         if ($count = preg_match_all(self::REGEX_REQUIRES_OS, $docComment, $matches)) {
175 addcslashes($matches['value'][$count - 1], '/')
178 if ($count = preg_match_all(self::REGEX_REQUIRES_VERSION, $docComment, $matches)) {
180 $requires[$matches['name'][$i]] = [
181 'version' => $matches['version'][$i],
182 'operator' => $matches['operator'][$i]
188 $matches = [];
190 if ($count = preg_match_all(self::REGEX_REQUIRES, $docComment, $matches)) {
192 $name = $matches['name'][$i] . 's';
196 $requires[$name][] = $matches['value'][$i];
197 if (empty($matches['version'][$i]) || $name != 'extensions') {
200 $requires['extension_versions'][$matches['value'][$i]] = [
201 'version' => $matches['version'][$i],
202 'operator' => $matches['operator'][$i]
293 if (preg_match(self::REGEX_EXPECTED_EXCEPTION, $docComment, $matches)) {
299 $class = $matches[1];
304 if (isset($matches[2])) {
305 $message = trim($matches[2]);
318 if (isset($matches[3])) {
319 $code = $matches[3];
418 if (preg_match_all(self::REGEX_DATA_PROVIDER, $docComment, $matches)) {
421 foreach ($matches[1] as $match) {
480 if (preg_match(self::REGEX_TEST_WITH, $docComment, $matches, PREG_OFFSET_CAPTURE)) {
481 $offset = strlen($matches[0][0]) + $matches[0][1];
570 …tch('#/\*\*?\s*@(?P<name>[A-Za-z_-]+)(?:[ \t]+(?P<value>.*?))?[ \t]*\r?\*/$#m', $line, $matches)) {
571 $annotations[strtolower($matches['name'])] = [
573 'value' => $matches['value']
594 …g_match_all('/@(?P<name>[A-Za-z_-]+)(?:[ \t]+(?P<value>.*?))?[ \t]*\r?$/m', $docblock, $matches)) {
595 $numMatches = count($matches[0]);
598 $annotations[$matches['name'][$i]][] = (string) $matches['value'][$i];