Fix phpstan issues

Created on 27 March 2024, 8 months ago
Updated 10 April 2024, 8 months ago

We are getting a few phpstan / upgrade_status reports for the current version of the module:

Line   src/AnnoyingPopupRepository.php
80     Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call
         \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with TRUE or FALSE to specify whether access should be checked.
         💡 See https://www.drupal.org/node/3201242
Line   src/Form/AnnoyingPopupForm.php
225    Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call
         \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with TRUE or FALSE to specify whether access should be checked.
         💡 See https://www.drupal.org/node/3201242

The 'annoying_popup' library is depending on a deprecated library. The core/js-cookie asset library is deprecated in Drupal 10.1.0 and will be removed in Drupal 11.0.0. There is no replacement. See https://www.drupal.org/node/3322720

📌 Task
Status

Fixed

Version

2.1

Component

Code

Created by

🇩🇪Germany marcoliver Neuss, NRW, Germany

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024