Move the visible check to alert banner manager #550
test.yml
on: pull_request
Matrix: tests / Install LocalGov Drupal
Matrix: tests / Coding standards checks
Matrix: tests / Static analysis checks
Matrix: tests / PHPUnit tests
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.
|