I'm using macos port of phalcon and php 7.4. The version supplied in ports of phalcon is 4.0.6.
Using incubator I get the following. I've tried a few branchs of incubator
Fatal error: Declaration of Phalcon\Mvc\View\SmartyView::setVar($key, $value, $nocache = false) must be compatible with Phalcon\Mvc\View::setVar(string $key, $value): Phalcon\Mvc\View in */incubator/Library/Phalcon/Mvc/View/SmartyView.php on line 14
Phalcon is a full stack PHP framework, delivered as a PHP extension, offering lower resource consumption and high performance. phalcon => enabled Author => Phalcon Team and contributors Version => 4.0.6 Build Date => May 21 2020 07:17:24 Powered by Zephir => Version 0.12.17-6724dbf Directive => Local Value => Master Value phalcon.db.escape_identifiers => On => On phalcon.db.force_casting => Off => Off phalcon.orm.case_insensitive_column_map => Off => Off phalcon.orm.cast_last_insert_id_to_int => Off => Off phalcon.orm.cast_on_hydrate => Off => Off phalcon.orm.column_renaming => On => On phalcon.orm.disable_assign_setters => Off => Off phalcon.orm.enable_implicit_joins => On => On phalcon.orm.enable_literals => On => On phalcon.orm.events => On => On phalcon.orm.exception_on_failed_save => Off => Off phalcon.orm.exception_on_failed_metadata_save => On => On phalcon.orm.ignore_unknown_columns => Off => Off phalcon.orm.late_state_binding => Off => Off phalcon.orm.not_null_validations => On => On phalcon.orm.update_snapshot_on_save => On => On phalcon.orm.virtual_foreign_keys => On => On phalcon.warning.enable => On => On
How do I fix this ?