1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-30 01:00:06 +02:00

Fix missing phpdoc and configure phpstan

This commit is contained in:
Vincent Langlet
2024-02-29 10:19:45 +01:00
parent ba39c13d2b
commit 1ed31f3cdf
10 changed files with 47 additions and 17 deletions

20
phpstan.dist.neon Normal file
View File

@@ -0,0 +1,20 @@
parameters:
level: 4
paths:
- src
exceptions:
check:
missingCheckedExceptionInThrows: true
uncheckedExceptionClasses:
- Intervention\Image\Exceptions\AnimationException
- Intervention\Image\Exceptions\ColorException
- Intervention\Image\Exceptions\DriverException
- Intervention\Image\Exceptions\GeometryException
- Intervention\Image\Exceptions\FontException
- Intervention\Image\Exceptions\InputException
- Intervention\Image\Exceptions\NotSupportedException
- Intervention\Image\Exceptions\NotWritableException
- ImagickException
- ImagickDrawException
- ImagickPixelException
- Error