Michael D Johnson

Results 18 comments of Michael D Johnson

I wouldn't mind having HTML output. For instance, a CI server could generate HTML reports for easy access via a web page. And I've got a legacy project that throws...

Ok. I didn't understand what you meant by a separate tool. I could see having a conversion tool that converts from the standard output format to whatever. Of course, the...

It's just an experiment right now, but I've started on [TokenMatcher](https://github.com/redbeardcreator/TokenMatcher). It can assert whether a PhpParser `Node` is one of several basic nodes (include statement, assignment, class definition, etc.)...

I hope it will be. Should make a lot of the rules in parse easier to understand.

I'm just wondering if there might be a way to mitigate the weakness somewhat with separate "this is definitely bad" and "this is potentially bad" buckets. As for `isFunction()`, I...

It's an interesting thought. I would probably use it. I have used similar features in other tools.

I understand that. It might be something to add later as a plugin-type tool.

Incidentally, I made these changes against the 1.17.0 release rather than main. I'll be maintaining my fork until PHP 8.4 support is merged, as I will be going to production...