-
[tarosky/sports-king](https://github.com/tarosky/sports-king) で採用しているので、それを参考にする。
- neonファイル(設定) https://github.com/tarosky/sports-king/blob/main/phpstan.neon
- スタブを読み込まないとダメ。
- スタブが公開されて…
-
Implement PHPStan:
https://github.com/phpstan/phpstan
_Originally posted by @guru in https://dev.bazaari.com.au/sp-core/core/issues/390#issuecomment-8794_
######## Issue imported from Gitea #######…
-
Where/how can I configure which PhpStan level is being used? What is the default level?
I created a phpstan.neon file at the project root, but it didn't appear to have any effect.
-mike
-
https://www.php.net/manual/en/class.seekableiterator.php
-
### Bug report
Since `1.12.3` (I think) PHPStan reports that some Redis methods have an incorrect case, e.g. `sIsMember`
```
86 Call to method Redis::sismember() with incorrect case: sIsM…
-
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…
-
### Describe the issue
The LambdaClient::invokeAsync method has two type definitions, the second of which appears to be incorrect and overrides the first.
As I understand the SDK, `invokeAsync` sh…
-
Both PhpStan and Psalm allow users to define type aliases:
- PhpStan - https://phpstan.org/writing-php-code/phpdoc-types#local-type-aliases
- Psalm - https://psalm.dev/docs/annotating_code/type_sy…
-
### Bug report
In simple cases, PHPStan is able to recognize when an optional key from an array shape has been set/assigned prior to an access, eliminating the possibility that the key is absent:
…
-
### Bug report
```php
class ApiLimitExceededException extends \Exception
{
protected $message = 'You have exceeded the 300 API calls per minute.';
}
```
leads to
> Property ApiLimitE…