Vincent Langlet
Vincent Langlet
Solved in https://github.com/google/recaptcha/pull/575, this can be close
@TomasVotruba Isn't this issue closed by https://github.com/rectorphp/rector-src/pull/6923 ?
Recipe would be useful to update gitignore file for example. But providing a [.twig-cs-fixer.dist.php](https://github.com/symfony/recipes-contrib/pull/1696/files#diff-ecb7c9f7faa5beb8f9b73f6a911fd2a734c3ff63233aa5aa94de0aebd96c2d5f) file by default is not needed.
It "works" fine with static method, there is just an extra `Assert references unknown parameter $this.` error. https://phpstan.org/r/30a23a38-23bb-42b9-b17b-20d2ea6b4795 The issue is more the fact you want to refine `get` method...
It's because the array is simplified You're expecting PHPStan to consider the array as ``` array{id: string, bar: array} ``` but it's simplified to ``` non-empty-array ``` Not sure if...
Hi, do you want to try working on a rule ?
You can play with https://github.com/VincentLanglet/Twig-CS-Fixer/blob/main/tests/Token/Tokenizer/TokenizerTest.php to understand how the code is Tokenized. For example `{{ {'foo': 42} }}` is tokenized with tokens of the type - Token::VAR_START_TYPE - Token::WHITESPACE_TYPE -...
What was the issue you were trying to use @staabm rsort seems to handle list/non-empty https://phpstan.org/r/3a1f2bc6-5d8d-4662-937a-f3b10c84fe43 should we close this ? Also param out seems to support conditional https://github.com/phpstan/phpstan-src/blob/d393a1d7f99cb74c42fced0be94e5baf69c40d81/src/Reflection/ResolvedFunctionVariantWithOriginal.php#L89
> @VincentLanglet I think motivation is the comments in [ee737e6#commitcomment-138984141](https://github.com/phpstan/phpstan-src/commit/ee737e6df6cc73c845515ffb863aa5c62b59a34f#commitcomment-138984141) Then I think it can be close because the issue is solved for both rsort and custom method with generic...
Friendly ping @zonuexe, still interested in this PR ? Do you have time to finish it ? Do you look for help ? What is missing ?