Deprecations detected with phpunit 12
-
/app/vendor/doctrine/deprecations/src/Deprecation.php:208 Class "Doctrine\ORM\Proxy\Autoloader" is deprecated. Use native lazy objects instead. (Autoloader.php:74 called by DoctrineBundle.php:130, https://github.com/doctrine/orm/pull/12005, package doctrine/orm)
-
/app/vendor/doctrine/deprecations/src/Deprecation.php:208 Access to ClassMetadata::$reflFields is deprecated and will be removed in Doctrine ORM 4.0. (LegacyReflectionFields.php:59 called by ClassMetadata.php:599, https://github.com/doctrine/orm/pull/11659, package doctrine/orm)
Triggered by: q
-
App\Tests\Serializer\Normalizer\RelatedCollectionLinkNormalizerTest::testHandlesDecoratedNormalizerReturningAnIRIString /app/tests/Serializer/Normalizer/RelatedCollectionLinkNormalizerTest.php:120
-
App\Tests\Serializer\Normalizer\RelatedCollectionLinkNormalizerTest::testNormalizeDoesntReplaceWhenEmptyFiltersArray /app/tests/Serializer/Normalizer/RelatedCollectionLinkNormalizerTest.php:283
-
App\Tests\Serializer\Normalizer\RelatedCollectionLinkNormalizerTest::testNormalizeDoesntReplaceWhenFilterDoesntApplyToMappedProperty /app/tests/Serializer/Normalizer/RelatedCollectionLinkNormalizerTest.php:261
- https://github.com/ecamp/ecamp3/pull/8182
--
-
App\Tests\Validator\Period\AssertNotOverlappingWithOtherPeriodsValidatorTest::testRejectsOverlappingPeriodsIfHitsPeriodEnd /app/tests/Validator/Period/AssertNotOverlappingWithOtherPeriodsValidatorTest.php:130
-
App\Tests\Validator\Period\AssertNotOverlappingWithOtherPeriodsValidatorTest::testRejectsOverlappingPeriodsIfHitsPeriodStart /app/tests/Validator/Period/AssertNotOverlappingWithOtherPeriodsValidatorTest.php:122
- /app/vendor/symfony/deprecation-contracts/function.php:25 Since api-platform/symfony 4.1.0: In API Platform 5.0, the kernel will not always be booted when a new client is created (see https://github.com/api-platform/core/issues/6971).
- https://github.com/ecamp/ecamp3/pull/8183
Triggered by:
-
App\Tests\Api\Activities\CreateActivityTest::testCreateActivityAllowsEmbeddingScheduleEntries (7 times) /app/tests/Api/Activities/CreateActivityTest.php:407
-
App\Tests\Api\Activities\CreateActivityTest::testCreateActivityAllowsMissingLocation (7 times) /app/tests/Api/Activities/CreateActivityTest.php:256
-
App\Tests\Api\Activities\CreateActivityTest::testCreateActivityCleansForbiddenCharactersFromLocation (7 times) /app/tests/Api/Activities/CreateActivityTest.php:311
--
-
App\Tests\Validator\Period\AssertNotOverlappingWithOtherPeriodsValidatorTest::testRejectsOverlappingPeriodsIfHitsPeriodEnd (7 times) /app/tests/Validator/Period/AssertNotOverlappingWithOtherPeriodsValidatorTest.php:130
-
App\Tests\Validator\Period\AssertNotOverlappingWithOtherPeriodsValidatorTest::testRejectsOverlappingPeriodsIfHitsPeriodStart (7 times) /app/tests/Validator/Period/AssertNotOverlappingWithOtherPeriodsValidatorTest.php:122
- /app/vendor/symfony/deprecation-contracts/function.php:25 Since symfony/property-info 7.3: The "Symfony\Component\PropertyInfo\Type" class is deprecated. Use "Symfony\Component\TypeInfo\Type" class from "symfony/type-info" instead.
Triggered by:
-
App\Tests\Api\Activities\CreateActivityTest::testCreateActivityAllowsEmbeddingScheduleEntries /app/tests/Api/Activities/CreateActivityTest.php:407
-
App\Tests\Api\Activities\CreateActivityTest::testCreateActivityAllowsMissingLocation /app/tests/Api/Activities/CreateActivityTest.php:256
-
App\Tests\Api\Activities\CreateActivityTest::testCreateActivityCleansForbiddenCharactersFromLocation /app/tests/Api/Activities/CreateActivityTest.php:311
--
-
App\Tests\Validator\Period\AssertNotOverlappingWithOtherPeriodsValidatorTest::testRejectsOverlappingPeriodsIfHitsPeriodEnd /app/tests/Validator/Period/AssertNotOverlappingWithOtherPeriodsValidatorTest.php:130
-
App\Tests\Validator\Period\AssertNotOverlappingWithOtherPeriodsValidatorTest::testRejectsOverlappingPeriodsIfHitsPeriodStart /app/tests/Validator/Period/AssertNotOverlappingWithOtherPeriodsValidatorTest.php:122
- /app/vendor/symfony/deprecation-contracts/function.php:25 Since symfony/security-http 7.3: Implementing "App\Entity\User::eraseCredentials()" is deprecated since Symfony 7.3; add the #[\Deprecated] attribute on the method to signal its either empty or that you moved the logic elsewhere, typically to the "__serialize()" method.
Triggered by:
-
App\Tests\Api\Activities\CreateActivityTest::testCreateActivityAllowsEmbeddingScheduleEntries (5 times) /app/tests/Api/Activities/CreateActivityTest.php:407
-
App\Tests\Api\Activities\CreateActivityTest::testCreateActivityAllowsMissingLocation (5 times) /app/tests/Api/Activities/CreateActivityTest.php:256
-
App\Tests\Api\Activities\CreateActivityTest::testCreateActivityCleansForbiddenCharactersFromLocation (5 times) /app/tests/Api/Activities/CreateActivityTest.php:311
The deprecation don't appear anymore. We have to reconfigure phpunit again to log the deprecations.