Bug #82898
closed
Epic #82226: PHP 7.2
Declaration T3xDownloader::download not compatible (Composer 1.5.1/1.5.2)
Added by Alexander Opitz over 7 years ago.
Updated over 6 years ago.
Description
PHP Fatal error: Declaration of
TYPO3\CMS\Composer\Installer\Downloader\T3xDownloader::download(Composer\Package\PackageInterface $package, $path)
must be compatible with
Composer\Downloader\ArchiveDownloader::download(Composer\Package\PackageInterface $package, $path, $output = true)
in [...]/typo3_src/vendor/typo3/cms-composer-installers/src/Installer/Downloader/T3xDownloader.php on line 27
- Status changed from New to Needs Feedback
thanks for the report.
how does this affect TYPO3?
composer installations get the newest version of the installer and non composer based installations don't call anything from the installers anyway
but anyway it does not harm to update the lock file for the core
- Status changed from Needs Feedback to Under Review
To work around this issue typo3/cms-composer-installers in version 1.4.5 was released.
HowTo Upgrade in this situation:
First update the plugin, while all plugins are disabled, then do the normal update as written in your(or TYPO3s) composer.lock file
$> composer require typo3/cms-composer-installers:^1.4 --no-plugins --update-no-dev
$> composer install --no-dev
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
- Status changed from Under Review to Resolved
- Status changed from Resolved to Under Review
- Status changed from Under Review to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF