Toon Verwerft
Toon Verwerft
Thanks for reporting @palakaccorin. I cannot reproduce with current information. Can you provide some additional info? - You can run grumphp with the `-vvv` flag. This will give you the...
Thanks for reporting. This should be an easy fix. Do you wanna give it a try? My hunch is that this line is not correct: https://github.com/phpro/grumphp/blob/6c3ca70a9185e76f3e914ddfcbcf4c7f541326a2/src/Parser/Php/Visitor/AbstractVisitor.php#L30
@Slamdunk : that could indeed be a new feature. Currently I did not touch any docblocks. Personally, I am removing these kind of hard to maintain `@param` docblocks since they...
Didn't face any issues regarding to the doblocks. The fixer itself isn't that complex, the hard part was abstracting the logic into generic analyzers. It should be fairly simple to...
> (or `mixed` in case there is no constraint). Mixed is not the correct type here. It should be `never`, since it will never contain a type. That's the only...
I can imagine :) For reference. This is what typescript makes of it: https://www.typescriptlang.org/play?#code/C4TwDgpgBAwg9gOwGYEsDmAeAggPigXigG8AoKcqAJwgEMATRAGxCgA8oB+ALigAoBKAniwkSAXwDcogMaIAzsCgQAtmFABVBAGs4AdwQFikkrIQKlq0ADkIANwiUe8ZOgwI7DvISLHT5lWogWAggToiomDQhXkZSfoqmEQCu1HSGRKw8AkJQAOQAFhCMjHC5xiRISQjSwCiIVFXYOLyJ6JxhLpi4-CSkFFQQwCkGrWgcAHTsHFCjk9k8ubpwlIx0uVJioibyitRySYzAAKKWIJo6+oaUVbwBGtp6CPxxOwP7hyeBNvaUVzd3IG+Dme2zMuwg72Op2CLEI1wQt2hIRB8TeB2AzmSqT+CNGKQgdBBJCAA They fall back to the `unkown` type by default. But using the never type, you get...
In case someone want to play around with this, I made a faling test-suite on how I would see the inferred results here: https://gist.github.com/veewee/3624bd80a4c9d28c4048a8cf51eeb4d5
Thanks!
Thanks for the PR. It looks like there is still an occurence somewhere?
> Yes, it is used in ClientMethodAssembler Can it be replaced by the normalizer in there as well?