Releases: staabm/phpstan-dba
Releases · staabm/phpstan-dba
0.2.71
Improvements
- Disable duplicate stub validation for now by @staabm in #595
- SQL AST: min/max/avg improvements (#587) by @hemberger in #587
Misc
- Update .gitattributes: fix typo by @hemberger in #591
- .gitattributes: remove diff attribute for cache files by @hemberger in #593
Full Changelog: 0.2.70...0.2.71
0.2.70
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
What's Changed
- DoctrineKeyValueStyeRule: allow int values in float columns by @hemberger in #581
- SQL AST: COUNT cannot return null by @hemberger in #584
- Fix mysql type mapper by @jakubvojacek in #583
- Update symplify/easy-coding-standard requirement from ^11.2 to ^11.3 by @dependabot in #586
Full Changelog: 0.2.68...0.2.69
0.2.68
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
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
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
0.2.64
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
What's Changed
- Add DoctrineKeyValueStyleRule by @hemberger in #529
- implement
REPLACE()
inference by @staabm in #539 - extracted
DBA_MODE
constants by @staabm in #540 - Fix query building with constant assignments by @staabm in #542
- run tests in php 7.2 with lowest by @staabm in #543
Full Changelog: 0.2.62...0.2.63