phalcon / cphalcon

High performance, full-stack PHP framework delivered as a C extension.
https://phalcon.io
BSD 3-Clause "New" or "Revised" License
10.79k stars 1.96k forks source link

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

Open xiaochong0302 opened 4 months ago

xiaochong0302 commented 4 months ago

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