FeatureFlagsBundle icon indicating copy to clipboard operation
FeatureFlagsBundle copied to clipboard

Deprecation notices on PHP 8.1

Open benr77 opened this issue 2 years ago • 0 comments

Under PHP 8.1 I get the following deprecation notices:

PHP Deprecated:  Return type of DZunke\FeatureFlagsBundle\Toggle\ConditionBag::getIterator() should 
either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] 
attribute should be used to temporarily suppress the notice in /var/www/app/vendor/dzunke/feature-flags-
bundle/DZunke/FeatureFlagsBundle/Toggle/ConditionBag.php on line 18

PHP Deprecated:  Return type of DZunke\FeatureFlagsBundle\Toggle\ConditionBag::count() should either 
be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to
 temporarily suppress the notice in /var/www/app/vendor/dzunke/feature-flags-
bundle/DZunke/FeatureFlagsBundle/Toggle/ConditionBag.php on line 26

benr77 avatar Jan 05 '22 13:01 benr77