- Issue created by @isholgueras
- Merge request !1255Draft: Issue #3534917: Ignore Core's phpunit deprecations → (Open) created by isholgueras
Pipelines are reporting deprecations that are ignored by Drupal Core.
1) /builds/project/experience_builder/vendor/symfony/deprecation-contracts/function.php:25
Since symfony/validator 7.3: Passing an array of options to configure the "Drupal\Core\Validation\Plugin\Validation\Constraint\NotNullConstraint" constraint is deprecated, use named arguments instead.
Triggered by:
* Drupal\Tests\experience_builder\Kernel\ApiAutoSaveControllerTest::testApiAutoSaveControllerGet (8157 times)
/builds/project/experience_builder/tests/src/Kernel/ApiAutoSaveControllerTest.php:77
* Drupal\Tests\experience_builder\Kernel\ApiAutoSaveControllerTest::testDelete (7843 times)
/builds/project/experience_builder/tests/src/Kernel/ApiAutoSaveControllerTest.php:733
* Drupal\Tests\experience_builder\Kernel\ApiAutoSaveControllerTest::testPost#authorized, with global (8414 times)
/builds/project/experience_builder/tests/src/Kernel/ApiAutoSaveControllerTest.php:301
* Drupal\Tests\experience_builder\Kernel\ApiAutoSaveControllerTest::testPost#authorized, without global (8256 times)
/builds/project/experience_builder/tests/src/Kernel/ApiAutoSaveControllerTest.php:301
* Drupal\Tests\experience_builder\Kernel\ApiAutoSaveControllerTest::testPost#unauthorized, with global (7848 times)
/builds/project/experience_builder/tests/src/Kernel/ApiAutoSaveControllerTest.php:301
* Drupal\Tests\experience_builder\Kernel\ApiAutoSaveControllerTest::testPost#unauthorized, without global (7848 times)
/builds/project/experience_builder/tests/src/Kernel/ApiAutoSaveControllerTest.php:301
And this make review pipelines report a bit more complex.
This issue is to test if it makes sense to ignore it, and if so, how.
Include the core/.deprecations-ignore.txt
in the SYMFONY_DEPRECATIONS_HELPER
to avoid these deprecations in the phpunit reports.
Active
0.0
Code