domain_robots_txt 8.x-1.1 Drupal 10 deprecation details

Name and release Project type Usage count Top X project by usage Maintainers
domain_robots_txt 8.x-1.1 Module 159 15000 Faibyshev, maacl
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 10compatibility issues
Filter errors
Occurrence in project Sort ascending All occurrences Affected projects Category Error
2 371 69 Drupal API, rector covered Call to deprecated method drupalPostForm() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use $this->submitForm() instead.
2 131 51 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.
1 2990 2566 Info.yml or composer.json Value of core_version_requirement is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
1 3 2 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.
1 644 329 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.
1 56 40 Info.yml or composer.json Add core_version_requirement: ^9 || ^10 to designate that the extension is compatible with Drupal 10. See https://drupal.org/node/3070687.
1 1 1 Other problem Property Drupal​\​Tests​\​domain_robots_txt​\​Functional​\​DomainRobotsTxtAccessTest::$modules property must be protected.
1 2 2 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.
1 1 1 Other problem Property Drupal​\​Tests​\​domain_robots_txt​\​Functional​\​DomainRobotsTxtContentTest::$modules property must be protected.
1 2 2 Drupal API, rector covered Call to deprecated method assertHeader() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.3.0 and is removed from drupal:10.0.0. Use $this->assertSession()->responseHeaderEquals() instead.
1 1 1 Drupal API, rector covered Call to deprecated method getRawContent() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->getSession()->getPage()->getContent() instead.


Results are from dataset #58581 from 2023-12-03T12:36. Report is ran by the Drupal Association regularly.