- Issue created by @ryanrobinson_wlu
- Status changed to Closed: outdated
about 1 year ago 4:12pm 4 April 2024 - πΊπΈUnited States jrockowitz Brooklyn, NY
This deprecation will hopefully get fixed via PHPstan with Reactor
When I run kernel tests, I get these deprecation notices:
Remaining self deprecation notices (12)
11x: Using a translatable string as a category for field type is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. See
https://www.drupal.org/node/3375748 β
4x in WebformSubmissionStorageTest::testPurge from Drupal\Tests\webform\Kernel
1x in WebformSubmissionStorageTest::testStorage from Drupal\Tests\webform\Kernel
1x in WebformConditionTest::testConditions from Drupal\Tests\webform\Kernel
1x in WebformSubmissionEntityTest::testWebformMethods from Drupal\Tests\webform\Kernel\Entity
1x in WebformEntityTest::testWebformMethods from Drupal\Tests\webform\Kernel\Entity
...
1x: The Drupal\Tests\field\Traits\EntityReferenceTestTrait is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Instead, use \Drupal\Tests\field\Traits\EntityReferenceFieldCreationTrait. See
https://www.drupal.org/node/3401941 β
1x in KernelTestSuite::suite from Drupal\Tests\TestSuites
Other deprecation notices (9)
9x: system_time_zones() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. This function is no longer used in Drupal core. Use \Drupal\Core\Datetime\TimeZoneFormHelper::getOptionsList(), \Drupal\Core\Datetime\TimeZoneFormHelper::getOptionsListByRegion() or \DateTimeZone::listIdentifiers() instead. See
https://www.drupal.org/node/3023528 β
4x in WebformSubmissionStorageTest::testPurge from Drupal\Tests\webform\Kernel
1x in WebformSubmissionStorageTest::testStorage from Drupal\Tests\webform\Kernel
1x in WebformSubmissionEntityTest::testWebformMethods from Drupal\Tests\webform\Kernel\Entity
1x in WebformEntityTest::testWebformMethods from Drupal\Tests\webform\Kernel\Entity
1x in WebformEntityTest::testPaths from Drupal\Tests\webform\Kernel\Entity
...
Run phpunit --testsuite="kernel" --group="webform"
Closed: outdated
6.2
Code
This deprecation will hopefully get fixed via PHPstan with Reactor