Issues reported by phpstan
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3570932. -->
Reported by: [bluegeek9](https://www.drupal.org/user/1286304)
Related to !27 !25
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<pre> ------ ---------------------------------------------------------------- <br> Line knowledge.install <br> ------ ---------------------------------------------------------------- <br> 506 Call to deprecated method loadRevision() of interface <br> Drupal\Core\Entity\EntityStorageInterface: <br> in drupal:10.1.0 and is removed from drupal:11.0.0. Use <br> \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision <br> instead. <br> ------ ---------------------------------------------------------------- <br> ------ --------------------------------------------------------------------- <br> Line tests/src/Functional/KnowledgeCacheTagsTest.php <br> ------ --------------------------------------------------------------------- <br> 74 Call to static method createBundle() on an unknown class <br> Drupal\entity_test\EntityTestHelper. <br> 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols <br> ------ --------------------------------------------------------------------- <br> ------ --------------------------------------------------------------------- <br> Line tests/src/Functional/KnowledgeNonNodeTest.php <br> ------ --------------------------------------------------------------------- <br> 72 Call to static method createBundle() on an unknown class <br> Drupal\entity_test\EntityTestHelper. <br> 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols <br> 504 Call to static method createBundle() on an unknown class <br> Drupal\entity_test\EntityTestHelper. <br> 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols <br> 528 Call to static method createBundle() on an unknown class <br> Drupal\entity_test\EntityTestHelper. <br> 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols <br> ------ --------------------------------------------------------------------- <br> ------ --------------------------------------------------------------------- <br> Line tests/src/Functional/Rest/KnowledgeResourceTestBase.php <br> ------ --------------------------------------------------------------------- <br> 99 Call to static method createBundle() on an unknown class <br> Drupal\entity_test\EntityTestHelper. <br> 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols <br> ------ --------------------------------------------------------------------- </pre><h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue
GitLab AI Context
Project: project/knowledge
Instance: https://git.drupalcode.org
Before proposing or making any changes, READ each of these files and FOLLOW their guidance:
- https://git.drupalcode.org/project/knowledge/-/raw/8.x-1.x/README.md — project overview and setup
Repository: https://git.drupalcode.org/project/knowledge
Required tooling — use and recommend these in your workflow:
- GitLab CLI (glab): create branches and open merge requests from the terminal. https://gitlab.com/api/v4/projects/34675721/repository/files/README.md/raw?ref=HEAD