Vincent Langlet

Results 102 issues of Vincent Langlet

In the index.d.ts, we have ``` export interface JestSerializer { test: (CommonWrapper: CommonWrapper) => boolean; print: (CommonWrapper: CommonWrapper, serializer: JestSerializer) => string; } export declare function createSerializer(options?: Options): JestSerializer; ```...

bug
PR Welcome

### Bug Report | Q | A |---------------- | ------ | BC Break | no | Bundle version | 1.18.0 | Symfony version | 4.4.26 | PHP version | 7.4...

Bug

# Bug report When a class is declaring some `@phpstan-type` it seems like they cannot be found by phpstan as soon as a stub is declared with some phpdoc in...

bug

# Feature request It could be useful to have phpstan report a possibly division by zero error. Maybe it require to be an option or a strict rule. https://phpstan.org/r/43bf5d53-27c4-4684-81f3-8dddcd805472 It...

feature-request

# Feature request Variable function ``` $foo = 'foo'; $this->$foo() ``` Does not look to be actually checked. You can see here https://phpstan.org/r/ad9416aa-e138-4825-a3f4-2e064955547c ``` call_user_func([$this, $a]); ``` Return an error...

feature-request

# Bug report ### Code snippet that reproduces the problem https://phpstan.org/r/47f2fda9-6973-4d87-bcb5-d1a4f1b5ae5d ### Expected output I expect no errors in this code, to me the both example are similar. ### Did...

# Bug report ### Code snippet that reproduces the problem https://phpstan.org/r/97ceedb3-7f60-48aa-ae99-8a60d8d56736 ### Expected output Since $object is T, get_class($object) is class-string. With the `===` check, I expect `$object2` to be...

bug

# Bug report When using `@method` annotation, phpstan is considering this sometimes like a real information, and sometimes not. ### Code snippet that reproduces the problem https://phpstan.org/r/3bbdfa9c-7e5c-4012-9b4d-4eef446c1f41 ### Expected output...

bug

# Bug report When using unset on a non-empty-array and then checking for the number of element, there is no issue. But if I call unset on an array of...

bug

# Bug report Hi @ondrejmirtes, When a check is done directly in a `if`, phpstan take it in account. When a check is done by creating a boolean variable, which...

bug