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
When executing any moodle-plugin-ci command under PHP 8.x numerous deprecation warinings are being issued.
PHP Deprecated: Return type of Symfony\Component\Finder\Finder::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/moodle-plugin-ci/vendor/symfony/finder/Finder.php on line 566
PHP Deprecated: Return type of Symfony\Component\Finder\Finder::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/moodle-plugin-ci/vendor/symfony/finder/Finder.php on line 637
PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\FilterIterator::rewind() should either be compatible with FilterIterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/moodle-plugin-ci/vendor/symfony/finder/Iterator/FilterIterator.php on line 32
PHP Deprecated: Return type of Symfony\Component\Finder\Iterator\FileTypeFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /opt/moodle-plugin-ci/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php on line 42
This is because project uses older symfony/console version. It needs to be upgraded to at least v6.0.7 that fixes this issue.
These are the steps that need to be executed to update composer.json and lock the version on master branch
Note that we are really, really near releasing version 4.0 (from master branch). It uses Symfony 5.x and will support all Moodle branches >= 38_STABLE and PHP >= 7.4.
You can sneak preview it by changing the ^3 version by dev-master (soon to become ^4).
When executing any
moodle-plugin-ci
command under PHP 8.x numerous deprecation warinings are being issued.This is because project uses older
symfony/console
version. It needs to be upgraded to at leastv6.0.7
that fixes this issue.These are the steps that need to be executed to update composer.json and lock the version on master branch
The text was updated successfully, but these errors were encountered: