-
### Bug report
Since v1.10.36 the following code reporting that
> Method HelloWorld::sayHello() should return T of (Ia&Ib)|(Ic&Id) but returns A|T of Ic&Id.
> Type A is not always the same as T.…
-
### Bug report
The function `fread` expects a positive integer (0, max) as second value. If I define a variable as int either explicitly or implicitly but perform range checks in code, phpstan does…
-
https://psalm.dev/r/80114d436d
psalm expects DatagridInterface
but IMHO, DatagridInterface should be expected (and is provided)
-
Hi, we are using PHPStan and we have lot of tests analysed by phpstan, with data providers, that looks like this:
```php
yield [
[
'a' => '1',
'b' => '0',
],
];
```
…
-
# Bug report
Instantiating an interface shouldn't be treated as a side-effect-free.
### Code snippet that reproduces the problem
https://phpstan.org/r/c5f469ab-1244-47e3-8af6-668f5b…
-
# Feature request
In some cases (e.g. gitlab with runners) the relative path of the files to be analysed is the same but the absolute path changes and this causes the cache to be invalid. Would it …
-
per https://github.com/phpstan/phpstan/issues/9072 and https://3v4l.org/SrVYE it seems sprintf supports a `%lu` modifier.
it is not mentioned at the doc page though
https://www.php.net/manual/en/f…
-
Hello @staabm
I created the dibi return extension which returns `array{...}` for fetch and `array` for `fetchAll()`.
However, by default, dibi returns not array but `\Dibi\Row` (https://github.…
-
`wp_insert_post()` is expecting slashed data. So I'm used to prepare data passed to `wp_insert_post()` and `wp_update_post()` with `wp_slash()`.
Here is a small sample to demonstrate the issue:
```p…
-
is it planned to support newer php versions?
At the moment deprecated warnings makes it phpLDAPadmin unusable:
```
Creation of dynamic property page::$index is deprecated
PHP Debug Backtrace
Fi…