potx 1.x-dev Drupal 10 deprecation details

Name and release Project type Usage count Top X project by usage Maintainers
potx 1.x-dev Module 761 10000 fmitchell, Gábor Hojtsy, herom, [email protected], penyaskito, ray007, SebCorbin
Status Next step Instructions
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.
Filter errors
Occurrence in project Sort ascending All occurrences Affected projects Category Error
9 26 4 Drupal API, rector covered Call to deprecated method assert() of class Drupal​\​KernelTests​\​KernelTestBase. Deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. Use $this->assertTrue() instead.
7 7 1 Twig API Fetching class constant PUNCTUATION_TYPE of deprecated class Twig_Token: since Twig 2.7, use "Twig​\​Token" instead
6 10 2 Twig API Fetching class constant STRING_TYPE of deprecated class Twig_Token: since Twig 2.7, use "Twig​\​Token" instead
4 4 1 Twig API Fetching class constant NAME_TYPE of deprecated class Twig_Token: since Twig 2.7, use "Twig​\​Token" instead
2 1650 793 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 5071 4237 Info.yml or composer.json Value of core_version_requirement: ^8 || ^9 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
2 16 10 Other problem Calls to function fnmatch should not exist.
2 2 1 Twig API Fetching class constant VAR_START_TYPE of deprecated class Twig_Token: since Twig 2.7, use "Twig​\​Token" instead
1 532 54 Drupal API, rector covered Call to deprecated method assertEqual() of class Drupal​\​KernelTests​\​KernelTestBase. Deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. Use $this->assertEquals() instead.
1 7 5 Drupal API, rector covered Call to deprecated method pass() of class Drupal​\​KernelTests​\​KernelTestBase. 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 1 1 Twig API Fetching class constant OPERATOR_TYPE of deprecated class Twig_Token: since Twig 2.7, use "Twig​\​Token" instead
1 1 1 Twig API Fetching class constant VAR_END_TYPE of deprecated class Twig_Token: since Twig 2.7, use "Twig​\​Token" instead
1 1 1 Twig API Fetching class constant BLOCK_START_TYPE of deprecated class Twig_Token: since Twig 2.7, use "Twig​\​Token" instead
1 1 1 Twig API Parameter $stream of function _potx_process_twig_t_filter() has typehint with deprecated class Twig_TokenStream: since Twig 2.7, use "Twig​\​TokenStream" instead
1 1 1 Twig API Parameter $token of function _potx_process_twig_t_filter() has typehint with deprecated class Twig_Token: since Twig 2.7, use "Twig​\​Token" instead
1 1 1 Twig API Parameter $stream of function _potx_process_twig_trans_tag() has typehint with deprecated class Twig_TokenStream: since Twig 2.7, use "Twig​\​TokenStream" instead
1 1 1 Twig API Fetching class constant TEXT_TYPE of deprecated class Twig_Token: since Twig 2.7, use "Twig​\​Token" instead


Results are from dataset #143 from 2022-08-14T12:03. Report is ran by the Drupal Association regularly.