Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Not compatible with PHP 7.4 #18

Closed
willsmanley opened this issue Apr 29, 2020 · 2 comments
Closed

Not compatible with PHP 7.4 #18

willsmanley opened this issue Apr 29, 2020 · 2 comments

Comments

@willsmanley
Copy link

Function ReflectionType::__toString() is deprecated

@willsmanley
Copy link
Author

willsmanley commented Apr 29, 2020

Specifically it is line 178 and line 191 in the latest version of MacrosCommand.php:

$this->write($parameter->getType() . " ");
$this->write(": $returnType");

I forked the library so I could comment out those parts and it hasn't affected my ability to generate a good helper file since those two parts aren't essential for autocompletion.

@KristofMorva
Copy link
Owner

It's a duplication of #15 (which also has a proposed solution)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants