We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
$ wget https://phar.phpunit.de/phpunit-4.8.0.phar $ php phpunit-4.8.0.phar --self-update PHPUnit 4.8.0 by Sebastian Bergmann and contributors. PHP Warning: copy(phar://phpunit-4.8.0.phar/ca.pem): failed to open stream: phar error: "ca.pem" is not a file in phar "phpunit-4.8.0.phar" in phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php on line 794 PHP Stack trace: PHP 1. {main}() /home/sb/phpunit-4.8.0.phar:0 PHP 2. PHPUnit_TextUI_Command::main() /home/sb/phpunit-4.8.0.phar:538 PHP 3. PHPUnit_TextUI_Command->run() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:100 PHP 4. PHPUnit_TextUI_Command->handleArguments() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:110 PHP 5. PHPUnit_TextUI_Command->handleSelfUpdate() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:484 PHP 6. copy() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:794 Updating the PHPUnit PHAR ... PHP Warning: failed loading cafile stream: `/tmp/ca.pem' in phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php on line 817 PHP Stack trace: PHP 1. {main}() /home/sb/phpunit-4.8.0.phar:0 PHP 2. PHPUnit_TextUI_Command::main() /home/sb/phpunit-4.8.0.phar:538 PHP 3. PHPUnit_TextUI_Command->run() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:100 PHP 4. PHPUnit_TextUI_Command->handleArguments() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:110 PHP 5. PHPUnit_TextUI_Command->handleSelfUpdate() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:484 PHP 6. file_get_contents() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:817 PHP Warning: file_get_contents(): Failed to enable crypto in phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php on line 817 PHP Stack trace: PHP 1. {main}() /home/sb/phpunit-4.8.0.phar:0 PHP 2. PHPUnit_TextUI_Command::main() /home/sb/phpunit-4.8.0.phar:538 PHP 3. PHPUnit_TextUI_Command->run() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:100 PHP 4. PHPUnit_TextUI_Command->handleArguments() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:110 PHP 5. PHPUnit_TextUI_Command->handleSelfUpdate() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:484 PHP 6. file_get_contents() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:817 PHP Warning: file_get_contents(https://phar.phpunit.de/phpunit.phar): failed to open stream: operation failed in phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php on line 817 PHP Stack trace: PHP 1. {main}() /home/sb/phpunit-4.8.0.phar:0 PHP 2. PHPUnit_TextUI_Command::main() /home/sb/phpunit-4.8.0.phar:538 PHP 3. PHPUnit_TextUI_Command->run() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:100 PHP 4. PHPUnit_TextUI_Command->handleArguments() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:110 PHP 5. PHPUnit_TextUI_Command->handleSelfUpdate() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:484 PHP 6. file_get_contents() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:817 PHP Warning: unlink(/tmp/ca.pem): No such file or directory in phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php on line 834 PHP Stack trace: PHP 1. {main}() /home/sb/phpunit-4.8.0.phar:0 PHP 2. PHPUnit_TextUI_Command::main() /home/sb/phpunit-4.8.0.phar:538 PHP 3. PHPUnit_TextUI_Command->run() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:100 PHP 4. PHPUnit_TextUI_Command->handleArguments() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:110 PHP 5. PHPUnit_TextUI_Command->handleSelfUpdate() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:484 PHP 6. unlink() phar:///home/sb/phpunit-4.8.0.phar/phar/phpunit/TextUI/Command.php:834 done internal corruption of phar "/tmp/phpunitRJye0w.phar" (truncated entry)
The text was updated successfully, but these errors were encountered:
Somehow the path of the ca.pem seems to have changed inside the PHAR.
ca.pem
$ wget https://phar.phpunit.de/phpunit-4.7.7.phar $ phar list -f phpunit-4.7.7.phar|grep pem |-phar:///home/sb/phpunit-4.7.7.phar/ca.pem
$ wget https://phar.phpunit.de/phpunit-4.8.0.phar $ phar list -f phpunit-4.8.0.phar|grep pem |-phar:///home/sb/phpunit-4.8.0.phar/phar/ca.pem
Sorry, something went wrong.
Closes #1815
25468d0
No branches or pull requests
The text was updated successfully, but these errors were encountered: