| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 13 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 59 | 1 | protected function getPatterns() |
|
| 60 | { |
||
| 61 | return array( |
||
| 62 | 1 | 'do {EOL...} while (...);EOL', |
|
| 63 | 1 | 'while (...) {EOL', |
|
| 64 | 1 | 'switch (...) {EOL', |
|
| 65 | 1 | 'for (...) {EOL', |
|
| 66 | 1 | 'if (...) {EOL', |
|
| 67 | 1 | 'foreach (...) {EOL', |
|
| 68 | 1 | '}EOLelseif (...) {EOL', |
|
| 69 | 1 | '}EOLelse {EOL', |
|
| 70 | 1 | 'do {EOL', |
|
| 71 | 1 | 'try {EOL', |
|
| 72 | 1 | '}EOLcatch (...) {EOL', |
|
| 73 | 1 | ); |
|
| 74 | }//end getPatterns() |
||
| 75 | }//end class |
||
| 76 |