-
Notifications
You must be signed in to change notification settings - Fork 60
Updated rules for phpcs security audit #1261
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
base: release-candidate
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,8 @@ | |
"phpstan/phpstan": "^1.11", | ||
"php-stubs/generator": "^0.8.4", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What: Consider providing a brief note on the necessity of adding the Why: Documentation is key for team collaboration and future reference. It helps maintain clarity on why certain packages are included, especially for security-related tools. How: You might add a comment above the new package entry in |
||
"php-stubs/wordpress-stubs": "^6.5", | ||
"szepeviktor/phpstan-wordpress": "^1.3" | ||
"szepeviktor/phpstan-wordpress": "^1.3", | ||
"pheromone/phpcs-security-audit": "^2.0" | ||
}, | ||
"scripts": { | ||
"format": "phpcbf", | ||
|
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.
What: Ensure that the update of the
composer.json
does not conflict with existing packages or introduce any versioning issues.Why: Maintaining compatibility between various packages is crucial to avoid runtime errors or dependency conflicts that may arise during installation.
How: Review the currently installed versions and check for compatibility with the
pheromone/phpcs-security-audit
package. Runningcomposer validate
before merging could also help identify any issues.