Overview
The phpunit (next major)
CI job is green, but reports a number of PHPUnit deprecations:
Time: 02:09.003, Memory: 43.45 MB
9 tests triggered 45 PHPUnit deprecations:
1) Drupal\Tests\experience_builder\Kernel\Config\DefaultFieldValueTest::testDefaultFieldValue
Data Provider method Drupal\Tests\experience_builder\Kernel\Config\DefaultFieldValueTest::providerDefaultFieldValue() is not static
/builds/project/experience_builder/tests/src/Kernel/Config/DefaultFieldValueTest.php:62
2) Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test with data set "empty component tree" ([[]], [], [[]], [], '')
* Providing invalid named argument $tree structure for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $props values for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected value for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected renderable for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected HTML for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $tree structure for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $props values for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected value for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected renderable for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected HTML for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
/builds/project/experience_builder/tests/src/Kernel/DataType/ComponentTreeHydratedTest.php:34
3) Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test with data set "simplest component tree without nesting" ([[['uuid-in-root', 'xb_test_sdc:props-no-slots'], ['uuid-in-root-another', 'xb_test_sdc:props-no-slots']]], [[['static:field_item:string', 'Hello, world!', 'ℹ︎string␟value']], [['static:field_item:string', 'Hello, another world!', 'ℹ︎string␟value']]], [[['xb_test_sdc:props-no-slots', ['Hello, world!']], ['xb_test_sdc:props-no-slots', ['Hello, another world!']]]], [[['component', 'xb_test_sdc:props-no-slots', ['Hello, world!']], ['component', 'xb_test_sdc:props-no-slots', ['Hello, another world!']]]], '<div data-component-id="xb_t...div>\n')
* Providing invalid named argument $tree structure for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $props values for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected value for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected renderable for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected HTML for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $tree structure for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $props values for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected value for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected renderable for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected HTML for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
/builds/project/experience_builder/tests/src/Kernel/DataType/ComponentTreeHydratedTest.php:34
4) Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test with data set "simplest component tree with nesting" ([[['uuid-in-root', 'xb_test_sdc:props-slots']], [[['uuid-in-slot', 'xb_test_sdc:props-no-slots']]]], [[['static:field_item:string', 'Hello, world!', 'ℹ︎string␟value']], [['static:field_item:string', 'Hello, from a slot!', 'ℹ︎string␟value']]], [[['xb_test_sdc:props-slots', ['Hello, world!'], [[['xb_test_sdc:props-no-slots', ['Hello, from a slot!']]]]]]], [[['component', 'xb_test_sdc:props-slots', ['Hello, world!'], [[['component', 'xb_test_sdc:props-no-slots', ['Hello, from a slot!']]]]]]], '<div data-component-id="xb_t...div>\n')
* Providing invalid named argument $tree structure for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $props values for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected value for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected renderable for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected HTML for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $tree structure for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $props values for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected value for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected renderable for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected HTML for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
/builds/project/experience_builder/tests/src/Kernel/DataType/ComponentTreeHydratedTest.php:34
5) Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test with data set "component tree with complex nesting" ([[[['uuid-level-1', 'xb_test_sdc:props-slots']]], [[['uuid-level-3', 'xb_test_sdc:props-no-slots'], ['uuid-last-in-tree', 'xb_test_sdc:props-no-slots']]], [[['uuid-level-2', 'xb_test_sdc:props-slots']]], [['uuid-in-root', 'xb_test_sdc:props-slots']]], [[['static:field_item:string', 'Hello, world!', 'ℹ︎string␟value']], [['static:field_item:string', 'Hello, from slot level 3!', 'ℹ︎string␟value']], [['static:field_item:string', 'Hello, from slot level 1!', 'ℹ︎string␟value']], [['static:field_item:string', 'Hello, from slot <LAST ONE>!', 'ℹ︎string␟value']], [['static:field_item:string', 'Hello, from slot level 2!', 'ℹ︎string␟value']]], [[['xb_test_sdc:props-slots', ['Hello, world!'], [[['xb_test_sdc:props-slots', ['Hello, from slot level 1!'], [[['xb_test_sdc:props-slots', ['Hello, from slot level 2!'], [[['xb_test_sdc:props-no-slots', ['Hello, from slot level 3!']], ['xb_test_sdc:props-no-slots', ['Hello, from slot <LAST ONE>!']]]]]]]]]]]]], [[['component', 'xb_test_sdc:props-slots', ['Hello, world!'], [[['component', 'xb_test_sdc:props-slots', ['Hello, from slot level 1!'], [[['component', 'xb_test_sdc:props-slots', ['Hello, from slot level 2!'], [[['component', 'xb_test_sdc:props-no-slots', ['Hello, from slot level 3!']], ['component', 'xb_test_sdc:props-no-slots', ['Hello, from slot <LAST ONE>!']]]]]]]]]]]]], '<div data-component-id="xb_t...div>\n')
* Providing invalid named argument $tree structure for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $props values for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected value for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected renderable for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected HTML for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $tree structure for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $props values for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected value for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected renderable for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
* Providing invalid named argument $expected HTML for method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeHydratedTest::test() is deprecated and will not be supported in PHPUnit 11.0.
/builds/project/experience_builder/tests/src/Kernel/DataType/ComponentTreeHydratedTest.php:34
6) Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeStructureTest::testValidation
Data Provider method Drupal\Tests\experience_builder\Kernel\DataType\ComponentTreeStructureTest::providerValidation() is not static
/builds/project/experience_builder/tests/src/Kernel/DataType/ComponentTreeStructureTest.php:37
7) Drupal\Tests\experience_builder\Kernel\Plugin\Field\FieldType\ComponentTreeItemTest::testInvalidField
Data Provider method Drupal\Tests\experience_builder\Kernel\Plugin\Field\FieldType\ComponentTreeItemTest::providerInvalidField() is not static
/builds/project/experience_builder/tests/src/Kernel/Plugin/Field/FieldType/ComponentTreeItemTest.php:152
8) Drupal\Tests\experience_builder\Unit\PropExpressionTest::testToString
Data Provider method Drupal\Tests\experience_builder\Unit\PropExpressionTest::provider() is not static
/builds/project/experience_builder/tests/src/Unit/PropExpressionTest.php:45
9) Drupal\Tests\experience_builder\Unit\PropExpressionTest::testFromString
Data Provider method Drupal\Tests\experience_builder\Unit\PropExpressionTest::provider() is not static
/builds/project/experience_builder/tests/src/Unit/PropExpressionTest.php:52
OK, but there were issues!
Tests: 159, Assertions: 781, Deprecations: 9, Skipped: 5.
— https://git.drupalcode.org/project/experience_builder/-/jobs/2367130
(None of these deprecations are triggered when tested against Drupal 10.x
: https://git.drupalcode.org/project/experience_builder/-/jobs/2367126)
Proposed resolution
Fix all of them.
User interface changes
None.