cphalcon icon indicating copy to clipboard operation
cphalcon copied to clipboard

[BUG]: Deprecated: Use of "static" in callables is deprecated

Open xiaochong0302 opened this issue 1 year ago • 0 comments

i use the latest version of zephir_parser and zephir, althought it is noticed that issue has resolved in v5.6,but it recurred in v5.7

Deprecated: Use of "static" in callables is deprecated

$account = Account::findFirst([
            'conditions' => 'id = :id:',
            'bind' => ['id' => $id],
        ]);

Deprecated: Use of "self" in callables is deprecated

$count = Account::count();

Details

Phalcon version: 5.7.0
PHP Version: 8.2
Operating System: Debian 11
Installation type: PECL
Zephir version (if any): 0.17.0
Server: nginx

xiaochong0302 avatar Jul 07 '24 08:07 xiaochong0302