-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Ignore development-only packages in security check #229
base: main
Are you sure you want to change the base?
Ignore development-only packages in security check #229
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me. Thanks @fredden!
🤔 Hmm... based on the build on your fork, this doesn't solve it for PHP 5.4...? Composer still creates the |
I've updated the check command to use the actually-installed packages instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. Looks like checking the installed.json
file is an undocumented option.
Also noticed that the Local security checker package is now deprecated in favour of the composer audit
command.
We should probably update this workflow to use that once support for PHP < 7.2 has been dropped (issue #221).
It turns out that this checker tool also has a |
Proposed Changes
Only perform security check on actual dependencies / ignore development-only dependencies for this check.
Related Issues
#228 (comment)