Closed (fixed)
Project:
Annoying Popup
Version:
2.1.0
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
27 Mar 2024 at 12:43 UTC
Updated:
10 Apr 2024 at 12:49 UTC
Jump to comment: Most recent
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
Comments
Comment #2
marcoliverComment #3
marcoliverFixed in version 2.2.0.