-
The `WP_CLI::error()` method [is marked as an early terminating method](https://github.com/szepeviktor/phpstan-wordpress/blob/f7ff091331bc00c5688fe4ce0c4d51d06fa61553/extension.neon#L155), but it does…
-
I get this when I try to run `composer test` but I can't find anywhere in the PHPStan docs what it thinks I should do instead. I'm sure I'm missing something simple.
-
Basically this is the copy paste from my code: https://phpstan.org/r/19220122-bcf0-49f0-bc85-eba3d1e48b27
I'm using
```php
/**
* @phpstan-var T $service
*/
```
t…
-
# Feature request
When describing an array, you can write
```
array => Reported as an error level 6
array => no errors
array => no errors
```
If I wand to create a similar generic,
```
/…
-
# Bug report
PHPStan is unable to figure out that an empty array creates a type error when I unpack it into a function that has one or more required arguments.
### Code snippet that reproduces t…
Dgame updated
5 months ago
-
Is this supposed to be picked up by phpactor or am I doing it wrong?
-
```php
/** @param callable():void $c */
function foo(callable $c) : void {}
foo(function() : string { return "hello";});
```
Expected: No issue
Actual: Parameter #1 $c of function foo expec…
-
https://psalm.dev/r/83c1a19a7f
-
Hello,
Not sure if this is the right place to ask.
Certain functions do not seem to have any highlighting.
"isset" for example has but "count" for example has not. There are others as well.
Is thi…
-
Any idea on how to allow IDE (PHPStorm?) to autocomplete the 2nd arg for options array, the keys?
```php
$this->hasMany('ADmad/SocialAuth.SocialProfiles', [
'foreignKey' => 'use…