innmind / static-analysis
Meta package to group all dependencies required for innmind packages
1.2.1
2025-02-09 17:12 UTC
Requires
- amphp/cache: ^2.0.1
- amphp/dns: ^2.1.2
- amphp/socket: ^2.3.1
- symfony/filesystem: ^7.0.3
- vimeo/psalm: ~6.5
README
This is a meta package to alias all the dependencies required for Innmind packages to run static analysis.
Installation
composer require --dev innmind/static-analysis
Usage
Once the package is required you need to create the file psalm.xml
with the following content:
<?xml version="1.0"?> <psalm errorLevel="1" resolveFromConfigFile="true" findUnusedBaselineEntry="true" findUnusedCode="false" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://getpsalm.org/schema/config" xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" > <projectFiles> <directory name="src" /> <ignoreFiles> <directory name="vendor" /> </ignoreFiles> </projectFiles> </psalm>