-
After #1262, there are still some files in the root `/tests` directory, which IMO seem a bit misplaced there. Mostly, the existence of the directory could lead to confusion for where tests should be a…
-
# 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 …
-
Hi there,
I often parse things such as API responses or other JSON decoded payloads with the `allow_unknown_fields` parameter set to `true`.
This allows me to be forwards compatible with any field…
-
# Bug report
Since updating to phpstan 0.12.44, the cache dir can not be created when missing.
```
$ /app/vendor/bin/phpstan analyse --level max -c ./settings/phpstan.neon ./src
Cannot create…
-
# Feature request
### Make ConditionalExpressionTypes to work for all expressions
- [x] Use ExpressionTypeHolders for conditions
- [x] Change `addConditionalExpressions` first arg to expr from …
-
-
### Feature request
It doesn't seem like it is possible to use `@phpstan-assert-if-...` on properties, which would be nice in some cases.
I did find it is possible to assert property types based o…
-
You need to downgrade to PHPstan 0.10.x
-
https://github.com/EdgedesignCZ/phpqa
Contains:
- phploc
- phpmetrics
- phpcs
- ..
-
The constructor of `FactoryCollection` has a `@phpstan-param Factory $factory`. Using this constructor is deprecated, and named constructors like `set`, `range` etc. should be used instead. However, t…