When posix extension is not installed, generates undefined constant error
Closed this issue · 0 comments
Magentron commented
[WARNING] PHP extension posix not loaded, multi-processing support disabled.
Error: Undefined constant "Magentron\BladeLint\Console\Commands\SIGKILL"
at vendor\magentron\laravel-blade-lint\src\Magentron\BladeLint\Console\Commands\BladeLint.php:416
412▕ */
413▕ protected function installSignalHandlers()
414▕ {
415▕ for ($i = 1; $i <= 15; ++$i) {
➜ 416▕ if (SIGKILL === $i) {
417▕ continue;
418▕ }
419▕
420▕ pcntl_signal($i, array($this, 'signalHandler'), false);
1 vendor\magentron\laravel-blade-lint\src\Magentron\BladeLint\Console\Commands\BladeLint.php:170
Magentron\BladeLint\Console\Commands\BladeLint::installSignalHandlers()
2 vendor\magentron\laravel-blade-lint\src\Magentron\BladeLint\Console\Commands\BladeLint.php:79
Magentron\BladeLint\Console\Commands\BladeLint::checkBladeSyntaxFiles()