Skip to content

gpld-limit-year-dropdown-options.php: Added snippet to limit date dropdown year options based on configured min/max. #1621

gpld-limit-year-dropdown-options.php: Added snippet to limit date dropdown year options based on configured min/max.

gpld-limit-year-dropdown-options.php: Added snippet to limit date dropdown year options based on configured min/max. #1621

Triggered via pull request November 6, 2025 04:11
Status Failure
Total duration 19s
Artifacts

php-lint-pr.yml

on: pull_request
PHPCS (Files Changed)
16s
PHPCS (Files Changed)
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 warnings
PHPCS (Files Changed)
Error: Command failed: ./vendor/bin/phpcs --report=checkstyle --standard=phpcs.xml gp-limit-dates/gpld-limit-year-dropdown-options.php
PHPCS (Files Changed): gp-limit-dates/gpld-limit-year-dropdown-options.php#L67
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
PHPCS (Files Changed): gp-limit-dates/gpld-limit-year-dropdown-options.php#L52
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
PHPCS (Files Changed): gp-limit-dates/gpld-limit-year-dropdown-options.php#L45
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
PHPCS (Files Changed): gp-limit-dates/gpld-limit-year-dropdown-options.php#L43
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space