Problem/Motivation

Let's try fixing those warnings:

1 test triggered 19 deprecations:
1) /builds/project/domain_path/web/core/tests/Drupal/Tests/BrowserTestBase.php:334
Functional/FunctionalJavascript test classes must specify the #[RunTestsInSeparateProcesses] attribute, not doing so is deprecated in drupal:11.3.0 and is throwing an exception in drupal:12.0.0. See https://www.drupal.org/node/3548485
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
2) /builds/project/domain_path/vendor/symfony/deprecation-contracts/function.php:25
Since symfony/validator 7.4: Support for evaluating options in the base Constraint class is deprecated. Initialize properties in the constructor of Drupal\Core\Validation\Plugin\Validation\Constraint\ValidKeysConstraint instead.
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback (24500 times)
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
3) /builds/project/domain_path/vendor/symfony/deprecation-contracts/function.php:25
The "cache.static" service is deprecated in drupal:11.3.0 and is removed from drupal:13.0.0. Use the cache.memory bin instead. See https://www.drupal.org/node/3546856
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback (9 times)
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
4) /builds/project/domain_path/vendor/symfony/deprecation-contracts/function.php:25
The "plugin.manager.archiver" service is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3556927
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback (6 times)
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
5) /builds/project/domain_path/web/core/lib/Drupal/Core/Archiver/ArchiverManager.php:46
Drupal\Core\Archiver\ArchiverManager is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3556927
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback (8 times)
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
6) /builds/project/domain_path/web/core/lib/Drupal/Component/DependencyInjection/Container.php:130
The "cache.static" service is deprecated in drupal:11.3.0 and is removed from drupal:13.0.0. Use the cache.memory bin instead. See https://www.drupal.org/node/3546856
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback (7 times)
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
7) /builds/project/domain_path/web/core/lib/Drupal/Component/DependencyInjection/Container.php:130
The "cache.backend.memory" service is deprecated in drupal:11.3.0 and is removed from drupal:13.0.0. Use cache.backend.memory.memory instead. See https://www.drupal.org/node/3546856
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback (5 times)
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
8) /builds/project/domain_path/web/core/lib/Drupal/Component/DependencyInjection/Container.php:130
The "plugin.manager.archiver" service is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3556927
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback (2 times)
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
9) /builds/project/domain_path/web/core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php:98
Using @EntityType annotation for plugin with ID domain is deprecated and is removed from drupal:13.0.0. Use a Drupal\Core\Entity\Attribute\EntityType attribute instead. See https://www.drupal.org/node/3395575
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
10) /builds/project/domain_path/web/core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php:98
Using @EntityType annotation for plugin with ID domain_path is deprecated and is removed from drupal:13.0.0. Use a Drupal\Core\Entity\Attribute\EntityType attribute instead. See https://www.drupal.org/node/3395575
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
11) /builds/project/domain_path/web/core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php:98
Using @FieldType annotation for plugin with ID domain_path is deprecated and is removed from drupal:13.0.0. Use a Drupal\Core\Field\Attribute\FieldType attribute instead. See https://www.drupal.org/node/3395575
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
12) /builds/project/domain_path/web/core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php:98
Using @Constraint annotation for plugin with ID DomainPathUserAccess is deprecated and is removed from drupal:13.0.0. Use a Drupal\Core\Validation\Attribute\Constraint attribute instead. See https://www.drupal.org/node/3395575
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
13) /builds/project/domain_path/web/core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php:98
Using @Constraint annotation for plugin with ID DomainPathUnique is deprecated and is removed from drupal:13.0.0. Use a Drupal\Core\Validation\Attribute\Constraint attribute instead. See https://www.drupal.org/node/3395575
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
14) /builds/project/domain_path/web/core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php:98
Using @Constraint annotation for plugin with ID DomainPathSlash is deprecated and is removed from drupal:13.0.0. Use a Drupal\Core\Validation\Attribute\Constraint attribute instead. See https://www.drupal.org/node/3395575
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
15) /builds/project/domain_path/web/core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php:98
Using @FieldWidget annotation for plugin with ID domain_path is deprecated and is removed from drupal:13.0.0. Use a Drupal\Core\Field\Attribute\FieldWidget attribute instead. See https://www.drupal.org/node/3395575
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
16) /builds/project/domain_path/web/core/lib/Drupal/Core/Test/HttpClientMiddleware/TestHttpClientMiddleware.php:52
The "cache.static" service is deprecated in drupal:11.3.0 and is removed from drupal:13.0.0. Use the cache.memory bin instead. See https://www.drupal.org/node/3546856
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback (5 times)
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
17) /builds/project/domain_path/web/core/lib/Drupal/Core/Test/HttpClientMiddleware/TestHttpClientMiddleware.php:52
The "cache.backend.memory" service is deprecated in drupal:11.3.0 and is removed from drupal:13.0.0. Use cache.backend.memory.memory instead. See https://www.drupal.org/node/3546856
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback (5 times)
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
18) /builds/project/domain_path/web/core/lib/Drupal/Core/Test/HttpClientMiddleware/TestHttpClientMiddleware.php:52
Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback (5 times)
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
19) /builds/project/domain_path/web/core/lib/Drupal/Core/Test/HttpClientMiddleware/TestHttpClientMiddleware.php:52
Providing template_preprocess_domain_nav_block() is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. Use initial preprocess for template_preprocess instead. See https://www.drupal.org/node/3504125
Triggered by:
* Drupal\Tests\domain_path\Functional\DomainPathFallbackTest::testDomainPathFallback
  /builds/project/domain_path/tests/src/Functional/DomainPathFallbackTest.php:27
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

mably’s picture

Status: Active » Needs review

  • mably committed eddebd03 on 2.x
    task: #3566468 PHPUnit deprecation warnings fixes
    
    By: mably
    
mably’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.