d:\download>php deployment.phar
PHP Warning: require(phar://D:/download/deployment.phar/../vendor/autoload.php): Failed to open stream: phar error: "vendor/autoload.php" is not a file in phar "D:/download/deployment.phar" in phar://D:/download/deployment.phar/deployment.php on line 2
Warning: require(phar://D:/download/deployment.phar/../vendor/autoload.php): Failed to open stream: phar error: "vendor/autoload.php" is not a file in phar "D:/download/deployment.phar" in phar://D:/download/deployment.phar/deployment.php on line 2
PHP Fatal error: Uncaught Error: Failed opening required 'phar://D:/download/deployment.phar/../vendor/autoload.php' (include_path='.;C:\php\pear') in phar://D:/download/deployment.phar/deployment.php:2
Stack trace:
#0 D:\download\deployment.phar(2): require()
#1 {main}
thrown in phar://D:/download/deployment.phar/deployment.php on line 2
Fatal error: Uncaught Error: Failed opening required 'phar://D:/download/deployment.phar/../vendor/autoload.php' (include_path='.;C:\php\pear') in phar://D:/download/deployment.phar/deployment.php:2
Stack trace:
#0 D:\download\deployment.phar(2): require()
#1 {main}
thrown in phar://D:/download/deployment.phar/deployment.php on line 2
Expected Behavior
Should display info about version and usage like previous version:
Version: 3.3.2
Bug Description
deploment.phar from https://github.com/dg/ftp-deployment/releases/download/v3.3.2/deployment.phar cannot open autoload.php
Steps To Reproduce
tested with PHP8
Expected Behavior
Should display info about version and usage like previous version: