rocketeer icon indicating copy to clipboard operation
rocketeer copied to clipboard

Latest version still has deprecated warning on PHP7

Open wataridori opened this issue 8 years ago • 5 comments

PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Net_SFTP has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php on line 122

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Net_SFTP has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php on line 122
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Net_SSH2 has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 151

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Net_SSH2 has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 151
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Math_BigInteger has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger.php on line 176

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Math_BigInteger has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger.php on line 176
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_Hash has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Crypt/Hash.php on line 82

PHP Warning:  unpack(): Type N: not enough input, need 4, have 1 in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 2826

Warning: unpack(): Type N: not enough input, need 4, have 1 in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 2826
PHP Warning:  extract() expects parameter 1 to be array, boolean given in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 2826

Warning: extract() expects parameter 1 to be array, boolean given in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 2826
PHP Notice:  Undefined variable: length in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 2827

Notice: Undefined variable: length in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 2827

@Anahkiasen I know that there has already been an issue about the problem here PHP 7 deprecated errors on phpseclib, but it has been closed. The commit for fixing this problem was created in December, last year (1f1124926087839c5d77fe041a915e8b8091f191) However, the current version of Rocketeer (which released just 18 days ago) still does not contain the above commit, so there are still many annoying warning messages when I run Rocketeer.

Can you consider releasing a new version for fixing this issue.

wataridori avatar Aug 08 '16 03:08 wataridori

Yup anytime I deploy I get this output at the start:

PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Net_SFTP has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php on line 122

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Net_SFTP has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php on line 122
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Net_SSH2 has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 151

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Net_SSH2 has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 151
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Math_BigInteger has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger.php on line 176

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Math_BigInteger has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger.php on line 176
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_Hash has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Crypt/Hash.php on line 82

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_Hash has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Crypt/Hash.php on line 82
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_RSA has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA.php on line 273

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_RSA has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA.php on line 273
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_RC4 has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Crypt/RC4.php on line 101

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_RC4 has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Crypt/RC4.php on line 101
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_Base has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php on line 121

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_Base has a deprecated constructor in phar:///usr/local/bin/rocketeer/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php on line 121

zackkrida avatar Aug 11 '16 19:08 zackkrida

I have the same problem, any update about this?. Thanks

ctkc avatar Jan 18 '18 04:01 ctkc

yeah, same here on 7.1, can we upgrade the dependencies?

tomvo avatar Sep 12 '18 10:09 tomvo

Still having those messages in 2019

lukassteiner avatar Apr 09 '19 08:04 lukassteiner

Yep... errors still there. Sad.

LoveAndHappiness avatar Aug 09 '19 17:08 LoveAndHappiness