Skip to content

Commit c8cdd66

Browse files
committed
Remove code that gave out a nice warning to PHP 5.3.0 users about PHAR and a bug in it with signatures. We depend on a higher PHP version so it is redundant now.
1 parent 65bd3b1 commit c8cdd66

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/Pyrus/Channel/RemotePackage.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -411,17 +411,6 @@ function download()
411411
}
412412

413413
$ret = new \Pyrus\Package\Remote($url . $ext);
414-
if ($certdownloaded) {
415-
if ($ext == '.tar' || $ext == '.tgz') {
416-
if (phpversion() == '5.3.0') {
417-
Logger::log(0, 'WARNING: ' . $url . $ext . ' may not be installable ' .
418-
'with PHP version 5.3.0, the PHP extension phar ' .
419-
'has a bug verifying openssl signatures for ' .
420-
'tar and tgz files. Either upgrade to PHP 5.3.1 ' .
421-
'or install the .zip version');
422-
}
423-
}
424-
}
425414
return $ret;
426415
} catch (\Pyrus\HTTPException $e) {
427416
if ($certdownloaded && file_exists($pubkey)) {

0 commit comments

Comments
 (0)