Closed JulienRAVIA closed 10 months ago
Upgrade prettier-php to https://github.com/prettier/plugin-php/releases/tag/v0.19.7 so it allows to configure "phpVersion" (new parameter from https://github.com/prettier/plugin-php/releases/tag/v0.19.5)
Why i did that ? Because, when i commit a file with a PHP8 "style" addition (for this example, union type \ReflectionClass|\ReflectionProperty $reflection in AttributeDriver), the linter does not like it at all.
\ReflectionClass|\ReflectionProperty $reflection
Upgrade prettier-php to https://github.com/prettier/plugin-php/releases/tag/v0.19.7 so it allows to configure "phpVersion" (new parameter from https://github.com/prettier/plugin-php/releases/tag/v0.19.5)
Why i did that ? Because, when i commit a file with a PHP8 "style" addition (for this example, union type
\ReflectionClass|\ReflectionProperty $reflection
in AttributeDriver), the linter does not like it at all.