llaville / php-compatinfo

Library that find out the minimum version and the extensions required for a piece of code to run
https://llaville.github.io/php-compatinfo/7.1/
Other
371 stars 21 forks source link

Update ParamTypeDeclarationSniff to detect Union types (PHP 8.0) #333

Closed llaville closed 2 years ago

llaville commented 2 years ago

Update ParamTypeDeclarationSniff to detect Union types (PHP 8.0)

llaville commented 2 years ago

Already implemented since v6.0.0 : https://github.com/llaville/php-compatinfo/blame/master/src/Application/Sniffs/FunctionDeclarations/ParamTypeDeclarationSniff.php#L89

Only add unit test missing.