- Edited
We have the problem that the Extension is endlessly scanning the vendor folders in our devcontainers, since there are extensions that are symlinking the root vendor folder.
This causes 100% until the Host is Out Of Memory. Well, when OOM VSCode / Docker crashes.
The process:
.vscode-server/extensions/devsense.phptools-vscode-1.39.13943-linux-x64/out/server/devsense.php.ls
causes that issue.
We all ready tried to exclude vendor in vendor, without any success:
"php.problems.exclude": {
"vendor": true,
"**/vendor/**/vendor/**": true
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/.vscode": true,
"**/vendor/**/vendor/**":true //exclude vendor inside vendor
},
Logs from PHP Language Server:
PHP Tools server started.
PID: 609
Processing files: *.php; *.phtml
[Info - 8:50:51 AM] Processing packages in /workspaces/dev-stack/laravel-proj-main-backend/vendor/composer/installed.json ...
[Info - 8:50:51 AM] Processing packages in /workspaces/dev-stack/laravel-ext-jwt-authentication/vendor/composer/installed.json ...
[Error - 8:51:00 AM] Parsing '/workspaces/dev-stack/laravel-ext-jwt-authentication/vendor/orchestra/testbench-core/laravel/vendor/zbateson/stream-decorators/PhpCsFixer.php' errored.
[Error - 8:51:10 AM] Parsing '/workspaces/dev-stack/laravel-ext-jwt-authentication/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/zbateson/stream-decorators/PhpCsFixer.php' errored.
[Info - 8:51:18 AM] Processing done in 00:00:26.5788212.
[Error - 8:51:20 AM] Parsing '/workspaces/dev-stack/laravel-ext-jwt-authentication/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/zbateson/stream-decorators/PhpCsFixer.php' errored.
[Error - 8:51:28 AM] Parsing '/workspaces/dev-stack/laravel-ext-jwt-authentication/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/zbateson/stream-decorators/PhpCsFixer.php' errored.
[Error - 8:51:34 AM] Parsing '/workspaces/dev-stack/laravel-ext-jwt-authentication/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/zbateson/stream-decorators/PhpCsFixer.php' errored.
[Error - 8:51:41 AM] Parsing '/workspaces/dev-stack/laravel-ext-jwt-authentication/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/zbateson/stream-decorators/PhpCsFixer.php' errored.
[Info - 8:51:48 AM] Storing package brianium/paratest@v7.2.6 cache ...
[Info - 8:51:48 AM] Storing package brick/math@0.11.0 cache ...
[Info - 8:51:48 AM] Storing package dflydev/dot-access-data@v3.0.2 cache ...
[Info - 8:51:48 AM] Storing package doctrine/deprecations@v1.1.1 cache ...
[Info - 8:51:48 AM] Storing package doctrine/inflector@2.0.8 cache ...
[Info - 8:51:48 AM] Storing package doctrine/lexer@3.0.0 cache ...
[Info - 8:51:48 AM] Storing package dragonmantank/cron-expression@v3.3.3 cache ...
[Info - 8:51:48 AM] Storing package egulias/email-validator@4.0.1 cache ...
[Error - 8:51:48 AM] Parsing '/workspaces/dev-stack/laravel-ext-jwt-authentication/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/zbateson/stream-decorators/PhpCsFixer.php' errored.
[Info - 8:51:48 AM] Storing package fakerphp/faker@v1.23.0 cache ...
[Info - 8:51:48 AM] Storing package fidry/cpu-core-counter@0.5.1 cache ...
[Info - 8:51:48 AM] Storing package filp/whoops@2.15.3 cache ...
[Info - 8:51:49 AM] Storing package fruitcake/php-cors@v1.2.0 cache ...
[Info - 8:51:49 AM] Storing package graham-campbell/result-type@v1.1.1 cache ...
[Info - 8:51:49 AM] Storing package guzzlehttp/guzzle@7.8.0 cache ...
[Info - 8:51:49 AM] Storing package guzzlehttp/promises@2.0.1 cache ...
[Info - 8:51:49 AM] Storing package guzzlehttp/psr7@2.6.1 cache ...
[Info - 8:51:49 AM] Storing package guzzlehttp/uri-template@v1.0.2 cache ...
[Info - 8:51:49 AM] Storing package hamcrest/hamcrest-php@v2.0.1 cache ...
[Info - 8:51:49 AM] Storing package jean85/pretty-package-versions@2.0.5 cache ...
[Info - 8:51:50 AM] Storing package laravel/framework@v10.22.0 cache ...
[Info - 8:51:50 AM] Storing package laravel/prompts@v0.1.6 cache ...
[Info - 8:51:50 AM] Storing package laravel/sail@v1.24.1 cache ...
[Info - 8:51:50 AM] Storing package laravel/serializable-closure@v1.3.1 cache ...
[Info - 8:51:50 AM] Storing package laravel/tinker@v2.8.2 cache ...
[Info - 8:51:51 AM] Storing package league/commonmark@2.4.1 cache ...
[Info - 8:51:51 AM] Storing package league/config@v1.2.0 cache ...
[Info - 8:51:51 AM] Storing package league/flysystem@3.15.1 cache ...
[Info - 8:51:51 AM] Storing package league/flysystem-local@3.15.0 cache ...
[Info - 8:51:51 AM] Storing package league/mime-type-detection@1.13.0 cache ...
[Info - 8:51:51 AM] Storing package mockery/mockery@1.6.6 cache ...
[Info - 8:51:51 AM] Storing package monolog/monolog@3.4.0 cache ...
[Info - 8:51:51 AM] Storing package myclabs/deep-copy@1.11.1 cache ...
[Info - 8:51:51 AM] Storing package nesbot/carbon@2.69.0 cache ...
[Info - 8:51:51 AM] Storing package nette/schema@v1.2.4 cache ...
[Info - 8:51:51 AM] Storing package nette/utils@v4.0.1 cache ...
[Info - 8:51:51 AM] Storing package nikic/php-parser@v4.17.1 cache ...
[Info - 8:51:51 AM] Storing package nunomaduro/collision@v7.8.1 cache ...
[Info - 8:51:51 AM] Storing package nunomaduro/termwind@v1.15.1 cache ...
[Info - 8:51:51 AM] Storing package pestphp/pest@v2.17.0 cache ...
[Info - 8:51:51 AM] Storing package pestphp/pest-plugin@v2.1.1 cache ...
[Info - 8:51:51 AM] Storing package pestphp/pest-plugin-arch@v2.3.3 cache ...
[Info - 8:51:51 AM] Storing package pestphp/pest-plugin-laravel@v2.2.0 cache ...
[Info - 8:51:51 AM] Storing package phar-io/manifest@2.0.3 cache ...
[Info - 8:51:51 AM] Storing package phar-io/version@3.2.1 cache ...
[Info - 8:51:51 AM] Storing package phpdocumentor/reflection-common@2.2.0 cache ...
[Info - 8:51:51 AM] Storing package phpdocumentor/reflection-docblock@5.3.0 cache ...
[Info - 8:51:51 AM] Storing package phpdocumentor/type-resolver@1.7.3 cache ...
[Info - 8:51:51 AM] Storing package phpoption/phpoption@1.9.1 cache ...
[Info - 8:51:51 AM] Storing package phpstan/phpdoc-parser@1.23.1 cache ...
[Info - 8:51:51 AM] Storing package phpstan/phpstan@1.10.35 cache ...
[Info - 8:51:51 AM] Storing package phpunit/php-code-coverage@10.1.4 cache ...
[Info - 8:51:51 AM] Storing package phpunit/php-file-iterator@4.1.0 cache ...
[Info - 8:51:51 AM] Storing package phpunit/php-invoker@4.0.0 cache ...
[Info - 8:51:51 AM] Storing package phpunit/php-text-template@3.0.1 cache ...
[Info - 8:51:51 AM] Storing package phpunit/php-timer@6.0.0 cache ...
[Info - 8:51:52 AM] Storing package phpunit/phpunit@10.3.2 cache ...
[Info - 8:51:52 AM] Storing package psr/clock@1.0.0 cache ...
[Info - 8:51:52 AM] Storing package psr/container@2.0.2 cache ...
[Info - 8:51:52 AM] Storing package psr/event-dispatcher@1.0.0 cache ...
[Info - 8:51:52 AM] Storing package psr/http-client@1.0.2 cache ...
[Info - 8:51:52 AM] Storing package psr/http-factory@1.0.2 cache ...
[Info - 8:51:52 AM] Storing package psr/http-message@2.0 cache ...
[Info - 8:51:52 AM] Storing package psr/log@3.0.0 cache ...
[Info - 8:51:52 AM] Storing package psr/simple-cache@3.0.0 cache ...
[Info - 8:51:52 AM] Storing package psy/psysh@v0.11.20 cache ...
[Info - 8:51:52 AM] Storing package ralouphie/getallheaders@3.0.3 cache ...
[Info - 8:51:52 AM] Storing package ramsey/collection@2.0.0 cache ...
[Info - 8:51:52 AM] Storing package ramsey/uuid@4.7.4 cache ...
[Info - 8:51:52 AM] Storing package rector/rector@0.18.3 cache ...
[Info - 8:51:52 AM] Storing package sebastian/cli-parser@2.0.0 cache ...
[Info - 8:51:52 AM] Storing package sebastian/code-unit@2.0.0 cache ...
[Info - 8:51:52 AM] Storing package sebastian/code-unit-reverse-lookup@3.0.0 cache ...
[Info - 8:51:52 AM] Storing package sebastian/comparator@5.0.1 cache ...
[Info - 8:51:52 AM] Storing package sebastian/complexity@3.0.1 cache ...
[Info - 8:51:52 AM] Storing package sebastian/diff@5.0.3 cache ...
[Info - 8:51:52 AM] Storing package sebastian/environment@6.0.1 cache ...
[Info - 8:51:52 AM] Storing package sebastian/exporter@5.0.0 cache ...
[Info - 8:51:52 AM] Storing package sebastian/global-state@6.0.1 cache ...
[Info - 8:51:52 AM] Storing package sebastian/lines-of-code@2.0.1 cache ...
[Info - 8:51:52 AM] Storing package sebastian/object-enumerator@5.0.0 cache ...
[Info - 8:51:52 AM] Storing package sebastian/object-reflector@3.0.0 cache ...
[Info - 8:51:52 AM] Storing package sebastian/recursion-context@5.0.0 cache ...
[Info - 8:51:52 AM] Storing package sebastian/type@4.0.0 cache ...
[Info - 8:51:52 AM] Storing package sebastian/version@4.0.1 cache ...
[Info - 8:51:52 AM] Storing package spatie/backtrace@1.5.3 cache ...
[Info - 8:51:52 AM] Storing package spatie/flare-client-php@1.4.2 cache ...
[Info - 8:51:52 AM] Storing package spatie/ignition@1.10.1 cache ...
[Info - 8:51:52 AM] Storing package spatie/laravel-ignition@2.3.0 cache ...
[Info - 8:51:52 AM] Storing package symfony/console@v6.3.4 cache ...
[Info - 8:51:52 AM] Storing package symfony/css-selector@v6.3.2 cache ...
[Info - 8:51:52 AM] Storing package symfony/deprecation-contracts@v3.3.0 cache ...
[Info - 8:51:52 AM] Storing package symfony/error-handler@v6.3.2 cache ...
[Info - 8:51:52 AM] Storing package symfony/event-dispatcher@v6.3.2 cache ...
[Info - 8:51:52 AM] Storing package symfony/event-dispatcher-contracts@v3.3.0 cache ...
[Info - 8:51:52 AM] Storing package symfony/finder@v6.3.3 cache ...
[Info - 8:51:53 AM] Storing package symfony/http-foundation@v6.3.4 cache ...
[Info - 8:51:53 AM] Storing package symfony/http-kernel@v6.3.4 cache ...
[Info - 8:51:53 AM] Storing package symfony/mailer@v6.3.0 cache ...
[Info - 8:51:53 AM] Storing package symfony/mime@v6.3.3 cache ...
[Info - 8:51:53 AM] Storing package symfony/polyfill-ctype@v1.28.0 cache ...
[Info - 8:51:53 AM] Storing package symfony/polyfill-intl-grapheme@v1.28.0 cache ...
[Info - 8:51:53 AM] Storing package symfony/polyfill-intl-idn@v1.28.0 cache ...
[Info - 8:51:53 AM] Storing package symfony/polyfill-intl-normalizer@v1.28.0 cache ...
[Info - 8:51:53 AM] Storing package symfony/polyfill-mbstring@v1.28.0 cache ...
[Info - 8:51:53 AM] Storing package symfony/polyfill-php72@v1.28.0 cache ...
[Info - 8:51:53 AM] Storing package symfony/polyfill-php80@v1.28.0 cache ...
[Info - 8:51:53 AM] Storing package symfony/polyfill-php83@v1.28.0 cache ...
[Info - 8:51:53 AM] Storing package symfony/polyfill-uuid@v1.28.0 cache ...
[Info - 8:51:53 AM] Storing package symfony/process@v6.3.4 cache ...
[Info - 8:51:53 AM] Storing package symfony/routing@v6.3.3 cache ...
[Info - 8:51:53 AM] Storing package symfony/service-contracts@v3.3.0 cache ...
[Info - 8:51:53 AM] Storing package symfony/string@v6.3.2 cache ...
[Info - 8:51:53 AM] Storing package symfony/translation@v6.3.3 cache ...
[Info - 8:51:53 AM] Storing package symfony/translation-contracts@v3.3.0 cache ...
[Info - 8:51:53 AM] Storing package symfony/uid@v6.3.0 cache ...
[Info - 8:51:53 AM] Storing package symfony/var-dumper@v6.3.4 cache ...
[Info - 8:51:53 AM] Storing package symfony/yaml@v6.3.3 cache ...
[Info - 8:51:53 AM] Storing package symplify/easy-coding-standard@12.0.8 cache ...
[Info - 8:51:53 AM] Storing package ta-tikoma/phpunit-architecture-test@0.7.4 cache ...
[Info - 8:51:53 AM] Storing package theseer/tokenizer@1.2.1 cache ...
[Info - 8:51:53 AM] Storing package tijsverkoyen/css-to-inline-styles@2.2.6 cache ...
[Info - 8:51:53 AM] Storing package vlucas/phpdotenv@v5.5.0 cache ...
[Info - 8:51:53 AM] Storing package voku/portable-ascii@2.0.1 cache ...
[Info - 8:51:53 AM] Storing package webmozart/assert@1.11.0 cache ...
[Error - 8:51:56 AM] Parsing '/workspaces/dev-stack/laravel-ext-jwt-authentication/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/zbateson/stream-decorators/PhpCsFixer.php' errored.
[Error - 8:52:03 AM] Parsing '/workspaces/dev-stack/laravel-ext-jwt-authentication/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/zbateson/stream-decorators/PhpCsFixer.php' errored.
[Error - 8:52:10 AM] Parsing '/workspaces/dev-stack/laravel-ext-jwt-authentication/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/zbateson/stream-decorators/PhpCsFixer.php' errored.
[Error - 8:52:17 AM] Parsing '/workspaces/dev-stack/laravel-ext-jwt-authentication/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/zbateson/stream-decorators/PhpCsFixer.php' errored.
[Error - 8:52:25 AM] Parsing '/workspaces/dev-stack/laravel-ext-jwt-authentication/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/zbateson/stream-decorators/PhpCsFixer.php' errored.
[Error - 8:52:33 AM] Parsing '/workspaces/dev-stack/laravel-ext-jwt-authentication/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/zbateson/stream-decorators/PhpCsFixer.php' errored.
[Error - 8:52:40 AM] Parsing '/workspaces/dev-stack/laravel-ext-jwt-authentication/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/orchestra/testbench-core/laravel/vendor/zbateson/stream-decorators/PhpCsFixer.php' errored.
[Error - 8:52:47 AM] Parsing '/workspaces/dev-stack/laravel-ext-jwt-authentication/vendor/orchestra/testbench-core
.....