-
### Bug report
`array_splice` has 2 issues:
- it does not preserve the `list` status of an array passed as argument when inserting new elements in the array, while PHP returns a list in that case:…
-
In the readme I found
> another will hopefully help PHPStan (static analysis tool for PHP) better understand SQL queries and their results
Since I am working on https://github.com/staabm/phpstan-dba…
-
Hi there,
we are using your package to identify TODOs with expired dates. First of all, great package and thanks for making it!
Recently we added a `//todo 2024-09-10` inside an if statement and…
-
### Bug report
With an array built dynamically, PHPStan reports, for any given offset, that it always exists while it might not.
### Code snippet that reproduces the problem
https://phpstan.o…
-
### The Setup
When developing a package, I require in a laravel app and use this in the root composer.json
```
{
...
"require": {
...
"my-company/my-package": "dev-main",
},
…
-
- Testbench Version: 8.23
- Laravel Version: 10.48.10
- PHP Version: 8.1
- Database Driver & Version: MySQL
### Description:
Since *core* v8.24 has been installed, running PHPStan throws conn…
-
The getParameter method in Container.php can return a variety of types (array|bool|string|int|float|\UnitEnum|null). However, RequestBuilder->setHttpHeader() only accepts string values, which causes a…
-
**Bug Description**
I'm not sure if this is a phpat bug or a phpstan bug. I've written the following test, but I'm getting an error, but IMHO this is not a valid error since `AndModifier` implements …
-
### Bug report
This indicates an error in _my_ code, but the crash is unexpected. I'm providing the bug report and stack trace as the PHPStan output requests, but through some quick trial-and-error I…
-
### Feature request
would be great we could get tagged unions in this snippets
https://phpstan.org/r/de0085e1-29c0-4346-849a-79948ec1c385
https://phpstan.org/r/c404d305-0844-4c3e-8ae4-4c92f08fd…