course 3.x-dev Drupal 10 deprecation details

Name and release Project type Usage count Top X project by usage Maintainers
course 3.x-dev Module 80 10000 djdevin, RayCascella, scottrigby
Status Next step Instructions Drupal.org issues
Fix deprecation errors found Run Rector to fix some errors Some of the errors found are covered by drupal-rector automation (thanks to Palantir.net funding), which should be used to speed up resolving them. Check out the Project Update Bot patch in the issue queue. Get the automated fix committed first and resolve the manual problems afterwards. Drupal 10 compatibility issues
Filter errors
Occurrence in project Sort ascending All occurrences Affected projects Category Error
13 85 29 Info.yml or composer.json Value of core_version_requirement: ^9.3 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
13 901 154 Drupal API, rector covered Call to deprecated method assertResponse() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->statusCodeEquals() instead.
5 74 18 Drupal API, rector covered Call to deprecated method assertLink() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->linkExists() instead.
4 20 7 Drupal API, rector covered Call to deprecated method assertNoFieldById() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->fieldNotExists() or $this->assertSession()->buttonNotExists() or $this->assertSession()->fieldValueNotEquals() instead.
3 30 13 Drupal API, rector covered Call to deprecated method assertNoLink() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->linkNotExists() instead.
2 592 67 Drupal API, rector covered Call to deprecated method assertRaw() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->responseContains() instead.
2 104 23 Drupal API, rector covered Call to deprecated method assertNoRaw() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->responseNotContains() instead.
2 1393 670 Drupal API, rector covered Call to deprecated function drupal_get_path(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Extension​\​ExtensionPathResolver::getPath() instead.
2 41 7 Drupal API, rector covered Call to deprecated method assertFieldById() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->fieldExists() or $this->assertSession()->buttonExists() or $this->assertSession()->fieldValueEquals() instead.
2 5 2 Parse error File devel_generate.fields.inc could not be loaded from module_load_include because devel_generate module is not found.
1 324 151 Drupal API, rector covered Call to deprecated function render(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Render​\​RendererInterface::render() instead.
1 27 10 Drupal API, rector covered Call to deprecated method pass() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. PHPUnit interrupts a test as soon as a test assertion fails, so there is usually no need to call this method. If a test's logic relies on this method, refactor the test.
1 2 2 Parse error File devel_generate.inc could not be loaded from module_load_include because devel_generate module is not found.
1 1 1 Other problem File modules/contrib/course/includes/course.block.inc could not be loaded from module_load_include.
1 1 1 Parse error File uc_product.admin.inc could not be loaded from module_load_include because uc_product module is not found.
1 1 1 Parse error File clone.pages.inc could not be loaded from module_load_include because clone module is not found.
1 1 1 Symfony API Parameter $event of method Drupal​\​course_content​\​EventSubscriber​\​CourseContentEventSubscriber::onRequest() has typehint with deprecated class Symfony​\​Component​\​HttpKernel​\​Event​\​GetResponseEvent: since Symfony 4.3, use RequestEvent instead
1 1 1 Parse error File poll.pages.inc could not be loaded from module_load_include because poll module is not found.
1 1 1 Parse error File quiz.admin.inc could not be loaded from module_load_include because quiz module is not found.
1 1 1 Parse error File quiz_stats.admin.inc could not be loaded from module_load_include because quiz_stats module is not found.
1 1 1 Symfony API Parameter $event of method Drupal​\​course_webform​\​EventSubscriber​\​CourseWebformEventSubscriber::onRequest() has typehint with deprecated class Symfony​\​Component​\​HttpKernel​\​Event​\​GetResponseEvent: since Symfony 4.3, use RequestEvent instead
1 1 1 Symfony API Parameter $event of method Drupal​\​course​\​EventSubscriber​\​CourseEventSubscriber::onRequest() has typehint with deprecated class Symfony​\​Component​\​HttpKernel​\​Event​\​GetResponseEvent: since Symfony 4.3, use RequestEvent instead


Results are from dataset #8389 from 2022-12-04T17:18. Report is ran by the Drupal Association regularly.