Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

self-update and PHP 5.6 beta1 #1243

Closed
llaville opened this issue Apr 30, 2014 · 1 comment
Closed

self-update and PHP 5.6 beta1 #1243

llaville opened this issue Apr 30, 2014 · 1 comment

Comments

@llaville
Copy link

Hello,

I've just tried to update my phar phpunit version, on PHP 5.5.11 without problem.

But when I've tried to do the same on my local PHP 5.6 beta1 version, I got a DEPRECATED error. Even if the phar version seems to be updated.

Here is the full output I got on a windows platform.

C:\UwAmp\bin\php\php-5.6.0>php phpunit.phar --self-update
PHPUnit 4.0.14 by Sebastian Bergmann.

Updating the PHPUnit PHAR ...
Deprecated: the 'CN_match' SSL context option is deprecated in favor of 'peer_name' in phar://C:/UwAmp/bin/php/php-5.6.0/phpunit.phar/phpunit/TextUI/Command.php on line 843

Call Stack:
    0.0312     360856   1. {main}() C:\UwAmp\bin\php\php-5.6.0\phpunit.phar:0
    0.0312     554528   2. PHPUnit_TextUI_Command::main() C:\UwAmp\bin\php\php-5.6.0\phpunit.phar:583
    0.0312     558320   3. PHPUnit_TextUI_Command->run() phar://C:/UwAmp/bin/php/php-5.6.0/phpunit.phar/phpunit/TextUI/Command.php:132
    0.0312     559560   4. PHPUnit_TextUI_Command->handleArguments() phar://C:/UwAmp/bin/php/php-5.6.0/phpunit.phar/phpunit/TextUI/Command.php:141
    0.0312     582656   5. PHPUnit_TextUI_Command->handleSelfUpdate() phar://C:/UwAmp/bin/php/php-5.6.0/phpunit.phar/phpunit/TextUI/Command.php:530
    0.0468     732128   6. file_get_contents() phar://C:/UwAmp/bin/php/php-5.6.0/phpunit.phar/phpunit/TextUI/Command.php:843

 done

C:\UwAmp\bin\php\php-5.6.0>php phpunit.phar --version
PHPUnit 4.0.19 by Sebastian Bergmann.


C:\UwAmp\bin\php\php-5.6.0>php -v
PHP 5.6.0beta1 (cli) (built: Apr 10 2014 11:25:37)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0-dev, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
    with Xdebug v2.2.5, Copyright (c) 2002-2014, by Derick Rethans

C:\UwAmp\bin\php\php-5.6.0>
C:\UwAmp\bin\php\php-5.6.0>php -r "echo PHP_VERSION_ID;"
50600
@sebastianbergmann
Copy link
Owner

Duplicate of #1242

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants