All Projects → TysonAndre → vscode-php-phan

TysonAndre / vscode-php-phan

Licence: other
Phan - PHP Static Analysis for VS Code

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to vscode-php-phan

Phan
Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.
Stars: ✭ 5,194 (+22482.61%)
Mutual labels:  phan
phan-taint-check-plugin
Github mirror of "mediawiki/tools/phan/SecurityCheckPlugin" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)
Stars: ✭ 21 (-8.7%)
Mutual labels:  phan
CI-Report-Converter
The tool converts different error reporting standards for deep compatibility with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc).
Stars: ✭ 17 (-26.09%)
Mutual labels:  phan

PHP Phan (Analyzer)

Latest Release Installs Rating Build Status Minimum PHP Version Gitter

5.1.0 (2022-11-01)

  • Update Phan from 5.1.0 to 5.4.1
  • See Phan's NEWS for more details.

5.0.0 (2021-08-10)

  • Update Phan from 4.0.7 to 5.1.0
  • See Phan's NEWS for more details.

The full changelog can be found at NEWS.md

Troubleshooting

General troubleshooting advice:

  • By setting phan.enableDebugLog to true (and restarting Phan), you can get extra debug output. Enabling debug output will slow down this extension.

  • After any changes to the phan settings, the language server must be restarted.

  • VSCode has a built in debugger at "Help" > "Toggle Developer Tools" ( "Console" tab) This will let you see this extension's Phan's debug output.

Installing from source

This can be installed locally with the following method:

npm install
npm run build
node node_modules/.bin/vsce package

The generated VSIX file can be used locally with the steps from https://stackoverflow.com/a/38866913

Local changes can also be run locally by checking out vscode-php-phan, running npm install, then running your changes in an Extension Development Host with . See https://code.visualstudio.com/api/get-started/your-first-extension for more details.

Credits

This VS Code extension and many parts of the language server protocol implementation are based on PHP IntelliSense

This uses Phan

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].