You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did patch some code (will provide PR) but still getting deprecation warnings from mocks
Probably the \Prophecy\Doubler\ClassPatch\DisableConstructorPatch::apply() needs changes
OK (6 tests, 154 assertions)
Other deprecation notices (2)
1x:
Double\Drupal\Core\Cache\Context\CacheContextsManager\P1::__construct():
Implicitly marking parameter $container as nullable is deprecated, the
explicit nullable type must be used instead
1x in VariationCacheTest::setUp from Drupal\Tests\Core\Cache
1x:
Double\Drupal\Core\Cache\Context\CacheContextsManager\P1::__construct():
Implicitly marking parameter $contexts as nullable is deprecated, the
explicit nullable type must be used instead
1x in VariationCacheTest::setUp from Drupal\Tests\Core\Cache
The text was updated successfully, but these errors were encountered:
andypost
added a commit
to skilld-labs/prophecy
that referenced
this issue
Apr 30, 2024
I started testing Drupal 11 with PHP 8.4 and faced issues because of https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated
I did patch some code (will provide PR) but still getting deprecation warnings from mocks
Probably the
\Prophecy\Doubler\ClassPatch\DisableConstructorPatch::apply()
needs changesThe text was updated successfully, but these errors were encountered: