@@ 203-206 (lines=4) @@ | ||
200 | $docs = explode("\n", $comments); |
|
201 | if (count($docs)) { |
|
202 | foreach ($docs as &$doc) { |
|
203 | if (!preg_match('/(\*\*|\@)/i', $doc) && preg_match('/\*\ /i', $doc)) { |
|
204 | $doc = explode('* ', $doc); |
|
205 | $description = $doc[1]; |
|
206 | } |
|
207 | } |
|
208 | } |
|
209 |
@@ 53-56 (lines=4) @@ | ||
50 | protected static function calculateResourcePathname($filename_path, $source) |
|
51 | { |
|
52 | $source_file = preg_replace("/'/", "", $source[1]); |
|
53 | if (preg_match('/\#/', $source_file)) { |
|
54 | $source_file = explode("#", $source_file); |
|
55 | $source_file = $source_file[0]; |
|
56 | } |
|
57 | if (preg_match('/\?/', $source_file)) { |
|
58 | $source_file = explode("?", $source_file); |
|
59 | $source_file = $source_file[0]; |
|
@@ 57-60 (lines=4) @@ | ||
54 | $source_file = explode("#", $source_file); |
|
55 | $source_file = $source_file[0]; |
|
56 | } |
|
57 | if (preg_match('/\?/', $source_file)) { |
|
58 | $source_file = explode("?", $source_file); |
|
59 | $source_file = $source_file[0]; |
|
60 | } |
|
61 | $orig = realpath(dirname($filename_path) . DIRECTORY_SEPARATOR . $source_file); |
|
62 | return $orig; |
|
63 | } |
|
@@ 461-464 (lines=4) @@ | ||
458 | protected function extractSourceFilename($source) |
|
459 | { |
|
460 | $source_file = preg_replace("/'/", "", $source[1]); |
|
461 | if (preg_match('/\#/', $source_file)) { |
|
462 | $source_file = explode("#", $source_file); |
|
463 | $source_file = $source_file[0]; |
|
464 | } |
|
465 | if (preg_match('/\?/', $source_file)) { |
|
466 | $source_file = explode("?", $source_file); |
|
467 | $source_file = $source_file[0]; |
|
@@ 465-469 (lines=5) @@ | ||
462 | $source_file = explode("#", $source_file); |
|
463 | $source_file = $source_file[0]; |
|
464 | } |
|
465 | if (preg_match('/\?/', $source_file)) { |
|
466 | $source_file = explode("?", $source_file); |
|
467 | $source_file = $source_file[0]; |
|
468 | return $source_file; |
|
469 | } |
|
470 | return $source_file; |
|
471 | } |
|
472 |