zephir-lang / zephir

Zephir is a compiled high-level language aimed to ease the creation of C-extensions for PHP
https://zephir-lang.com
MIT License
3.3k stars 466 forks source link

Issue with Zephir.phar vendor packages #2403

Open rudiservo opened 1 year ago

rudiservo commented 1 year ago

issue while trying to build phalcon v5 on php 8.2

Fatal error: During inheritance of IteratorAggregate: Uncaught ErrorException: 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 phar:///srv/zephir/vendor/symfony/finder/Finder.php:608 It works ok has a vender package in the phalcon project.

The script uses the latest zephir.phar downloadable form GitHub.

Probably the phar just needs to be rebuilt to fix this.