-
We noticed that since we enabled `staabm/phpstan-dba` in our project, a full PHPStan run without cache takes significantly longer than without it.
Running it with the extension
```
php ./vendor/b…
-
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/…
-
Doctrine supports extra types which can be bound as parameters so it'd be nice if this was supported:
[Doctrine\DBAL\Types\Types](https://github.com/doctrine/dbal/blob/3.3.x/src/Types/Types.php)
…
-
need to figure out a way how we can handle these stub errors and test whether we still need these stub files after all
https://github.com/phpstan/phpstan/issues/8378
I cannot reproduce it yet or…
-
```php
$queries = [ 'SELECT 1' ];
foreach( $queries as $test )
{
$test = $pdo->prepare( $test ); // reusing variable
$test->execute();
}
```
However this doesn't crash:
```php
$test = …
-
I can't reproduce it on demand, but it looks like sometime phpstan-dba can infer a query result type, and 5min later, it fails on the same query.
I have a phpstan error ignored in my phpstan.neon :…
-
error on non literal query strings args
See
- https://github.com/phpstan/phpstan-doctrine/pull/252
- https://github.com/staabm/phpstan-dba/issues/71
———
report any non-simulatable input a…
-
# Bug report
If a parameter accepts a union of arrays, e.g. `array|array`, then I would expect a warning if I pass it an array of unions, e.g. `array`.
My apologies if I'm missing somethin…
-
**Is your feature request related to a problem? Please describe.**
#### Scenario 1:
We have two databases that contain partially the same data because the corresponding systems communicate with each…
bloep updated
5 months ago
-
Hi, given the raise of static analysis tools that can interpret both DQL ([phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine)) and SQL ([phpstan-dba](https://github.com/staabm/phpstan-dba)…