function checkDarwin() does not seem to conform to the naming convention (^(?:is|has|should|may|supports)).
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.
Loading history...
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.
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.