orklah / doctrine-typed-results
0.1.4
2020-10-14 18:59 UTC
Requires
- php: ^7.2
- doctrine/collections: ^1.6
- doctrine/orm: ^2.7||^3.0
- doctrine/persistence: ^1.3.6||^2.0
- webmozart/assert: ^1.6
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: ^0.12
- phpstan/phpstan-deprecation-rules: ^0.12
- phpstan/phpstan-doctrine: ^0.12
- phpstan/phpstan-strict-rules: ^0.12
- phpunit/phpunit: ^9.0
- thecodingmachine/phpstan-strict-rules: ^0.12
- vimeo/psalm: ^3.9
- weirdan/doctrine-psalm-plugin: ^0.10 || ^0.11
README
TODO
- Allow disabling assertions (gain performance but reduce runtime checks)
- Investigate on Template inheritance(@extends/@template-extends): https://psalm.dev/docs/annotating_code/templated_annotations/
- make sure every method in Query is in QueryInterface (not only in AbstractQuery) and simplify test
- add more tests (static analysis correctness and functionnality)