Giaco Corsiglia

Results 6 comments of Giaco Corsiglia

I agree this issue should be fixed in the stubs, although I appreciate you sharing your workaround @szepeviktor. The solution will probably be to automatically replace: ``` function apply_filters($value, $args)...

That's an interesting thought @Flimm, I didn't realize Psalm did that. The stubs generator currently ignores anything inside `function foo() {}`. I guess the thing to do would be to:...

Definitely doable with [PHP-Parser](https://github.com/nikic/PHP-Parser), but I'd say this is probably too different from generating stubs to belong in this tool. The implementation would have different considerations. For example, you'd have...

Ah, I assumed you'd want the generated code to still function. If you want to output everything but declarations, a `NodeVisitor` with this method would probably do the trick (ignoring...

Thanks for reporting this! I've got to say this seems like a problem with the Symfony `Finder` class? [This page](https://symfony.com/doc/current/components/finder.html#usage) suggests that the `Finder` should always return instances of Symfony's...

Hi @AdamMarton, thanks for contributing! Unfortunately it looks like some tests are failing due to the changes here: https://travis-ci.org/GiacoCorsiglia/php-stubs-generator/jobs/496507691