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

Optional tasks depend on obsolete software #1223

Closed
AKhrulev opened this issue Dec 25, 2019 · 2 comments
Closed

Optional tasks depend on obsolete software #1223

AKhrulev opened this issue Dec 25, 2019 · 2 comments

Comments

@AKhrulev
Copy link

Phing 3.0.0-alpha3
PHP 7.3.12

Many optional tasks depend (see "3.1.2 Software Dependencies" in documentation) on PEAR which is obsolete now. It makes some troubles. For example, if I use "FtpDeployTask" and install somehow Net_FTP package then I've got errors:

[PHP Error] Methods with the same name as their class will not be constructors in a future version of PHP; Net_FTP has a deprecated constructor [line 556 of D:\somepath\Lib\Net\FTP.php]
[PHP Error] define(): Declaration of case-insensitive constants is deprecated [line 34 of D:\somepath\Lib\Net\FTP.php]
[PHP Error] define(): Declaration of case-insensitive constants is deprecated [line 43 of D:\somepath\Lib\Net\FTP.php]
[PHP Error] define(): Declaration of case-insensitive constants is deprecated [line 52 of D:\somepath\Lib\Net\FTP.php]
[PHP Error] define(): Declaration of case-insensitive constants is deprecated [line 61 of D:\somepath\Lib\Net\FTP.php]
[PHP Error] define(): Declaration of case-insensitive constants is deprecated [line 71 of D:\somepath\Lib\Net\FTP.php]
[PHP Error] define(): Declaration of case-insensitive constants is deprecated [line 83 of D:\somepath\Lib\Net\FTP.php]

So actually it does not work. Is there any way to really use tasks depending on PEAR? If not then trouble must be at least documented.

@siad007
Copy link
Member

siad007 commented Dec 25, 2019

Do you have a list of the failing tasks, so we can make tickets out of it?
That would help other peoples to fix it.

At least it is related to #654 #1160

@mrook
Copy link
Member

mrook commented Mar 26, 2020

Net_FTP (#1224) and HTTP_Request2 (#1160) are already in scope. If there are additional packages that need to be in scope, please comment on this issue or open a new issue per individual package. Thanks!

@mrook mrook closed this as completed Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants