Open someson opened 1 year ago
Two things that I saw after updating to php 8.2:
$this->di->getShared('url')->getBaseUri();
results in:
Deprecated: Creation of dynamic property MyApp::$di is deprecated in /var/web/nginx/html/myApp/app/App.php on line 46
And
echo Phalcon\Tag::renderTitle();
results in:
Deprecated: Use of "self" in callables is deprecated in /var/web/nginx/html/myApp/app/modules/public/views/phtml/partials/header.phtml on line 16
This error also occurs in:
Tag::hiddenField Model method findFirstBy{Field Name}
so we have to lock project phalcon version to PHP8.1
For now, looks like it's an upstream issue. https://github.com/zephir-lang/zephir/issues/2405
Volt view with
<title>{{ get_title() }}</title>
produces following deprecation noctice:Additional info:
Details