charonlab / static-analysis
Static analysis utilities for charon packages.
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/charonlab/static-analysis
Requires
- php: >=8.1
- vimeo/psalm: ^6.x-dev
This package is auto-updated.
Last update: 2025-09-24 12:56:41 UTC
README
Installation
Use the composer to install:
composer require --dev charonlab/static-analysis
Usage
Psalm
Create a psalm.xml
file, below is a sample configuration.
<?xml version="1.0"?> <psalm xmlns="https://getpsalm.org/schema/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" errorLevel="2" hoistConstants="true" findUnusedPsalmSuppress="true" findUnusedVariablesAndParams="true" ensureArrayStringOffsetsExist="true" addParamDefaultToDocblockType="true" findUnusedBaselineEntry="true" findUnusedCode="false" > <projectFiles> <directory name="src"/> <ignoreFiles> <directory name=".github"/> <directory name="vendor"/> </ignoreFiles> </projectFiles> </psalm>
Support
License
The MIT License (MIT). Please see License for more information.