Skip to content

PHPUnit test runner deprecations

Running phpunit results in: Tests: 70, Assertions: 1680, PHPUnit Deprecations: 95.

Example deprecation:

Metadata found in doc-comment for class Drupal\Tests\devel_generate\Functional\DevelGenerateBrowserTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

To see all deprecations --display-phpunit-deprecations can be used.

All deprecations There were 95 PHPUnit test runner deprecations:
  1. Metadata found in doc-comment for class Drupal\Tests\devel_generate\Functional\DevelGenerateBrowserTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  2. Metadata found in doc-comment for class Drupal\Tests\devel_generate\Functional\DevelGenerateCommandsTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  3. Metadata found in doc-comment for class Drupal\Tests\devel_generate\Unit\DevelGenerateManagerTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  4. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelCommandsTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  5. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelContainerInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  6. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelControllerTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  7. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelDumperTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  8. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelElementInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  9. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelEntityTypeInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  10. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelErrorHandlerTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  11. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelEventInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  12. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelLayoutInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  13. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelMenuLinksTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  14. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelModulesReinstallTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  15. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelPathAliasTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  16. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelRequirementsTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  17. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelRouteInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  18. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelRouterRebuildTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  19. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelStateEditorTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  20. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelSwitchUserTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  21. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelToolbarTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  22. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelEnforcedDependenciesTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  23. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelEntityToArrayTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  24. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelMailLogTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  25. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelQueryDebugTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  26. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelTwigExtensionTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  27. Metadata found in doc-comment for class Drupal\Tests\devel\Unit\DevelClientSideFilterTableTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  28. Metadata found in doc-comment for method Drupal\Tests\devel\Unit\DevelClientSideFilterTableTest::testGetInfo(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  29. Metadata found in doc-comment for method Drupal\Tests\devel\Unit\DevelClientSideFilterTableTest::testPreRenderTable(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  30. Metadata found in doc-comment for class Drupal\Tests\devel_generate\Functional\DevelGenerateBrowserTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  31. Metadata found in doc-comment for class Drupal\Tests\devel_generate\Functional\DevelGenerateBrowserTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  32. Metadata found in doc-comment for class Drupal\Tests\devel_generate\Functional\DevelGenerateBrowserTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  33. Metadata found in doc-comment for class Drupal\Tests\devel_generate\Functional\DevelGenerateBrowserTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  34. Metadata found in doc-comment for class Drupal\Tests\devel_generate\Functional\DevelGenerateBrowserTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  35. Metadata found in doc-comment for class Drupal\Tests\devel_generate\Functional\DevelGenerateBrowserTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  36. Metadata found in doc-comment for class Drupal\Tests\devel_generate\Functional\DevelGenerateBrowserTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  37. Metadata found in doc-comment for class Drupal\Tests\devel_generate\Functional\DevelGenerateCommandsTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  38. Metadata found in doc-comment for class Drupal\Tests\devel_generate\Functional\DevelGenerateCommandsTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  39. Metadata found in doc-comment for class Drupal\Tests\devel_generate\Functional\DevelGenerateCommandsTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  40. Metadata found in doc-comment for class Drupal\Tests\devel_generate\Functional\DevelGenerateCommandsTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  41. Metadata found in doc-comment for class Drupal\Tests\devel_generate\Functional\DevelGenerateCommandsTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  42. Metadata found in doc-comment for class Drupal\Tests\devel_generate\Functional\DevelGenerateCommandsTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  43. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelCommandsTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  44. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelContainerInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  45. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelContainerInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  46. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelContainerInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  47. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelContainerInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  48. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelContainerInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  49. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelControllerTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  50. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelControllerTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  51. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelDumperTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  52. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelDumperTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  53. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelElementInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  54. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelElementInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  55. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelElementInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  56. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelEntityTypeInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  57. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelEntityTypeInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  58. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelEntityTypeInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  59. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelEntityTypeInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  60. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelErrorHandlerTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  61. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelEventInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  62. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelEventInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  63. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelLayoutInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  64. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelLayoutInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  65. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelLayoutInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  66. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelMenuLinksTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  67. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelMenuLinksTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  68. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelModulesReinstallTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  69. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelPathAliasTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  70. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelRequirementsTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  71. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelRouteInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  72. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelRouteInfoTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  73. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelRouterRebuildTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  74. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelStateEditorTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  75. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelStateEditorTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  76. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelStateEditorTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  77. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelSwitchUserTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  78. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelSwitchUserTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  79. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelSwitchUserTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  80. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelToolbarTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  81. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelToolbarTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  82. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelToolbarTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  83. Metadata found in doc-comment for class Drupal\Tests\devel\Functional\DevelToolbarTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  84. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelEnforcedDependenciesTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  85. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelEntityToArrayTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  86. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelMailLogTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  87. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelMailLogTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  88. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelMailLogTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  89. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelMailLogTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  90. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelQueryDebugTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  91. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelQueryDebugTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  92. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelTwigExtensionTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  93. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelTwigExtensionTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  94. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelTwigExtensionTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

  95. Metadata found in doc-comment for class Drupal\Tests\devel\Kernel\DevelTwigExtensionTest. Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

Edited by Marcin Ścieszka