-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
phpstan/phpstan-src
#431Description
Bug report
The samesite options was restrict to 'None\'|\'Lax\'|\'Strict\', but it should be case insensitive instead.
- The RFC consider every value case insensitively
- It works
- Symfony use lowercase https://github.com/symfony/symfony/blob/5.x/src/Symfony/Component/HttpFoundation/Cookie.php#L22
@ondrejmirtes Is there a way to tell that the constant can be case insensitive or should I change the signature to
\'None\'|\'Lax\'|\'Strict\'|'none\'|\'lax\'|\'strict\' in order to at least works with the most common values ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels