Skip to content

Commit 11c0d45

Browse files
committed
TESTY
1 parent 890967e commit 11c0d45

5 files changed

Lines changed: 14 additions & 9 deletions

File tree

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3232
- uses: actions/checkout@v4
3333
- uses: ramsey/composer-install@v3
34+
- name: GH token
35+
if: matrix.operating-system != 'windows-latest'
36+
run: sudo composer config --global --auth github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}
3437
- name: Run PHPUnit on Windows
3538
if: matrix.operating-system == 'windows-latest'
3639
run: vendor/bin/phpunit

src/ComposerIntegration/PieComposerFactory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ public static function createPieComposer(
6969
$composer->getConfig()->merge(['config' => ['__PIE_REQUEST__' => $composerRequest]]);
7070
$io->loadConfiguration($composer->getConfig());
7171

72+
var_dump("AUTHS", $io->getAuthentications());
73+
7274
return $composer;
7375
}
7476

src/ComposerIntegration/QuieterConsoleIO.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ public function __construct(InputInterface $input, OutputInterface $output, Mini
2828
* Shifts Composer's normal output level by one, e.g. what Composer
2929
* normally outputs, only output with `-v`
3030
*/
31-
$this->overrideVerbosityMap([
32-
self::QUIET => OutputInterface::VERBOSITY_NORMAL,
33-
self::NORMAL => OutputInterface::VERBOSITY_VERBOSE,
34-
self::VERBOSE => OutputInterface::VERBOSITY_VERY_VERBOSE,
35-
self::VERY_VERBOSE => OutputInterface::VERBOSITY_DEBUG,
36-
self::DEBUG => OutputInterface::VERBOSITY_DEBUG,
37-
]);
31+
// $this->overrideVerbosityMap([
32+
// self::QUIET => OutputInterface::VERBOSITY_NORMAL,
33+
// self::NORMAL => OutputInterface::VERBOSITY_VERBOSE,
34+
// self::VERBOSE => OutputInterface::VERBOSITY_VERY_VERBOSE,
35+
// self::VERY_VERBOSE => OutputInterface::VERBOSITY_DEBUG,
36+
// self::DEBUG => OutputInterface::VERBOSITY_DEBUG,
37+
// ]);
3838
}
3939

4040
/** @param array<IOInterface::*, OutputInterface::VERBOSITY_*> $newVerbosityMap */

src/Container.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static function () {
7777
return $input;
7878
},
7979
);
80-
$container->instance(OutputInterface::class, new ConsoleOutput());
80+
$container->instance(OutputInterface::class, new ConsoleOutput(OutputInterface::VERBOSITY_VERBOSE));
8181
$container->singleton(EventDispatcher::class, static function () {
8282
$displayedBanner = false;
8383
$eventDispatcher = new EventDispatcher();

test/integration/DependencyResolver/ResolveDependencyWithComposerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static function validVersionsList(): array
4242
['dev-main#769f906413d6d1e12152f6d34134cbcd347ca253', 'dev-main', self::DOWNLOAD_URL_1_0_1],
4343
];
4444

45-
if (PHP_VERSION_ID >= 80300 && PHP_VERSION_ID <= 80300) {
45+
if (PHP_VERSION_ID >= 80300 && PHP_VERSION_ID <= 80399) {
4646
$versionsAndExpected[] = ['1.0.1-alpha.3@alpha', '1.0.1-alpha.3', self::DOWNLOAD_URL_1_0_1_ALPHA_3];
4747
$versionsAndExpected[] = ['^1.0', '1.0.1', self::DOWNLOAD_URL_1_0_1];
4848
$versionsAndExpected[] = ['^1.1.0@alpha', '1.1.0-beta.1', self::DOWNLOAD_URL_1_1_0_BETA_1];

0 commit comments

Comments
 (0)