Related problems - [x] https://github.com/staabm/phpstan-dba/issues/106#issuecomment-1014785550 - [x] https://github.com/staabm/phpstan-dba/issues/122 - [ ] https://github.com/staabm/phpstan-dba/blob/cac63a658c777715037f6e9a987df3a96b847328/src/QueryReflection/QuerySimulation.php#L87-L92 - [ ] make test of https://github.com/staabm/phpstan-dba/pull/153 pass, without non-SELECT optout workaround - [ ] https://github.com/staabm/phpstan-dba/pull/172 - [x] https://github.com/staabm/phpstan-dba/issues/175 - [x] https://github.com/staabm/phpstan-dba/pull/244 - [x] https://github.com/staabm/phpstan-dba/issues/248 - [ ] https://github.com/staabm/phpstan-dba/pull/65 - [x] https://github.com/staabm/phpstan-dba/issues/279 - [ ] https://github.com/staabm/phpstan-dba/issues/292 - [ ] https://github.com/staabm/phpstan-dba/issues/297 - [x] https://github.com/staabm/phpstan-dba/issues/309 https://github.com/phpmyadmin/sql-parser https://github.com/greenlion/PHP-SQL-Parser
Related problems
phpstan-dba/src/QueryReflection/QuerySimulation.php
Lines 87 to 92 in cac63a6
count()Should be inferred as a0|positive-int#248IN()and empty-array #292IS NULL#297min(),max(),avg()inference #309https://github.com/phpmyadmin/sql-parser
https://github.com/greenlion/PHP-SQL-Parser