You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to commit php code to the repo fails with a PHP Deprecated
gene@Genes-MacBook-Air PHP-Antimalware-Scanner % git commit -m bin/build
Checking PHP Lint...
[Done] Operation completed!
PHP Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///Users/gene/Work/WordPress Antivirus Project/PHP-Antimalware-Scanner/bin/composer/vendor/symfony/console/Helper/HelperSet.php on line 112
The text was updated successfully, but these errors were encountered:
I provided a PR to fix this: #89
Turns out the problem is old version of composer included into the project. Updating it from 2.0 to 2.2 resolved the issue.
Related issue, old composer didn't support new GitHub oauth tokens:
[UnexpectedValueException]
Your github oauth token for github.com contains invalid characters
Trying to commit php code to the repo fails with a
PHP Deprecated
The text was updated successfully, but these errors were encountered: