Skip to content

Move the visible check to alert banner manager #550

Move the visible check to alert banner manager

Move the visible check to alert banner manager #550

Triggered via pull request August 29, 2024 07:53
Status Failure
Total duration 3m 41s
Artifacts

test.yml

on: pull_request
Matrix: tests / Install LocalGov Drupal
Matrix: tests / Coding standards checks
Matrix: tests / Static analysis checks
Matrix: tests / PHPUnit tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors
tests / Static analysis checks (3.x, ~10.0, 8.3): web/modules/contrib/localgov_alert_banner/src/Entity/AlertBannerEntity.php#L159
Calling sha1() is forbidden, use hash() with at least SHA-256 for secure hash, or password_hash() for passwords.
tests / Static analysis checks (3.x, ~10.0, 8.3): web/modules/contrib/localgov_alert_banner/src/Entity/AlertBannerEntity.php#L159
Calling uniqid() is forbidden, it is not a cryptographically secure generator, use random_bytes() instead.
tests / Static analysis checks (3.x, ~10.0, 8.3)
Process completed with exit code 1.