Describe the bug
Don't know what the exact underlying issue is except for that it has to do with parallelization. PHPStan (PHP static analysis tool has parallel options: https://phpstan.org/config-reference#parallel-processing.
It by default uses parallel execution, but when I turn it off it's all working fine.
The error I get looks something like:
-- --------------------------------------------------------------------------------------------------------------------------------------
Error
-- --------------------------------------------------------------------------------------------------------------------------------------
Child process error (exit code 255): PHP Warning:
require_once(phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/src/Rules/Properties/PropertiesInInterfaceRule.php): Failed to
open stream: phar error: Cannot open phar archive "/var/www/html/vendor/phpstan/phpstan/phpstan.phar" for reading in
phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/preload.php on line 1062
Warning: require_once(phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/src/Rules/Properties/PropertiesInInterfaceRule.php):
Failed to open stream: phar error: Cannot open phar archive "/var/www/html/vendor/phpstan/phpstan/phpstan.phar" for reading in
phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/preload.php on line 1062
PHP Fatal error: Uncaught Error: Failed opening required
'phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/src/Rules/Properties/PropertiesInInterfaceRule.php'
(include_path='.:/usr/local/lib/php') in phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/preload.php:1062
Stack trace:
#0 phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan(25): require_once()
#1 phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan(107):
{closure:phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan:16}()
#2 /var/www/html/vendor/phpstan/phpstan/phpstan(8): require('phar:///var/www...')
#3 /var/www/html/vendor/bin/phpstan(119): include('/var/www/html/v...')
#4 {main}
thrown in phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/preload.php on line 1062
Fatal error: Uncaught Error: Failed opening required
'phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/src/Rules/Properties/PropertiesInInterfaceRule.php'
(include_path='.:/usr/local/lib/php') in phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/preload.php:1062
Stack trace:
#0 phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan(25): require_once()
#1 phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan(107):
{closure:phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan:16}()
#2 /var/www/html/vendor/phpstan/phpstan/phpstan(8): require('phar:///var/www...')
#3 /var/www/html/vendor/bin/phpstan(119): include('/var/www/html/v...')
#4 {main}
thrown in phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/preload.php on line 1062
while running parallel worker
Child process error (exit code 255): PHP Warning:
require_once(phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/src/Type/Php/ArrayCombineHelper.php): Failed to open stream:
phar error: Cannot open phar archive "/var/www/html/vendor/phpstan/phpstan/phpstan.phar" for reading in
phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/preload.php on line 1411
Warning: require_once(phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/src/Type/Php/ArrayCombineHelper.php): Failed to open
stream: phar error: Cannot open phar archive "/var/www/html/vendor/phpstan/phpstan/phpstan.phar" for reading in
phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/preload.php on line 1411
PHP Fatal error: Uncaught Error: Failed opening required
'phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/src/Type/Php/ArrayCombineHelper.php' (include_path='.:/usr/local/lib/php')
in phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/preload.php:1411
Stack trace:
#0 phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan(25): require_once()
#1 phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan(107):
{closure:phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan:16}()
#2 /var/www/html/vendor/phpstan/phpstan/phpstan(8): require('phar:///var/www...')
#3 /var/www/html/vendor/bin/phpstan(119): include('/var/www/html/v...')
#4 {main}
thrown in phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/preload.php on line 1411
Fatal error: Uncaught Error: Failed opening required
'phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/src/Type/Php/ArrayCombineHelper.php' (include_path='.:/usr/local/lib/php')
in phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/preload.php:1411
Stack trace:
#0 phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan(25): require_once()
#1 phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan(107):
{closure:phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan:16}()
#2 /var/www/html/vendor/phpstan/phpstan/phpstan(8): require('phar:///var/www...')
#3 /var/www/html/vendor/bin/phpstan(119): include('/var/www/html/v...')
#4 {main}
thrown in phar:///var/www/html/vendor/phpstan/phpstan/phpstan.phar/preload.php on line 1411
while running parallel worker
To Reproduce
It might happen with every project using PHPStan and parallel execution. It takes some more time to actually create an easy to reproduce example. If it's really necessary I can put in some more time to do this.
Expected behavior
That it works before the latest version.
Diagnostic report (REQUIRED)
OrbStack info:
Version: 2.1.3
Commit: 7a3258b7336a8a47b75771e87ef7b74ba4bba8eb (v2.1.3)
System info:
macOS: 26.4.1 (25E253)
CPU: arm64, 8 cores
CPU model: Apple M3
Model: Mac15,12
Memory: 24 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2026-05-11T14-55-02.115783Z.zip
Screenshots and additional context (optional)
No response
Describe the bug
Don't know what the exact underlying issue is except for that it has to do with parallelization. PHPStan (PHP static analysis tool has parallel options: https://phpstan.org/config-reference#parallel-processing.
It by default uses parallel execution, but when I turn it off it's all working fine.
The error I get looks something like:
To Reproduce
It might happen with every project using PHPStan and parallel execution. It takes some more time to actually create an easy to reproduce example. If it's really necessary I can put in some more time to do this.
Expected behavior
That it works before the latest version.
Diagnostic report (REQUIRED)
OrbStack info:
Version: 2.1.3
Commit: 7a3258b7336a8a47b75771e87ef7b74ba4bba8eb (v2.1.3)
System info:
macOS: 26.4.1 (25E253)
CPU: arm64, 8 cores
CPU model: Apple M3
Model: Mac15,12
Memory: 24 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2026-05-11T14-55-02.115783Z.zip
Screenshots and additional context (optional)
No response