innmind/static-analysis

Meta package to group all dependencies required for innmind packages

Installs: 46 386

Dependents: 46

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

pkg:composer/innmind/static-analysis

1.2.1 2025-02-09 17:12 UTC

This package is auto-updated.

Last update: 2025-10-09 18:36:26 UTC


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>