0.1.5
DEMO
see phpstan-dba in action on the DEMO-PR
Major Features
- Reuse the
SyntaxErrorInPreparedStatementMethodRulewithin your PHPStan configuration to detect syntax errors in prepared queries, by registering a service:
services:
-
class: staabm\PHPStanDba\Rules\SyntaxErrorInPreparedStatementMethodRule
tags: [phpstan.rules.rule]
arguments:
classMethods:
- 'My\Connection::preparedQuery'
What's Changed
- BC-Break: mv
PdoStatementExecuteErrorMethodRule->PdoStatementExecuteMethodRuleby @staabm in #76 - readme: added
RuntimeConfigurationuse-statements by @staabm in #75 - simplify SyntaxError Rules by @staabm in #77
- fix
RecordingQueryReflectorfor prepared statements by @staabm in #79 - added configurable
SyntaxErrorInPreparedStatementMethodRuleby @staabm in #78
Full Changelog: 0.1.4...0.1.5