Closed gudmdharalds closed 1 year ago
No issues were found to report when scanning latest commit (commit-ID: 4979b47ef54ddcdf1ef3f4a22f5efb25ea7377ba)
This bot provides automated PHP linting and PHPCS scanning. For more information about the bot and available customizations, see our documentation.
Software versions
Options file (
|
PHP lint optionsPHP lint files enabled:
Lint modified files only:
Lint files with file extensions:
Directories not PHP linted:
SVG configurationSVG scanning enabled:
Scan added/modified files with file extensions:
Auto-approval configurationAuto-approvals enabled:
Non-functional changes auto-approved:
Files with file extensions to consider for non-functional change auto-approval:
Auto-approved file-types:
|
PHPCS configurationPHPCS scanning enabled:
PHPCS severity level:
Standard(s) used:
Runtime set:
Scan added/modified files with file extensions:
Custom sniffs included:
Custom sniffs excluded:
Directories not PHPCS scanned:
WPScan API configurationWPScan API scanning enabled:
WPScan API URL:
Directories scanned:
Directories not scanned:
Scan added/modified plugins based on headers present in files with file extensions:
Scan added/modified themes based on headers present in files with file extensions:
|
This pull request updates the "local" slug determination mechanism to better determine slugs for add-ons placed in subdirectories. This should improve WordPress.org add-on detection.
This is accomplished by a change in logic:
vipgoci_wpcore_misc_determine_local_slug()
function is updated to ensure directory name is included in "local" slug only when there are more than two directories in the relative path. This ensures that the "local" slug only contains directory name when there is an add-on directory present and not just the base directory.vipgoci_wpcore_misc_determine_local_slug()
includes a relative file path.Some changes are to make the above possible but also to make the code easier to maintain and understand:
vipgoci_wpcore_misc_scan_directory_for_addons()
to require two parameters instead of one: Parameter for full path to file and a relative git repository path.These changes should lead to better detection of add-ons and cleaner code.
TODO:
Scan run detail
report as applicablePHPDoc
comments are up to date for functions added or altered