tlint icon indicating copy to clipboard operation
tlint copied to clipboard

Fatal error: Uncaught Error: Call to undefined method PhpParser\ParserFactory::create()

Open tijmenmoddit opened this issue 1 year ago • 1 comments

/vendor/tightenco/tlint/src/TLint.php:14 PHP Parser error in linter 9.3.1

tijmenmoddit avatar May 06 '24 09:05 tijmenmoddit

Hi @tijmenmoddit we recently upgraded PHP Parser. Calls to the create method on ParserFactory have been removed. Can you try removing your vendor directory and doing another composer install. Also let me know if you have any custom configurations or presets. Thanks.

driftingly avatar May 06 '24 16:05 driftingly