Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activate composer audit by default (instead of roave security advisories) #12

Merged
merged 1 commit into from
May 17, 2024

Conversation

veewee
Copy link
Contributor

@veewee veewee commented May 16, 2024

See https://php.watch/articles/composer-audit

Composer audit works in a less blocking way than roave/security-advisories.
It can be used on all of our local development setups by default without having additional dependencies.

Changed:

  • Moved to composer audit instead of roave/security advisories
  • Enabled security check by default now that it does not require an additional 3rd party package.

Make sure you are on composer >2.4:

kevin composer self-update --stable

(Or upgrade to your latest PHP image with kevin pull)

You might want to avoid failing on usage of deprecated packages (if for example your framework relies on them):

// composer.json

{
    "config": {
        "audit": {
            "abandoned": "report"
        }
    }
}

@veewee veewee merged commit 91751d4 into phpro:main May 17, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant