Randy Schütt
Randy Schütt
This is just an idea how to add support for composer / php. Since I have no experience with JS, I probably did it poorly. This is the result of...
``` php class Bar { /** * @var string */ public $var_abc = null; /** * @var string */ public $var_xyz = null; /** * @var string */ public $var_foo...
**Is your feature request related to a problem? Please describe.** In a project with many developers in different teams for different parts of the project it is difficult/impossible to use...
# Bug report Maybe related to #7698: Union Type with `match (true)` causes wrong type assumption. ### Code snippet that reproduces the problem https://phpstan.org/r/f5296bb1-399d-48ee-92c1-0c1ae8eb6e45 ### Expected output No error ###...
Consider this piece of code: ```rust use serde_derive::{Serialize, Deserialize}; use serde_json::Value; use std::collections::HashMap; #[derive(Serialize, Deserialize, Debug)] #[serde(rename_all = "PascalCase")] struct Person { name: String, #[serde(flatten)] extra: HashMap, } #[derive(Serialize, Deserialize,...
I am using the latest phan version, but it seems that phan has some problems with templates (unlike phpstan and psalm). I get this error > PhanTypeMismatchDeclaredReturn Doc-block of try...
The following code snippet results in `Cannot unpack array with string keys`, but phan says there is no error: ```php function foo(int ...$is): array { return [...$is]; } foo(...['a' =>...
I wonder if it would be possible to add them. Both return either an int or false.
Hi, great project you have here. I'v read that one of your missing features is the const ref problem: `Hard because, unlike in C++, in D we can't pass a...
# Bug report PHPStan is unable to figure out that an empty array creates a type error when I unpack it into a function that has one or more required...