FeatureFlagsBundle
FeatureFlagsBundle copied to clipboard
Symfony2 Bundle to implement Feature Flags to your Application
The Symfony 6.1 requires PHP 8.1+, because of that i create another pull request. Probably will require a different version. This PR depends of https://github.com/DZunke/FeatureFlagsBundle/pull/36
see https://github.com/DZunke/FeatureFlagsBundle/pull/33#issuecomment-1039246805
See https://github.com/DZunke/FeatureFlagsBundle/pull/33#issuecomment-1039246805
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...
Get rid of deprecation notifications?
In case of multiple call to `isActive()` on a flag having `percentage` condition, there is multiple call to `setcookie` function, which can cause error because of too big response header...
Fixes #32