Closed kkmuffme closed 2 years ago
Where do you see this error please? During generation? Which version of PHP are you using?
when running php vendor/bin/wp-hooks-generator --input=some-path --output=output-path --ignore-files="/includes/lib/,/vendor/"
PHP 7.4.24
The reason why it throws this parse error is bc of public function __construct(?array $record)
(and similar), which I found by iterating over all directories and running the above command
This should have been fixed by the bump to the dependencies too, let me know if that's not the case.
Fyi the issue is still there, since the version bump was reversed
No idea in which files the tool encountered a parse error. Would it be possible to include the file name in the error message?