demos-europe / edt

Enables your PHP application to expose its entities as REST resources using the feature rich JSON:API specification as API. How and to whom your entities are exposed is highly customizable while minimizing boilerplate code.
MIT License
2 stars 1 forks source link

Include exception checking in phpstan #159

Open joorei opened 3 months ago

joorei commented 3 months ago

Currently phpstan is set to ignore the correct (or incorrect) documentation of possible exceptions in docblocks, as this requires a clear exception concept first. E.g. hierarchy, granularity and nesting depths need to be decided first. Then custom exception classes can be implemented and introduced into the code base and only then it makes sense to enable the corresponding phpstan checks.