Skip to content

Releases: staabm/phpstan-dba

0.2.71

05 Apr 08:03
5d759ac
Compare
Choose a tag to compare

Improvements

Misc

Full Changelog: 0.2.70...0.2.71

0.2.70

27 Mar 21:28
de7afb4
Compare
Choose a tag to compare

What's Changed

  • SQL AST: parse expressions with no FROM clause by @hemberger in #590

Full Changelog: 0.2.69...0.2.70

0.2.69

23 Mar 05:45
31c4de9
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.2.68...0.2.69

0.2.68

20 Mar 09:04
7526446
Compare
Choose a tag to compare

What's Changed

  • DoctrineKeyValueStyleRule: properly handle unions by @hemberger in #575
  • Sql AST: avg/min/max/count can get null on empty result sets by @staabm in #579
  • Fix sql ast type inference on raw-sql expression without aliases by @jakubvojacek in #582
  • Expand TypeMapper tests to include mysqli/pgsql by @hemberger in #573

Full Changelog: 0.2.67...0.2.68

0.2.67

16 Mar 09:39
bb2b845
Compare
Choose a tag to compare

What's Changed

  • MysqlTypeMapper: add support for FLOAT types by @hemberger in #572
  • support for cross joins. don't error on joins of subqueries by @jakubvojacek in #569
  • Implement RuntimeConfig->parameterTypeValidation('strict'|'lax') and use it in DoctrineKeyValueStyleRule by @hemberger in #563

Full Changelog: 0.2.66...0.2.67

0.2.66

14 Mar 20:47
364de7e
Compare
Choose a tag to compare

Improvements

  • DoctrineKeyValueStyleRule: improve table error message by @hemberger in #564
  • prevent excessive sql queries in DoctrineKeyValueStyleRule by @staabm in #557

Bleeding Edge / Behind Feature Flag

  • Narrow types via join / join-condition by @staabm in #531
  • SQL AST inference is only supported for mysql backends for now by @staabm in #567

Updates

  • Update tomasvotruba/unused-public requirement from ^0.0.34 to ^0.1.3 by @dependabot in #556
  • Update tomasvotruba/unused-public requirement from ^0.1.3 to ^0.1.7 by @dependabot in #558
  • Update tomasvotruba/unused-public requirement from ^0.1.7 to ^0.1.8 by @dependabot in #565

Full Changelog: 0.2.65...0.2.66

0.2.65

27 Feb 08:55
980fa40
Compare
Choose a tag to compare

What's Changed

  • Create QueryReflection lazily to prevent eager creation of a database connection by @staabm in #554

Full Changelog: 0.2.64...0.2.65

0.2.64

26 Feb 19:22
b7d0f28
Compare
Choose a tag to compare

What's Changed

  • enable phpstan/phpstan-deprecation-rules by @staabm in #544
  • handle optional dependencies in build step by @staabm in #545
  • fix deprecations by @staabm in #546
  • Fix query simulation leading to query error by @staabm in #549
  • Fix another query simulation leading to query error by @staabm in #550
  • error on from table-name create from function-call by @staabm in #459

Full Changelog: 0.2.63...0.2.64

0.2.63

25 Feb 07:43
c64db58
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.2.62...0.2.63

0.2.62

22 Feb 20:31
3c2e2c0
Compare
Choose a tag to compare

What's Changed

  • Prefer inference-placeholder over taint-escape sql by @staabm in #536
  • utilize composer autoloading in tests by @staabm in #537

Full Changelog: 0.2.61...0.2.62