phpstan-dba
phpstan-dba copied to clipboard
re-validate test coverage
it seems since introducing pdo-pgsql we missed a bit of testcoverage
- rule tests seem to only exist for pdo-mysql and mysqli, but non for pgsql
- double check test-cases which use
$this->markTestSkipped(...)for certain cases, to make sure we don't miss feature coverage for one of the drivers (in which it might even work already, but just not covered by tests)
@p4veI @xPaw @marmichalski maybe thats something one of you guys are interessted in working on?
I'll try to take a look
next step would be merging testsuites of Mysqli and PDO in case the same unit is tested, e.g.
SyntaxErrorInQueryMethodSubclassedRuleMysqliReflectorTest and SyntaxErrorInQueryMethodSubclassedRulePdoReflectorTest
similar to what I did in https://github.com/staabm/phpstan-dba/pull/386/
same is true for all other rule tests, where we have a Pdo* and Mysqli* variant, but testing the very same Rule-class
I would prefer a new PR per unit beeing tested