-
# 🐞 bug report
Run a plugin or just phpstan across this project and there will be this php warning.
**Versions**: (*)
- `Freemius SDK Version:` last version
- `WordPress Version:` whatever…
Mte90 updated
3 years ago
-
provide a command to generate a baseline and add it the configuration file.
(Baseline collect errors, put them in a file, then, after including the generate file in the phpstan config, these errors…
-
### Bug Description
Note the issues with `sprintf()` as well as the PHPStan problems:
[![image](https://github.com/user-attachments/assets/4c8f939a-c0fc-48ac-b6e8-9236be045223)](https://github.com…
-
Any ideas? phpstan version is 0.11.19, latest DVWA and oroinc/phpstan-rules from master
> ~/Development/DVWA-master$ phpstan analyze --debug -l 7 -c /home/testdev4/Development/phpstan-rules/rules.neo…
-
### Versions
- Larastan Version: 2.8.0
- Laravel Version: 10.39.0
- PHP Version: 8.2.13
- Legacy Factories Version: 1.3.2
- `--level` used: 8
- Repository: https://github.com/jamiewood678/lar…
-
I want to mark a Doctrine entity $id field that is autogenerated by database engine as `@var positive-int`. However PHPStan complains.
```php
class Entity
{
/**
* @var positive-int|nul…
-
### Feature request
I'd like PHPStan to catch a literal string on its own
e.g.
```
http:
```
https://phpstan.org/r/75263a21-1b5f-4339-88b6-0efff221d973
Syntax check does not detect it.
It …
-
My `composer.json`:
```json
"scripts": {
"phpstan": [
"@php bin/websiteconsole cache:warmup --env=dev",
"@php vendor/bin/phpstan analyze"
],
}
…
-
Hello,
I feel very honored to be the first person to report something here. :-) I hope it will be of use and interest to you, as it is a tight knot I cannot untangle for me. So let's start:
I ha…
-
## Feature Description
The use of `empty()` and `isset( $var )` can mask code problems (e.g. typos). And they rarely need to be used, for example:
* https://www.beberlei.de/post/when_to_use_empt…