-
As I noted at https://github.com/Lullabot/drainpipe/pull/216, phpstan generally recommends and expects a `.dist` file to be committed to the repo, and `phpstan.neon` to be git ignored. As well, PHPSto…
-
When setting up a new theme there are some common PHPStan things that come up and should be fixed.
-
Add PHPStan configuration and fix code to meet PHPStan requirements
-
### Bug Report
| Q | A
|------------ | ------
| BC Break | no
| Version | 2.19.5
#### Summary
For some complex queries, I use the following pattern in a repository:
`…
-
As per the [documentation](https://php-etl.gitbook.io/docs/extractors/collection), the source in `$etl->extrac` can also be an iterable:
`$etl->extract('collection', $iterable, $options);`
When I …
-
```
aaron main ~ gizra drupal-starter ddev phpstan
PHP Deprecated: mb_encoding_aliases(): Handling Base64 via mbstring is deprecated; use base64_encode/base64_decode instead in phar://…
-
As noted in #143, there should be continuous integration scripts. I added composer scripts to executed PHP lint, static code analysis with PHPStan, and unit tests localed in `tests/` with PHPUnit. To …
-
### Bug report
Adding a false condition in a if remove sometimes the PHPStan assertion inferences.
An easy way to reproduce is adding `|| false`.
I know this is might appear as a useless fix be…
-
#6541 introduced PhpStan and started with level 0 conformance. Now we can increase the rule to further improve the codebase.
Once this is resolved, another issue should be created to bump the rule…
-
### Bug report
I just noticed that https://github.com/phpstan/phpstan-src/pull/2589 doesn't seem to play well with strict rules.
This example without strict rules works: https://phpstan.org/r/618…