Skip to content

0.2

Pre-release
Pre-release

Choose a tag to compare

@staabm staabm released this 19 Jan 14:47
· 423 commits to main since this release
88e3749

Major Features

  • Doctrine-DBAL 3.x Support
  • Prepared Statement placeholder/bound-value mismatch detection
  • Type inference for aggregate functions
  • Improved type-coverage for more native mysql column types

What's Changed

  • Detect syntax errors in Doctrine\DBAL\Connection::execute*() methods by @staabm in #116
  • doctrine dbal: cover deprecated api by @staabm in #117
  • Added initial Doctrine Dbal type inference by @staabm in #115
  • moved countPlaceholders() and extractNamedPlaceholders() into QueryReflection by @staabm in #118
  • Skip queries containing placeholders in SyntaxErrorInQueryMethodRule by @staabm in #119
  • SyntaxErrorRules: early-return when required arguments are missing by @staabm in #120
  • support phpstan 1.4.x by @staabm in #121
  • Added testcase by @staabm in #124
  • added left join coverage by @staabm in #126
  • Support union-type in type-inferrence by @staabm in #127
  • cover queries across branches by @staabm in #129
  • cover more mysql types by @staabm in #130
  • Unsigned bigint cannot be smaller than 0 by @staabm in #134
  • Added support for aggregate functions by @staabm in #135
  • support conditional errors in queries by @staabm in #136
  • extracted placeholder validation into separate class by @staabm in #137
  • support conditional errors in PDOStatement->execute() analysis by @staabm in #138
  • refactor placeholder validation to ease re-use by @staabm in #139
  • added placeholder validation to SyntaxErrorInPreparedStatementMethodRule by @staabm in #140
  • Support queries with multiple same named placeholder by @staabm in #141
  • Prevent syntax error on query with trailling semicolon by @staabm in #142
  • readme: simplify intro by @staabm in #143
  • make sure placeholders in query-string-data does not interfere with the analysis by @staabm in #145
  • use separate lock-file to prevent race conditions by @staabm in #146
  • prevent unnecessary work in union type queries by @staabm in #147

Full Changelog: 0.1.13...0.2