Skip to content

Introduce environment variables for local vendor directory #2

@jensschuppe

Description

@jensschuppe

Using https://phpstan.org/config-reference#multiple-files with PHP files:

includes can also reference PHP files that can be used to define dynamic configurations, see ignore-by-php-version.neon.php and phpstan.neon as examples.

The phpstan.neon.dist should make use of environment variables for the vendor dir for reliably defining scanDirectories entries for CiviCRM Core and dependencies (e.g. other CiviCRM extensions). The included PHP file should be .gitignored and define local values for the environment variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions