theseer / Autoload

A lightweight php namespace aware autoload generator and phar archive builder
Other
388 stars 47 forks source link

Zeta Components ConsoleTools uses PHP syntax deprecated in PHP 7.4 #91

Closed sebastianbergmann closed 4 years ago

sebastianbergmann commented 5 years ago
$ php-74 --version
PHP 7.4.0-dev (cli) (built: Nov  1 2019 06:12:40) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0-dev, Copyright (c) Zend Technologies
    with Xdebug v2.8.0beta3-dev, Copyright (c) 2002-2019, by Derick Rethans
$ git clone https://github.com/sebastianbergmann/raytracer.git
$ cd raytracer
$ php-74 ./tools/phpab -o src/autoload.php src

Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in phar:///usr/local/src/raytracer/tools/phpab/vendor/zetacomponents/console-tools/src/input.php on line 535
phpab 1.25.6 - Copyright (C) 2009 - 2019 by Arne Blankerts and Contributors

Scanning directory src

Autoload file src/autoload.php generated.
theseer commented 4 years ago

Fixed in 1.25.9.