-
Notifications
You must be signed in to change notification settings - Fork 23
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
Fix bug when filtering results array #297
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.
phpcs scanning turned up:
🚫 2 errors
This bot provides automated PHP linting and PHPCS scanning. For more information about the bot and available customizations, see our documentation.
Scan run detail
Software versions
Options file (
|
PHP lint optionsPHP lint files enabled:
Lint modified files only:
Directories not PHP linted:
SVG configurationSVG scanning enabled:
Auto-approval configurationAuto-approvals enabled:
Non-functional changes auto-approved:
Auto-approved file-types:
|
PHPCS configurationPHPCS scanning enabled:
PHPCS severity level:
Standard(s) used:
Runtime set:
Custom sniffs included:
Custom sniffs excluded:
Directories not PHPCS scanned:
|
Dismissing review as all inline comments are obsolete by now
Scanning latest commit did not yield any new issues. Please have a look at older feedback still existing (commit-ID: d6bc904) This bot provides automated PHP linting and PHPCS scanning. For more information about the bot and available customizations, see our documentation. Scan run detail
|
Occasionally,
vip-go-ci
will unexpectedly exit with fatal error when thevipgoci_results_filter_comments_to_max()
function is called due to undefined array key (code here):This problem is due to inconsistent usage of the
type
andlevel
fields across different scanning types implemented invip-go-ci
. The problem may appear outside of the named function. The aim of this pull request is to make this usage consistent, and thus resolve the fatal error and possible similar fatal errors in other similar functions.TODO:
vipgoci_results_remove_existing_github_comments()
vipgoci_results_approved_files_comments_remove()
vipgoci_results_filter_comments_to_max()
vipgoci_results_filter_ignorable()