Skip to content

Default gitignore excludes required file #14

@michaelwood

Description

@michaelwood

With the default .gitignore file https://github.com/dxw/wordpress-plugin-template/blob/main/.gitignore#L72 we exclude *xml* paths. This is quite broad and I'm not sure it's needed?

Unfortunately this makes accidentally not including the required psalm.xml file rather easy to miss if it's then inside another git repository (work around git add ./psalm.xml -f ). Without doing this, a mismatch between CI and local is easy to miss resulting in psalm erroring:

Config not found for path /home/runner/work/your-project-here/wp-content/plugins/your-plugin-here
Error: Process completed with exit code 1.

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