Deprecated warns with PHP 8.2
zeleniy opened this issue · 2 comments
zeleniy commented
$ php -v
PHP 8.2.3 (cli) (built: Feb 15 2023 00:30:25) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.3, Copyright (c) Zend Technologies
with Xdebug v3.2.1, Copyright (c) 2002-2023, by Derick Rethans
with Zend OPcache v8.2.3, Copyright (c), by Zend Technologies
$ phing -v
PHP Deprecated: Creation of dynamic property Phing::$searchForThis is deprecated in phar:///Users/zeleniy/bin/phing/classes/phing/Phing.php on line 362
PHP Stack trace:
PHP 1. {main}() /Users/zeleniy/bin/phing:0
PHP 2. include() /Users/zeleniy/bin/phing:6
PHP 3. Phing::fire($args = [0 => '-logger', 1 => 'phing.listener.AnsiColorLogger', 2 => '-v']) phar:///Users/zeleniy/bin/phing/bin/phing.php:58
PHP 4. Phing::start($args = [0 => '-logger', 1 => 'phing.listener.AnsiColorLogger', 2 => '-v'], $additionalUserProperties = NULL) phar:///Users/zeleniy/bin/phing/classes/phing/Phing.php:347
PHP 5. Phing->execute($args = [0 => '-logger', 1 => 'phing.listener.AnsiColorLogger', 2 => '-v']) phar:///Users/zeleniy/bin/phing/classes/phing/Phing.php:182
Deprecated: Creation of dynamic property Phing::$searchForThis is deprecated in phar:///Users/zeleniy/bin/phing/classes/phing/Phing.php on line 362
Call Stack:
0.0019 3708568 1. {main}() /Users/zeleniy/bin/phing:0
0.0115 3929016 2. include('phar:///Users/zeleniy/bin/phing/bin/phing.php') /Users/zeleniy/bin/phing:6
0.0342 6757904 3. Phing::fire($args = [0 => '-logger', 1 => 'phing.listener.AnsiColorLogger', 2 => '-v']) phar:///Users/zeleniy/bin/phing/bin/phing.php:58
0.0342 6757904 4. Phing::start($args = [0 => '-logger', 1 => 'phing.listener.AnsiColorLogger', 2 => '-v'], $additionalUserProperties = NULL) phar:///Users/zeleniy/bin/phing/classes/phing/Phing.php:347
0.0342 6758128 5. Phing->execute($args = [0 => '-logger', 1 => 'phing.listener.AnsiColorLogger', 2 => '-v']) phar:///Users/zeleniy/bin/phing/classes/phing/Phing.php:182
Phing 2.17.4
mrook commented
Hi, please install the latest release candidate, and try again.
zeleniy commented
Aha, with phing-3.0.0-RC5.phar
it works well. By the way link to «Latest beta version: 3.0.0-RC5» from https://www.phing.info/ is broken.