| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 50 | private function checkDarwin() |
||
|
1 ignored issue
–
show
|
|||
| 51 | { |
||
| 52 | if ('Darwin' !== PHP_OS) { |
||
| 53 | return false; |
||
| 54 | } |
||
| 55 | |||
| 56 | // Apply hack to force process into background as it keeps sticky on Darwin. |
||
| 57 | // Dunno why but as I lack the hardware and knowledge of said OS, this hack will have to do. |
||
| 58 | $this->getAutoConfig()->setForceToBackground(true); |
||
| 59 | $this->markSuccess( |
||
| 60 | 'Mac OS X (Darwin) detected, force-to-background-workaround enabled.' |
||
| 61 | ); |
||
| 62 | |||
| 63 | return true; |
||
| 64 | } |
||
| 65 | } |
||
| 66 |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.