Skip to content

Commit

Permalink
[BUGFIX] Respect actual path in namespace
Browse files Browse the repository at this point in the history
Respect the actual path in the namespace of the T3xDownloader.
Otherwise ELTS installations with class resolvers break
with a fatal error due to a missing class.

Refs #115
  • Loading branch information
pixelbrackets committed Mar 16, 2021
1 parent 9bd7cd5 commit 615bd03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Installer/Downloader/T3xDownloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use Composer\Downloader\ArchiveDownloader;
use Composer\Downloader\ChangeReportInterface;
use Composer\Package\PackageInterface;
use TYPO3\CMS\Composer\Util\T3xDownloaderUtility;
use TYPO3\CMS\Composer\Plugin\Util\T3xDownloaderUtility;

/**
* TYPO3 CMS Extension Downloader
Expand Down
2 changes: 1 addition & 1 deletion src/Installer/Downloader/T3xDownloader2.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use Composer\Downloader\ArchiveDownloader;
use Composer\Downloader\ChangeReportInterface;
use Composer\Package\PackageInterface;
use TYPO3\CMS\Composer\Util\T3xDownloaderUtility;
use TYPO3\CMS\Composer\Plugin\Util\T3xDownloaderUtility;

/**
* TYPO3 CMS Extension Downloader
Expand Down
3 changes: 1 addition & 2 deletions src/Plugin/Util/T3xDownloaderUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
* The TYPO3 project - inspiring people to share!
*/

namespace TYPO3\CMS\Composer\Util;
namespace TYPO3\CMS\Composer\Plugin\Util;

use Composer\Package\PackageInterface;
use TYPO3\CMS\Composer\Plugin\Util\ExtensionKeyResolver;

class T3xDownloaderUtility
{
Expand Down

0 comments on commit 615bd03

Please sign in to comment.