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
待办事项
- 允许禁用断言(提高性能但减少运行时检查)
- 调查模板继承(@extends/@template-extends): https://psalm.dev/docs/annotating_code/templated_annotations/
- 确保Query中的每个方法都在QueryInterface中(而不仅仅是AbstractQuery)并简化测试
- 添加更多测试(静态分析正确性和功能)