### Initializing Development Environment with Bun Source: https://github.com/sanderronde/phpstan-vscode/blob/master/README.md This command starts the development environment for the PHPStan VSCode extension. It installs all necessary JavaScript and PHP dependencies, preparing the project for development work. ```Shell bun dev ``` -------------------------------- ### Packaging VSCode Extension for Production Source: https://github.com/sanderronde/phpstan-vscode/blob/master/README.md This command uses the VSCode Extension (vsce) tool to package the extension into an installable .vsix file. This file is used for distribution or local installation of the production-ready extension. ```Shell vsce package ``` -------------------------------- ### Configuring PHPStan Binary Command in VSCode Source: https://github.com/sanderronde/phpstan-vscode/blob/master/README.md This configuration option allows specifying a custom command to execute the PHPStan binary. It is useful when PHPStan is not directly accessible via 'phpstan.binPath', for example, when running it within a Docker container or a Lando environment. The command is provided as an array of strings. ```JSON ["lando", "phpstan"] ``` ```JSON ["docker", "exec", "-t", "phpstan"] ``` -------------------------------- ### Running PHPStan Analysis on Demo File Source: https://github.com/sanderronde/phpstan-vscode/blob/master/README.md This command executes PHPStan analysis on a specific demo file (DemoClass.php) using a custom configuration (config.neon) and an analyzer (TreeFetcher.php). It's primarily used for debugging and testing changes to the PHPStan plugin's hover data collection. ```Shell php/vendor/bin/phpstan analyze -c php/config.neon -a php/TreeFetcher.php --debug test/demo/php/DemoClass.php ``` -------------------------------- ### Configuring Path Mapping for PHPStan in VSCode Source: https://github.com/sanderronde/phpstan-vscode/blob/master/README.md This setting defines path mappings, which are essential when the project's filesystem paths differ between the host machine and the environment where PHPStan runs (e.g., inside a Docker container or over SSH). It allows the extension to correctly resolve file paths for analysis. ```JSON { "/path/to/hostFolder": "/path/in/dockerContainer" } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.