[pkg-php-pear] Bug#1070504: composer: FTBFS with phpunit 11: There were 7 PHPUnit errors

Athos Ribeiro athoscribeiro at gmail.com
Mon May 6 15:04:25 BST 2024


Source: composer
Version: 2.7.4-1
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear at lists.alioth.debian.org
Usertags: phpunit11

Hi,

phpunit 11 is out and is now available in experimental. During a test rebuild,
composer was found to fail to build with this new phpunit version.

To reproduce this locally, you need to install phpunit from experimental on an
unstable system or build chroot.

Relevant part (hopefully):
> There were 7 PHPUnit errors:
> 
> 1) Composer\Test\Advisory\AuditorTest::testAuditWithIgnore
> The data provider specified for Composer\Test\Advisory\AuditorTest::testAuditWithIgnore is invalid
> Data Provider method Composer\Test\Advisory\AuditorTest::ignoredIdsProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Advisory/AuditorTest.php:309
> 
> 2) Composer\Test\Command\BaseDependencyCommandTest::testWhyNotCommandOutputs
> The data provider specified for Composer\Test\Command\BaseDependencyCommandTest::testWhyNotCommandOutputs is invalid
> Data Provider method Composer\Test\Command\BaseDependencyCommandTest::caseWhyNotProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/BaseDependencyCommandTest.php:365
> 
> 3) Composer\Test\Command\InstallCommandTest::testInstallCommandErrors
> The data provider specified for Composer\Test\Command\InstallCommandTest::testInstallCommandErrors is invalid
> Data Provider method Composer\Test\Command\InstallCommandTest::errorCaseProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/InstallCommandTest.php:25
> 
> 4) Composer\Test\Command\ReinstallCommandTest::testReinstallCommand
> The data provider specified for Composer\Test\Command\ReinstallCommandTest::testReinstallCommand is invalid
> Data Provider method Composer\Test\Command\ReinstallCommandTest::caseProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ReinstallCommandTest.php:25
> 
> 5) Composer\Test\Command\SelfUpdateCommandTest::testUpdateToDifferentChannel
> The data provider specified for Composer\Test\Command\SelfUpdateCommandTest::testUpdateToDifferentChannel is invalid
> Data Provider method Composer\Test\Command\SelfUpdateCommandTest::channelOptions() is not static
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SelfUpdateCommandTest.php:80
> 
> 6) Composer\Test\Command\ShowCommandTest::testNotExistingPackage
> The data provider specified for Composer\Test\Command\ShowCommandTest::testNotExistingPackage is invalid
> Data Provider method Composer\Test\Command\ShowCommandTest::provideNotExistingPackage() is not static
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:740
> 
> 7) Composer\Test\Command\ShowCommandTest::testSpecificPackageAndTree
> The data provider specified for Composer\Test\Command\ShowCommandTest::testSpecificPackageAndTree is invalid
> Data Provider method Composer\Test\Command\ShowCommandTest::providePackageAndTree() is not static
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:806
> 
> --
> 
...
> 
> There were 3 errors:
> 
> 1) Composer\Test\ApplicationTest::testDevWarning
> Error: Undefined constant "STDIN"
> 
> /usr/share/php/Symfony/Component/Console/Helper/QuestionHelper.php:109
> /usr/share/php/Symfony/Component/Console/Helper/QuestionHelper.php:71
> /usr/share/php/Symfony/Component/Console/Helper/QuestionHelper.php:484
> /usr/share/php/Symfony/Component/Console/Helper/QuestionHelper.php:73
> /<<PKGBUILDDIR>>/build/share/php/Composer/IO/ConsoleIO.php:269
> /<<PKGBUILDDIR>>/build/share/php/Composer/Console/Application.php:340
> /<<PKGBUILDDIR>>/tests/Composer/Test/ApplicationTest.php:49
> 
> 2) Composer\Test\Command\RunScriptCommandTest::testCanDefineAliases
> TypeError: array_shift(): Argument #1 ($array) must be of type array, null given
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RunScriptCommandTest.php:133
> 
> 3) Composer\Test\Command\SelfUpdateCommandTest::testUpdateToSpecificVersion
> Composer\Downloader\FilesystemException: Filesystem exception: 
> Composer update failed: the "/tmp/composer-test-5945662f1f92659ff/composer.phar" is not accessible
> 
> /<<PKGBUILDDIR>>/build/share/php/Composer/Command/SelfUpdateCommand.php:132
> /usr/share/php/Symfony/Component/Console/Command/Command.php:326
> /usr/share/php/Symfony/Component/Console/Application.php:1078
> /usr/share/php/Symfony/Component/Console/Application.php:324
> /<<PKGBUILDDIR>>/build/share/php/Composer/Console/Application.php:389
> /usr/share/php/Symfony/Component/Console/Application.php:175
> /<<PKGBUILDDIR>>/build/share/php/Composer/Console/Application.php:147
> /usr/share/php/Symfony/Component/Console/Tester/ApplicationTester.php:66
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SelfUpdateCommandTest.php:62
> 
> --
> 
> There were 126 failures:
> 
> 1) Composer\Test\Command\AuditCommandTest::testSuccessfulResponseCodeWhenNoPackagesAreRequired
> Failed asserting that two strings are equal.
> --- Expected
> +++ Actual
> @@ @@
> -'No packages - skipping audit.'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>\n
> +Continue as root/super user [yes]? No packages - skipping audit.'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/AuditCommandTest.php:28
> 
> 2) Composer\Test\Command\BaseDependencyCommandTest::testWarningWhenDependenciesAreNotInstalled with data set "`why` command" ('why', ['vendor1/package1'])
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'<warning>No dependencies installed. Try running composer install or update, or use --locked.</warning>'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? <warning>No dependencies installed. Try running composer install or update, or use --locked.</warning>'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/BaseDependencyCommandTest.php:202
> 
> 3) Composer\Test\Command\BaseDependencyCommandTest::testWarningWhenDependenciesAreNotInstalled with data set "`why-not` command" ('why-not', ['vendor1/package1', '1.*'])
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'<warning>No dependencies installed. Try running composer install or update, or use --locked.</warning>'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? <warning>No dependencies installed. Try running composer install or update, or use --locked.</warning>'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/BaseDependencyCommandTest.php:202
> 
> 4) Composer\Test\Command\BaseDependencyCommandTest::testWhyCommandOutputs with data set "there is no installed package depending on the package" (['vendor1/package1'], 'There is no installed package...kage1"', 1)
> Failed asserting that two strings are equal.
> --- Expected
> +++ Actual
> @@ @@
> -'There is no installed package depending on "vendor1/package1"'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>\n
> +Continue as root/super user [yes]? There is no installed package depending on "vendor1/package1"'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/BaseDependencyCommandTest.php:299
> 
> 5) Composer\Test\Command\BaseDependencyCommandTest::testWhyCommandOutputs with data set "a nested package dependency" (['vendor1/package3'], '__root__         -     requir...3 (^1)', 0)
> Failed asserting that two strings are equal.
> --- Expected
> +++ Actual
> @@ @@
> -'__root__         -     requires vendor1/package3 (2.3.0)\n
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>\n
> +Continue as root/super user [yes]? __root__         -     requires vendor1/package3 (2.3.0)\n
>  vendor1/package2 2.3.0 requires vendor1/package3 (^1)'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/BaseDependencyCommandTest.php:299
> 
> 6) Composer\Test\Command\BaseDependencyCommandTest::testWhyCommandOutputs with data set "a nested package dependency (tree mode)" (['vendor1/package3', true], 'vendor1/package3 2.1.0\n|--__...e2 ^2)', 0)
> Failed asserting that two strings are equal.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package3 2.1.0\n
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>\n
> +Continue as root/super user [yes]? vendor1/package3 2.1.0\n
>  |--__root__ (requires vendor1/package3 2.3.0)\n
>  `--vendor1/package2 2.3.0 (requires vendor1/package3 ^1)\n
>     |--__root__ (requires vendor1/package2 1.3.0)\n
>     `--vendor1/package1 1.3.0 (requires vendor1/package2 ^2)'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/BaseDependencyCommandTest.php:299
> 
> 7) Composer\Test\Command\BaseDependencyCommandTest::testWhyCommandOutputs with data set "a nested package dependency (recursive mode)" (['vendor1/package3', true], '__root__         -     requir...3 (^1)', 0)
> Failed asserting that two strings are equal.
> --- Expected
> +++ Actual
> @@ @@
> -'__root__         -     requires vendor1/package2 (1.3.0)\n
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>\n
> +Continue as root/super user [yes]? __root__         -     requires vendor1/package2 (1.3.0)\n
>  vendor1/package1 1.3.0 requires vendor1/package2 (^2)\n
>  __root__         -     requires vendor1/package3 (2.3.0)\n
>  vendor1/package2 2.3.0 requires vendor1/package3 (^1)'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/BaseDependencyCommandTest.php:299
> 
> 8) Composer\Test\Command\BaseDependencyCommandTest::testWhyCommandOutputs with data set "a simple package dev dependency" (['vendor2/package1'], '__root__ - requires (for deve... (2.*)', 0)
> Failed asserting that two strings are equal.
> --- Expected
> +++ Actual
> @@ @@
> -'__root__ - requires (for development) vendor2/package1 (2.*)'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>\n
> +Continue as root/super user [yes]? __root__ - requires (for development) vendor2/package1 (2.*)'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/BaseDependencyCommandTest.php:299
> 
> 9) Composer\Test\Command\BumpCommandTest::testBumpFailsOnWriteErrorToComposerFile
> Failed asserting that 0 is identical to 1.
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/BumpCommandTest.php:69
> 
> 10) Composer\Test\Command\CheckPlatformReqsCommandTest::testPlatformReqsAreSatisfied with data set "Disables checking of require-dev packages requirements." ([['^2.0'], ['~4.0']], [true], 'Checking non-dev platform req...uccess')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'Checking non-dev platform requirements for packages in the vendor dir
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Checking non-dev platform requirements for packages in the vendor dir
>  ext-foobar 2.3.4   success'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/CheckPlatformReqsCommandTest.php:50
> 
> 11) Composer\Test\Command\CheckPlatformReqsCommandTest::testPlatformReqsAreSatisfied with data set "Checks requirements only from the lock file, not from installed packages." ([['^2.3'], ['~2.0']], [true], 'Checking platform requirement...uccess')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'Checking platform requirements using the lock file
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Checking platform requirements using the lock file
>  ext-barbaz 2.3.4.5   success 
>  ext-foobar 2.3.4     success'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/CheckPlatformReqsCommandTest.php:50
> 
> 12) Composer\Test\Command\CheckPlatformReqsCommandTest::testFailedPlatformRequirement
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'Checking platform requirements for packages in the vendor dir
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Checking platform requirements for packages in the vendor dir
>  [
>      {
>          "name": "ext-barbaz",
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/CheckPlatformReqsCommandTest.php:140
> 
> 13) Composer\Test\Command\ConfigCommandTest::testConfigReads with data set "read description" (['foo bar'], ['description'], 'foo bar')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'foo bar'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? foo bar'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ConfigCommandTest.php:101
> 
> 14) Composer\Test\Command\ConfigCommandTest::testConfigReads with data set "read vendor-dir with source" ([['lala']], ['vendor-dir', true], 'lala (./composer.json)')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'lala (./composer.json)'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? lala (./composer.json)'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ConfigCommandTest.php:101
> 
> 15) Composer\Test\Command\ConfigCommandTest::testConfigReads with data set "read default vendor-dir" ([], ['vendor-dir'], 'vendor')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ConfigCommandTest.php:101
> 
> 16) Composer\Test\Command\ConfigCommandTest::testConfigReads with data set "read repos by named key" ([[['vcs', 'https://example.org'], ['composer', 'https://repo.packagist.org']]], ['repositories.foo'], '{"type":"vcs","url":"https://....org"}')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'{"type":"vcs","url":"https://example.org"}'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? {"type":"vcs","url":"https://example.org"}'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ConfigCommandTest.php:101
> 
> 17) Composer\Test\Command\ConfigCommandTest::testConfigReads with data set "read repos by numeric index" ([[['vcs', 'https://example.org'], ['composer', 'https://repo.packagist.org']]], ['repos.0'], '{"type":"vcs","url":"https://....org"}')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'{"type":"vcs","url":"https://example.org"}'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? {"type":"vcs","url":"https://example.org"}'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ConfigCommandTest.php:101
> 
> 18) Composer\Test\Command\ConfigCommandTest::testConfigReads with data set "read all repos includes the default packagist" ([[['vcs', 'https://example.org'], ['composer', 'https://repo.packagist.org']]], ['repos'], '{"foo":{"type":"vcs","url":"h...org"}}')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'{"foo":{"type":"vcs","url":"https://example.org"},"packagist.org":{"type":"composer","url":"https://repo.packagist.org"}}'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? {"foo":{"type":"vcs","url":"https://example.org"},"packagist.org":{"type":"composer","url":"https://repo.packagist.org"}}'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ConfigCommandTest.php:101
> 
> 19) Composer\Test\Command\ConfigCommandTest::testConfigReads with data set "read all repos does not include the disabled packagist" ([[['vcs', 'https://example.org'], false]], ['repos'], '{"foo":{"type":"vcs","url":"h...org"}}')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'{"foo":{"type":"vcs","url":"https://example.org"}}'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? {"foo":{"type":"vcs","url":"https://example.org"}}'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ConfigCommandTest.php:101
> 
> 20) Composer\Test\Command\ExecCommandTest::testList
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'Available binaries:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Available binaries:
>  - b
>  - c
>  - a (local)'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ExecCommandTest.php:52
> 
> 21) Composer\Test\Command\FundCommandTest::testFundCommand with data set "no funding links present, locally or remotely" ([[], ['^2.0'], ['~4.0']], [], [], 'No funding links were found i...pport!')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'No funding links were found in your package dependencies. This doesn't mean they don't need your support!'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? No funding links were found in your package dependencies. This doesn't mean they don't need your support!'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/FundCommandTest.php:59
> 
> 22) Composer\Test\Command\FundCommandTest::testFundCommand with data set "funding links set locally are used as fallback if not found remotely" ([[], ['^2.0'], ['~4.0']], [], [['github', 'https://github.com/composer-test-data'], ['github', 'https://github.com/composer-t...ta-dev']], 'The following packages were f...k you!')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'The following packages were found in your dependencies which publish funding information:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? The following packages were found in your dependencies which publish funding information:
>  
>  dev
>    pkg
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/FundCommandTest.php:59
> 
> 23) Composer\Test\Command\FundCommandTest::testFundCommand with data set "funding links set remotely are used as primary if found" ([[['package', [['first/pkg', 'dev-foo', [['github', 'https://github.com/test-shoul...e-used']]], ['first/pkg', 'dev-main', true, [['custom', 'https://example.org']]], ['dev/pkg', 'dev-foo', true, [['github', 'https://github.com/org']]], ['stable/pkg', '1.0.0', [['github', 'org2']]]]]], ['^2.0', '^1.0'], ['~4.0']], [], [['github', 'https://github.com/composer-test-data'], ['github', 'https://github.com/composer-t...ta-dev'], ['github', 'https://github.com/composer-t...stable']], 'The following packages were f...k you!')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'The following packages were found in your dependencies which publish funding information:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? The following packages were found in your dependencies which publish funding information:
>  
>  dev
>    pkg
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/FundCommandTest.php:59
> 
> 24) Composer\Test\Command\FundCommandTest::testFundCommand with data set "format funding links as JSON" ([[], ['^2.0'], ['~4.0']], ['json'], [['github', 'https://github.com/composer-test-data'], ['github', 'https://github.com/composer-t...ta-dev']], '{\n    "dev": {\n        "htt...  }\n}')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'{
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? {
>      "dev": {
>          "https://github.com/sponsors/composer-test-data-dev": [
>              "pkg"
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/FundCommandTest.php:59
> 
> 25) Composer\Test\Command\HomeCommandTest::testHomeCommandWithShowFlag with data set "Invalid or missing repository URL" ([[['package', [['vendor/package', 'generic description', '1.0.0']]]], ['^1.0']], [['vendor/package']], '<warning>Invalid or missing r...rning>')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'<warning>Invalid or missing repository URL for vendor/package</warning>'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? <warning>Invalid or missing repository URL for vendor/package</warning>'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/HomeCommandTest.php:57
> 
> 26) Composer\Test\Command\HomeCommandTest::testHomeCommandWithShowFlag with data set "No Packages Provided" ([[]], [], 'No package specified, opening...rning>')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'No package specified, opening homepage for the root package
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? No package specified, opening homepage for the root package
>  <warning>Invalid or missing repository URL for __root__</warning>'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/HomeCommandTest.php:57
> 
> 27) Composer\Test\Command\HomeCommandTest::testHomeCommandWithShowFlag with data set "Package not found" ([[]], [['vendor/anotherpackage']], '<warning>Package vendor/anoth...rning>')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'<warning>Package vendor/anotherpackage not found</warning>
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? <warning>Package vendor/anotherpackage not found</warning>
>  <warning>Invalid or missing repository URL for vendor/anotherpackage</warning>'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/HomeCommandTest.php:57
> 
> 28) Composer\Test\Command\HomeCommandTest::testHomeCommandWithShowFlag with data set "A valid package URL" ([[]], [['vendor/package']], 'https://example.org', ['https://example.org'])
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'https://example.org'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? https://example.org'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/HomeCommandTest.php:57
> 
> 29) Composer\Test\Command\HomeCommandTest::testHomeCommandWithShowFlag with data set "A valid dev package URL" ([[]], [['vendor/devpackage']], 'https://example.org/dev', ['https://example.org/dev'])
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'https://example.org/dev'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? https://example.org/dev'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/HomeCommandTest.php:57
> 
> 30) Composer\Test\Command\InstallCommandTest::testInstallFromEmptyVendor
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'Installing dependencies from lock file (including require-dev)
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Installing dependencies from lock file (including require-dev)
>  Verifying lock file contents can be installed on current platform.
>  Package operations: 2 installs, 0 updates, 0 removals
>    - Installing root/another (1.0.0)
>    - Installing root/req (1.0.0)
>  Generating autoload files'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/InstallCommandTest.php:121
> 
> 31) Composer\Test\Command\InstallCommandTest::testInstallFromEmptyVendorNoDev
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'Installing dependencies from lock file
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Installing dependencies from lock file
>  Verifying lock file contents can be installed on current platform.
>  Package operations: 1 install, 0 updates, 0 removals
>    - Installing root/req (1.0.0)
>  Generating autoload files'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/InstallCommandTest.php:151
> 
> 32) Composer\Test\Command\InstallCommandTest::testInstallNewPackagesWithExistingPartialVendor
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'Installing dependencies from lock file (including require-dev)
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Installing dependencies from lock file (including require-dev)
>  Verifying lock file contents can be installed on current platform.
>  Package operations: 1 install, 0 updates, 0 removals
>    - Installing root/another (1.0.0)
>  Generating autoload files'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/InstallCommandTest.php:178
> 
> 33) Composer\Test\Command\LicensesCommandTest::testBasicRun
> Failed asserting that '<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>' matches PCRE pattern "/Name\:\s+test\/pkg/".
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/LicensesCommandTest.php:81
> 
> 34) Composer\Test\Command\LicensesCommandTest::testNoDev
> Failed asserting that '<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>' matches PCRE pattern "/Name\:\s+test\/pkg/".
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/LicensesCommandTest.php:111
> 
> 35) Composer\Test\Command\LicensesCommandTest::testFormatSummary
> Failed asserting that '<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>' matches PCRE pattern "/-\s+-/".
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/LicensesCommandTest.php:173
> 
> 36) Composer\Test\Command\RemoveCommandTest::testWarningWhenRemovingNonExistentPackage
> Failed asserting that '<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>\n
> Continue as root/super user [yes]? <warning>vendor1/package1 is not required in your composer.json and has not been removed</warning>\n
> ./composer.json has been updated\n
> Running composer update vendor1/package1\n
> Loading composer repositories with package information\n
> Updating dependencies\n
> Nothing to modify in lock file\n
> Writing lock file\n
> Installing dependencies from lock file (including require-dev)\n
> Nothing to install, update or remove\n
> Generating autoload files\n
> No installed packages - skipping audit.' starts with "<warning>vendor1/package1 is not required in your composer.json and has not been removed</warning>".
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RemoveCommandTest.php:52
> 
> 37) Composer\Test\Command\RemoveCommandTest::testWarningWhenRemovingPackageFromWrongType
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'<warning>root/req could not be found in require-dev but it is present in require</warning>
> +'Composer plugins have been disabled for safety in this non-interactive session.
> +Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
> +<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +<warning>root/req could not be found in require-dev but it is present in require</warning>
>  ./composer.json has been updated'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RemoveCommandTest.php:65
> 
> 38) Composer\Test\Command\RemoveCommandTest::testWarningWhenRemovingPackageWithDeprecatedDependenciesFlag
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'<warning>You are using the deprecated option "update-with-dependencies". This is now default behaviour. The --no-update-with-dependencies option can be used to remove a package without its dependencies.</warning>
> +'Composer plugins have been disabled for safety in this non-interactive session.
> +Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
> +<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +<warning>You are using the deprecated option "update-with-dependencies". This is now default behaviour. The --no-update-with-dependencies option can be used to remove a package without its dependencies.</warning>
>  ./composer.json has been updated'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RemoveCommandTest.php:80
> 
> 39) Composer\Test\Command\RemoveCommandTest::testMessageOutputWhenNoUnusedPackagesToRemove
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'No unused packages to remove'
> +'Composer plugins have been disabled for safety in this non-interactive session.
> +Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
> +<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +No unused packages to remove'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RemoveCommandTest.php:119
> 
> 40) Composer\Test\Command\RemoveCommandTest::testRemoveUnusedPackage
> Failed asserting that 'Composer plugins have been disabled for safety in this non-interactive session.\n
> Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.\n
> <warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>\n
> <warning>not/req is not required in your composer.json and has not been removed</warning>\n
> ./composer.json has been updated\n
> Running composer update not/req\n
> Loading composer repositories with package information\n
> Updating dependencies\n
> Lock file operations: 0 installs, 0 updates, 1 removal\n
>   - Removing not/req (1.0.0)\n
> Writing lock file\n
> Installing dependencies from lock file (including require-dev)\n
> Nothing to install, update or remove\n
> Generating autoload files\n
> ' starts with "<warning>not/req is not required in your composer.json and has not been removed</warning>".
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RemoveCommandTest.php:147
> 
> 41) Composer\Test\Command\RemoveCommandTest::testRemovePackageByName
> Failed asserting that 'Composer plugins have been disabled for safety in this non-interactive session.\n
> Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.\n
> <warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>\n
> ./composer.json has been updated\n
> Running composer update root/req\n
> Loading composer repositories with package information\n
> Updating dependencies\n
> Lock file operations: 0 installs, 0 updates, 1 removal\n
>   - Removing root/req (1.0.0)\n
> Writing lock file\n
> Installing dependencies from lock file (including require-dev)\n
> Package operations: 0 installs, 0 updates, 1 removal\n
>   - Removing root/req (1.0.0)\n
> Generating autoload files' starts with "./composer.json has been updated".
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RemoveCommandTest.php:180
> 
> 42) Composer\Test\Command\RemoveCommandTest::testRemovePackagesByVendor
> Failed asserting that 'Composer plugins have been disabled for safety in this non-interactive session.\n
> Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.\n
> <warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>\n
> ./composer.json has been updated\n
> Running composer update root/*\n
> Loading composer repositories with package information\n
> Updating dependencies\n
> Lock file operations: 0 installs, 0 updates, 2 removals\n
>   - Removing root/another (1.0.0)\n
>   - Removing root/req (1.0.0)\n
> Writing lock file' starts with "./composer.json has been updated".
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RemoveCommandTest.php:326
> 
> 43) Composer\Test\Command\RemoveCommandTest::testRemovePackagesByVendorWithDryRun
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'./composer.json has been updated
> +'Composer plugins have been disabled for safety in this non-interactive session.
> +Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
> +<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +./composer.json has been updated
>  Running composer update root/*
>  Loading composer repositories with package information
>  Updating dependencies
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RemoveCommandTest.php:364
> 
> 44) Composer\Test\Command\RemoveCommandTest::testWarningWhenRemovingPackagesByVendorFromWrongType
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'<warning>root/req could not be found in require-dev but it is present in require</warning>
> +'Composer plugins have been disabled for safety in this non-interactive session.
> +Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
> +<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +<warning>root/req could not be found in require-dev but it is present in require</warning>
>  <warning>root/another could not be found in require-dev but it is present in require</warning>
>  ./composer.json has been updated'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RemoveCommandTest.php:388
> 
> 45) Composer\Test\Command\RequireCommandTest::testRequireWarnsIfResolvedToFeatureBranch
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'./composer.json has been updated
> -Running composer update required/pkg
> -Loading composer repositories with package information
> -Updating dependencies
> -Lock file operations: 2 installs, 0 updates, 0 removals
> -  - Locking common/dep (2.0.0)
> -  - Locking required/pkg (dev-foo-bar)
> -Installing dependencies from lock file (including require-dev)
> -Package operations: 2 installs, 0 updates, 0 removals
> -  - Installing common/dep (2.0.0)
> -  - Installing required/pkg (dev-foo-bar)
> -Using version dev-foo-bar for required/pkg
> -<warning>Version dev-foo-bar looks like it may be a feature branch which is unlikely to keep working in the long run and may be in an unstable state</warning>
> -Are you sure you want to use this constraint (Y) or would you rather abort (n) the whole operation [Y,n]? 
> -Installation failed, reverting ./composer.json to its original content.
> -'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? '
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RequireCommandTest.php:69
> 
> 46) Composer\Test\Command\RequireCommandTest::testRequire with data set "warn once for missing ext but a lower package matches" ([[['package', [['required/pkg', '1.2.0', ['^1']], ['required/pkg', '1.1.0', ['^1']], ['required/pkg', '1.0.0']]]]], [['required/pkg']], '<warning>Cannot use required/...ed/pkg')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'<warning>Cannot use required/pkg's latest version 1.2.0 as it requires ext-foobar ^1 which is missing from your platform.
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? <warning>Cannot use required/pkg's latest version 1.2.0 as it requires ext-foobar ^1 which is missing from your platform.
>  ./composer.json has been updated
>  Running composer update required/pkg
>  Loading composer repositories with package information
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RequireCommandTest.php:104
> 
> 47) Composer\Test\Command\RequireCommandTest::testRequire with data set "warn multiple times when verbose" ([[['package', [['required/pkg', '1.2.0', ['^1']], ['required/pkg', '1.1.0', ['^1']], ['required/pkg', '1.0.0']]]]], [['required/pkg'], true, true], '<warning>Cannot use required/...ed/pkg')
> Failed asserting that '<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>\n
> Continue as root/super user [yes]? <warning>Cannot use required/pkg's latest version 1.2.0 as it requires ext-foobar ^1 which is missing from your platform.\n
> <warning>Cannot use required/pkg 1.1.0 as it requires ext-foobar ^1 which is missing from your platform.\n
> ./composer.json has been updated\n
> Running composer update required/pkg\n
> Loading composer repositories with package information\n
> Updating dependencies\n
> Dependency resolution completed in 0.000 seconds\n
> Analyzed 75 packages to resolve dependencies\n
> Analyzed 76 rules to resolve dependencies\n
> Lock file operations: 1 install, 0 updates, 0 removals\n
> Installs: required/pkg:1.0.0\n
>   - Locking required/pkg (1.0.0)\n
> Using version ^1.0 for required/pkg' matches PCRE pattern "{^\<warning\>Cannot use required/pkg's latest version 1\.2\.0 as it requires ext\-foobar \^1 which is missing from your platform\.
> \<warning\>Cannot use required/pkg 1\.1\.0 as it requires ext\-foobar \^1 which is missing from your platform\.
> \./composer\.json has been updated
> Running composer update required/pkg
> Loading composer repositories with package information
> Updating dependencies
> Dependency resolution completed in [0-9.]+ seconds
> Analyzed [0-9.]+ packages to resolve dependencies
> Analyzed [0-9.]+ rules to resolve dependencies
> Lock file operations\: 1 install, 0 updates, 0 removals
> Installs\: required/pkg\:1\.0\.0
>   \- Locking required/pkg \(1\.0\.0\)
> Using version \^1\.0 for required/pkg$}".
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RequireCommandTest.php:102
> 
> 48) Composer\Test\Command\RequireCommandTest::testRequire with data set "warn for not satisfied req which is satisfied by lower version" ([[['package', [['required/pkg', '1.1.0', ['^20']], ['required/pkg', '1.0.0', ['>=7']]]]]], [['required/pkg'], true], '<warning>Cannot use required/...ed/pkg')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'<warning>Cannot use required/pkg's latest version 1.1.0 as it requires php ^20 which is not satisfied by your platform.
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? <warning>Cannot use required/pkg's latest version 1.1.0 as it requires php ^20 which is not satisfied by your platform.
>  ./composer.json has been updated
>  Running composer update required/pkg
>  Loading composer repositories with package information
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RequireCommandTest.php:104
> 
> 49) Composer\Test\Command\RequireCommandTest::testRequire with data set "version selection happens early even if not completely accurate if no update is requested" ([[['package', [['required/pkg', '1.1.0', ['^20']], ['required/pkg', '1.0.0', ['>=7']]]]]], [['required/pkg'], true], '<warning>Cannot use required/...pdated')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'<warning>Cannot use required/pkg's latest version 1.1.0 as it requires php ^20 which is not satisfied by your platform.
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? <warning>Cannot use required/pkg's latest version 1.1.0 as it requires php ^20 which is not satisfied by your platform.
>  Using version ^1.0 for required/pkg
>  ./composer.json has been updated'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RequireCommandTest.php:104
> 
> 50) Composer\Test\Command\RequireCommandTest::testRequire with data set "pick best matching version when not provided" ([[['package', [['existing/dep', '1.1.0', ['^1']], ['required/pkg', '2.0.0'], ['required/pkg', '1.1.0'], ['required/pkg', '1.0.0']]]], ['^1']], [['required/pkg'], true], './composer.json has been upda...ed/pkg')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'./composer.json has been updated
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? ./composer.json has been updated
>  Running composer update required/pkg
>  Loading composer repositories with package information
>  Updating dependencies
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RequireCommandTest.php:104
> 
> 51) Composer\Test\Command\RequireCommandTest::testRequire with data set "use exact constraint with --fixed" (['project', [['package', [['required/pkg', '1.1.0']]]]], [['required/pkg'], true, true], './composer.json has been upda...ed/pkg')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'./composer.json has been updated
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? ./composer.json has been updated
>  Running composer update required/pkg
>  Loading composer repositories with package information
>  Updating dependencies
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RequireCommandTest.php:104
> 
> 52) Composer\Test\Command\RunScriptCommandTest::testExecutionOfCustomSymfonyCommand
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'lala
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? lala
>  
>  inneropt: unset
>  outeropt: set
>  '
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RunScriptCommandTest.php:192
> 
> 53) Composer\Test\Command\SearchCommandTest::testSearch with data set "by name and description" ([['fancy']], 'bar/baz                <warni...ackage')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'bar/baz                <warning>! Abandoned !</warning> fancy baz
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? bar/baz                <warning>! Abandoned !</warning> fancy baz
>  vendor-2/fancy-package'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SearchCommandTest.php:42
> 
> 54) Composer\Test\Command\SearchCommandTest::testSearch with data set "by name and description with multiple tokens" ([['fancy', 'vendor']], 'vendor-1/package-1     generi...ackage')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor-1/package-1     generic description
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor-1/package-1     generic description
>  bar/baz                <warning>! Abandoned !</warning> fancy baz
>  vendor-2/fancy-package'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SearchCommandTest.php:42
> 
> 55) Composer\Test\Command\SearchCommandTest::testSearch with data set "by name only" ([['fancy'], true], 'vendor-2/fancy-package')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor-2/fancy-package'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor-2/fancy-package'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SearchCommandTest.php:42
> 
> 56) Composer\Test\Command\SearchCommandTest::testSearch with data set "by vendor only" ([['bar'], true], 'bar')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'bar'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? bar'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SearchCommandTest.php:42
> 
> 57) Composer\Test\Command\SearchCommandTest::testSearch with data set "by type" ([['vendor'], 'foo'], 'vendor-2/fancy-package')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor-2/fancy-package'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor-2/fancy-package'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SearchCommandTest.php:42
> 
> 58) Composer\Test\Command\SearchCommandTest::testSearch with data set "json format" ([['vendor-2/fancy'], 'json'], '[\n    {\n        "name": "ve...  }\n]')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'[
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? [
>      {
>          "name": "vendor-2/fancy-package",
>          "description": null
>      }
>  ]'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SearchCommandTest.php:42
> 
> 59) Composer\Test\Command\SearchCommandTest::testSearch with data set "no results" ([['invalid-package-name']])
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -''
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]?'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SearchCommandTest.php:42
> 
> 60) Composer\Test\Command\SearchCommandTest::testInvalidFormat
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'Unsupported format "test-format". See help for supported formats.'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Unsupported format "test-format". See help for supported formats.'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SearchCommandTest.php:56
> 
> 61) Composer\Test\Command\ShowCommandTest::testShow with data set "default shows installed with version and description" ([], 'outdated/major 1.0.0\noutdate...ackage')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'outdated/major 1.0.0
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? outdated/major 1.0.0
>  outdated/minor 1.0.0
>  outdated/patch 1.0.0
>  vendor/package 1.0.0 description of installed package'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:79
> 
> 62) Composer\Test\Command\ShowCommandTest::testShow with data set "with -s and --installed shows list of installed + self package" ([true, true], 'outdated/major 1.0.0\noutdate...ackage')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'outdated/major 1.0.0
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? outdated/major 1.0.0
>  outdated/minor 1.0.0
>  outdated/patch 1.0.0
>  root/pkg       1.2.3
>  vendor/package 1.0.0 description of installed package'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:79
> 
> 63) Composer\Test\Command\ShowCommandTest::testShow with data set "with -s and --locked shows list of installed + self package" ([true, true], 'root/pkg      1.2.3\nvendor/l...ackage')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'root/pkg      1.2.3
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? root/pkg      1.2.3
>  vendor/locked 3.0.0 description of locked package'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:79
> 
> 64) Composer\Test\Command\ShowCommandTest::testShow with data set "with -a show available packages with description but no version" ([true], 'outdated/major outdated/major...iption')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'outdated/major outdated/major v2.0.0 description
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? outdated/major outdated/major v2.0.0 description
>  outdated/minor outdated/minor v1.1.1 description
>  outdated/patch outdated/patch v1.0.1 description
>  vendor/package generic description'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:79
> 
> 65) Composer\Test\Command\ShowCommandTest::testShow with data set "show with --direct shows nothing if no deps" ([true], '')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -''
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]?'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:79
> 
> 66) Composer\Test\Command\ShowCommandTest::testShow with data set "show with --direct shows only root deps" ([true], 'outdated/major 1.0.0', ['*'])
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'outdated/major 1.0.0'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? outdated/major 1.0.0'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:79
> 
> 67) Composer\Test\Command\ShowCommandTest::testShow with data set "outdated deps" (['outdated'], 'Legend:\n! patch or minor rel...light>')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'Legend:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Legend:
>  ! patch or minor release available - update recommended
>  ~ major release available - update possible
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:79
> 
> 68) Composer\Test\Command\ShowCommandTest::testShow with data set "outdated deps sorting by age" (['outdated', true], 'Legend:\n! patch or minor rel... today')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'Legend:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Legend:
>  ! patch or minor release available - update recommended
>  ~ major release available - update possible
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:79
> 
> 69) Composer\Test\Command\ShowCommandTest::testShow with data set "outdated deps with --direct only show direct deps with updated" (['outdated', true], 'Legend:\n! patch or minor rel... 2.0.0', ['*', '*'])
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'Legend:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Legend:
>  ! patch or minor release available - update recommended
>  ~ major release available - update possible
>  outdated/major 1.0.0 ~ 2.0.0'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:79
> 
> 70) Composer\Test\Command\ShowCommandTest::testShow with data set "outdated deps with --direct show msg if all up to date" (['outdated', true], 'All your direct dependencies ...o date', ['*'])
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'All your direct dependencies are up to date'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? All your direct dependencies are up to date'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:79
> 
> 71) Composer\Test\Command\ShowCommandTest::testShow with data set "outdated deps with --major-only only shows major updates" (['outdated', true], 'Legend:\n! patch or minor rel... 2.0.0')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'Legend:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Legend:
>  ! patch or minor release available - update recommended
>  ~ major release available - update possible
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:79
> 
> 72) Composer\Test\Command\ShowCommandTest::testShow with data set "outdated deps with --minor-only only shows minor updates" (['outdated', true], 'Legend:\n! patch or minor rel...light>', ['*'])
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'Legend:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Legend:
>  ! patch or minor release available - update recommended
>  ~ major release available - update possible
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:79
> 
> 73) Composer\Test\Command\ShowCommandTest::testShow with data set "outdated deps with --patch-only only shows patch updates" (['outdated', true], 'Legend:\n! patch or minor rel...light>')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'Legend:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Legend:
>  ! patch or minor release available - update recommended
>  ~ major release available - update possible
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:79
> 
> 74) Composer\Test\Command\ShowCommandTest::testOutdatedFiltersAccordingToPlatformReqsAndWarns
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'<warning>Cannot use vendor/package 1.1.0 as it requires ext-missing 3 which is missing from your platform.
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? <warning>Cannot use vendor/package 1.1.0 as it requires ext-missing 3 which is missing from your platform.
>  Legend:
>  ! patch or minor release available - update recommended
>  ~ major release available - update possible
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:242
> 
> 75) Composer\Test\Command\ShowCommandTest::testOutdatedFiltersAccordingToPlatformReqsWithoutWarningForHigherVersions
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'Legend:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Legend:
>  ! patch or minor release available - update recommended
>  ~ major release available - update possible
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:291
> 
> 76) Composer\Test\Command\ShowCommandTest::testOutdatedWithZeroMajor
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'Legend:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Legend:
>  ! patch or minor release available - update recommended
>  ~ major release available - update possible
>  zero/patch 0.1.2 <highlight>! 0.1.2.1</highlight>'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:434
> 
> 77) Composer\Test\Command\ShowCommandTest::testShowAllShowsAllSections
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'platform: wiped
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? platform: wiped
>  
>  locked:
>    vendor/locked 3.0.0 description of locked package
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:489
> 
> 78) Composer\Test\Command\ShowCommandTest::testLockedShowsAllLocked
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor/locked 3.0.0 description of locked package'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor/locked 3.0.0 description of locked package'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:526
> 
> 79) Composer\Test\Command\ShowCommandTest::testSelfAndNameOnly
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor/package'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor/package'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:614
> 
> 80) Composer\Test\Command\ShowCommandTest::testSelf
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'name     : vendor/package
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? name     : vendor/package
>  descrip. : 
>  keywords : 
>  versions : * 1.2.3
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:656
> 
> 81) Composer\Test\Command\ShowCommandTest::testNoDevOption
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor/package 1.0.0'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor/package 1.0.0'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:696
> 
> 82) Composer\Test\Command\ShowCommandTest::testNameOnlyPrintsNoTrailingWhitespace
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor/apackage
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor/apackage
>  vendor/longpackagename
>  vendor/somepackage'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ShowCommandTest.php:911
> 
> 83) Composer\Test\Command\StatusCommandTest::testNoLocalChanges
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'No local changes'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? No local changes'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/StatusCommandTest.php:33
> 
> 84) Composer\Test\Command\SuggestsCommandTest::testInstalledPackagesWithNoSuggestions
> Failed asserting that a string is empty.
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:50
> 
> 85) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested" (true, [], 'vendor1/package1 suggests:\n ... --all')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package1 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor1/package1 suggests:
>   - vendor3/suggested: helpful for vendor1/package1
>  
>  vendor2/package2 suggests:
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 86) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested" (false, [], 'vendor1/package1 suggests:\n ... --all')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package1 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor1/package1 suggests:
>   - vendor3/suggested: helpful for vendor1/package1
>  
>  vendor2/package2 suggests:
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 87) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested (excluding dev)" (true, [true], 'vendor1/package1 suggests:\n ... --all')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package1 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor1/package1 suggests:
>   - vendor3/suggested: helpful for vendor1/package1
>  
>  1 additional suggestions by transitive dependencies can be shown with --all'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 88) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested (excluding dev)" (false, [true], 'vendor1/package1 suggests:\n ... --all')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package1 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor1/package1 suggests:
>   - vendor3/suggested: helpful for vendor1/package1
>  
>  vendor2/package2 suggests:
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 89) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show all suggested" (true, [true], 'vendor1/package1 suggests:\n ...ckage6')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package1 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor1/package1 suggests:
>   - vendor3/suggested: helpful for vendor1/package1
>  
>  vendor2/package2 suggests:
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 90) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show all suggested" (false, [true], 'vendor1/package1 suggests:\n ...ckage6')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package1 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor1/package1 suggests:
>   - vendor3/suggested: helpful for vendor1/package1
>  
>  vendor2/package2 suggests:
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 91) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show all suggested (excluding dev)" (true, [true, true], 'vendor1/package1 suggests:\n ...ckage6')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package1 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor1/package1 suggests:
>   - vendor3/suggested: helpful for vendor1/package1
>  
>  vendor6/package6 suggests:
>   - vendor7/transitive: helpful for vendor6/package6'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 92) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show all suggested (excluding dev)" (false, [true, true], 'vendor1/package1 suggests:\n ...ckage6')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package1 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor1/package1 suggests:
>   - vendor3/suggested: helpful for vendor1/package1
>  
>  vendor2/package2 suggests:
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 93) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested grouped by package" (true, [true], 'vendor1/package1 suggests:\n ... --all')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package1 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor1/package1 suggests:
>   - vendor3/suggested: helpful for vendor1/package1
>  
>  vendor2/package2 suggests:
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 94) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested grouped by package" (false, [true], 'vendor1/package1 suggests:\n ... --all')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package1 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor1/package1 suggests:
>   - vendor3/suggested: helpful for vendor1/package1
>  
>  vendor2/package2 suggests:
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 95) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested grouped by package (excluding dev)" (true, [true, true], 'vendor1/package1 suggests:\n ... --all')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package1 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor1/package1 suggests:
>   - vendor3/suggested: helpful for vendor1/package1
>  
>  1 additional suggestions by transitive dependencies can be shown with --all'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 96) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested grouped by package (excluding dev)" (false, [true, true], 'vendor1/package1 suggests:\n ... --all')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package1 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor1/package1 suggests:
>   - vendor3/suggested: helpful for vendor1/package1
>  
>  vendor2/package2 suggests:
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 97) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested grouped by suggestion" (true, [true], 'vendor3/suggested is suggeste... --all')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor3/suggested is suggested by:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor3/suggested is suggested by:
>   - vendor1/package1: helpful for vendor1/package1
>  
>  vendor4/dev-suggested is suggested by:
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 98) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested grouped by suggestion" (false, [true], 'vendor3/suggested is suggeste... --all')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor3/suggested is suggested by:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor3/suggested is suggested by:
>   - vendor1/package1: helpful for vendor1/package1
>  
>  vendor4/dev-suggested is suggested by:
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 99) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested grouped by suggestion (excluding dev)" (true, [true, true], 'vendor3/suggested is suggeste... --all')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor3/suggested is suggested by:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor3/suggested is suggested by:
>   - vendor1/package1: helpful for vendor1/package1
>  
>  1 additional suggestions by transitive dependencies can be shown with --all'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 100) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested grouped by suggestion (excluding dev)" (false, [true, true], 'vendor3/suggested is suggeste... --all')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor3/suggested is suggested by:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor3/suggested is suggested by:
>   - vendor1/package1: helpful for vendor1/package1
>  
>  vendor4/dev-suggested is suggested by:
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 101) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested grouped by package and suggestion" (true, [true, true], 'vendor1/package1 suggests:\n ... --all')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package1 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor1/package1 suggests:
>   - vendor3/suggested: helpful for vendor1/package1
>  
>  vendor2/package2 suggests:
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 102) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested grouped by package and suggestion" (false, [true, true], 'vendor1/package1 suggests:\n ... --all')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package1 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor1/package1 suggests:
>   - vendor3/suggested: helpful for vendor1/package1
>  
>  vendor2/package2 suggests:
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 103) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested grouped by package and suggestion (excluding dev)" (true, [true, true, true], 'vendor1/package1 suggests:\n ... --all')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package1 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor1/package1 suggests:
>   - vendor3/suggested: helpful for vendor1/package1
>  
>  ------------------------------------------------------------------------------
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 104) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested grouped by package and suggestion (excluding dev)" (false, [true, true, true], 'vendor1/package1 suggests:\n ... --all')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor1/package1 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor1/package1 suggests:
>   - vendor3/suggested: helpful for vendor1/package1
>  
>  vendor2/package2 suggests:
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 105) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested for package" (true, [['vendor2/package2']], 'vendor2/package2 suggests:\n ...ckage2')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor2/package2 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor2/package2 suggests:
>   - vendor4/dev-suggested: helpful for vendor2/package2'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 106) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested for package" (false, [['vendor2/package2']], 'vendor2/package2 suggests:\n ...ckage2')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor2/package2 suggests:
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor2/package2 suggests:
>   - vendor4/dev-suggested: helpful for vendor2/package2'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 107) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, list suggested" (true, [true], 'vendor3/suggested\nvendor4/de...gested')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor3/suggested
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor3/suggested
>  vendor4/dev-suggested'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 108) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, list suggested" (false, [true], 'vendor3/suggested\nvendor4/de...gested')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor3/suggested
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor3/suggested
>  vendor4/dev-suggested'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 109) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, list suggested with no transitive or no-dev dependencies" (true, [true, true], 'vendor3/suggested')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor3/suggested'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor3/suggested'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 110) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, list suggested with no transitive or no-dev dependencies" (false, [true, true], 'vendor3/suggested\nvendor4/de...gested')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor3/suggested
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor3/suggested
>  vendor4/dev-suggested'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 111) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, list suggested with all dependencies including transitive and dev dependencies" (true, [true, true], 'vendor3/suggested\nvendor4/de...sitive')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor3/suggested
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor3/suggested
>  vendor4/dev-suggested
>  vendor7/transitive
>  vendor8/dev-transitive'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 112) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, list suggested with all dependencies including transitive and dev dependencies" (false, [true, true], 'vendor3/suggested\nvendor4/de...sitive')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor3/suggested
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor3/suggested
>  vendor4/dev-suggested
>  vendor7/transitive
>  vendor8/dev-transitive'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 113) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, list all suggested (excluding dev)" (true, [true, true, true], 'vendor3/suggested\nvendor7/transitive')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor3/suggested
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor3/suggested
>  vendor7/transitive'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 114) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, list all suggested (excluding dev)" (false, [true, true, true], 'vendor3/suggested\nvendor4/de...sitive')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'vendor3/suggested
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? vendor3/suggested
>  vendor4/dev-suggested
>  vendor7/transitive
>  vendor8/dev-transitive'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:129
> 
> 115) Composer\Test\Command\UpdateCommandTest::testUpdate with data set "simple update" ([[['package', [['root/req', '1.0.0', ['^1']], ['dep/pkg', '1.0.0'], ['dep/pkg', '1.0.1'], ['dep/pkg', '1.0.2']]]], ['1.*']], [], 'Loading composer repositories...1.0.0)')
> Failed asserting that string matches format description.
> --- Expected
> +++ Actual
> @@ @@
> -Loading composer repositories with package information
> +<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Loading composer repositories with package information
>  Updating dependencies
>  Lock file operations: 2 installs, 0 updates, 0 removals
>    - Locking dep/pkg (1.0.2)
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/UpdateCommandTest.php:32
> 
> 116) Composer\Test\Command\UpdateCommandTest::testUpdate with data set "simple update with very verbose output" ([[['package', [['root/req', '1.0.0', ['^1']], ['dep/pkg', '1.0.0'], ['dep/pkg', '1.0.1'], ['dep/pkg', '1.0.2']]]], ['1.*']], [true], 'Loading composer repositories...1.0.0)')
> Failed asserting that string matches format description.
> --- Expected
> +++ Actual
> @@ @@
> -Loading composer repositories with package information
> -Pool optimizer completed in %f seconds
> -Found %d package versions referenced in your dependency graph. %d (%d%%) were optimized away.
> +<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Loading composer repositories with package information
> +Pool optimizer completed in 0.000 seconds
> +Found 77 package versions referenced in your dependency graph. 2 (3%) were optimized away.
>  Updating dependencies
> -Dependency resolution completed in %f seconds
> -Analyzed %d packages to resolve dependencies
> -Analyzed %d rules to resolve dependencies
> +Dependency resolution completed in 0.000 seconds
> +Analyzed 75 packages to resolve dependencies
> +Analyzed 75 rules to resolve dependencies
>  Lock file operations: 2 installs, 0 updates, 0 removals
>  Installs: dep/pkg:1.0.2, root/req:1.0.0
>    - Locking dep/pkg (1.0.2) from package repo (defining 4 packages)
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/UpdateCommandTest.php:32
> 
> 117) Composer\Test\Command\UpdateCommandTest::testUpdate with data set "update with temporary constraint + --no-install" ([[['package', [['root/req', '1.0.0', ['^1']], ['dep/pkg', '1.0.0'], ['dep/pkg', '1.0.1'], ['dep/pkg', '1.0.2']]]], ['1.*']], [['dep/pkg:1.0.0'], true], 'Loading composer repositories...1.0.0)')
> Failed asserting that string matches format description.
> --- Expected
> +++ Actual
> @@ @@
> -Loading composer repositories with package information
> +<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Loading composer repositories with package information
>  Updating dependencies
>  Lock file operations: 2 installs, 0 updates, 0 removals
>    - Locking dep/pkg (1.0.0)
>    - Locking root/req (1.0.0)
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/UpdateCommandTest.php:32
> 
> 118) Composer\Test\Command\UpdateCommandTest::testUpdate with data set "update with temporary constraint failing resolution" ([[['package', [['root/req', '1.0.0', ['^1']], ['dep/pkg', '1.0.0'], ['dep/pkg', '1.0.1'], ['dep/pkg', '1.0.2']]]], ['1.*']], [['dep/pkg:^2']], 'Loading composer repositories...g:^2).')
> Failed asserting that string matches format description.
> --- Expected
> +++ Actual
> @@ @@
> -Loading composer repositories with package information
> +<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? Loading composer repositories with package information
>  Updating dependencies
>  Your requirements could not be resolved to an installable set of packages.
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/UpdateCommandTest.php:32
> 
> 119) Composer\Test\Command\UpdateCommandTest::testUpdate with data set "update with temporary constraint failing resolution on root package" ([[['package', [['root/req', '1.0.0', ['^1']], ['dep/pkg', '1.0.0'], ['dep/pkg', '1.0.1'], ['dep/pkg', '1.0.2']]]], ['1.*']], [['root/req:^2']], 'The temporary constraint "^2"...traint')
> Failed asserting that string matches format description.
> --- Expected
> +++ Actual
> @@ @@
> -The temporary constraint "^2" for "root/req" must be a subset of the constraint in your composer.json (1.*)
> +<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? The temporary constraint "^2" for "root/req" must be a subset of the constraint in your composer.json (1.*)
>  Run `composer require root/req` or `composer require root/req:^2` instead to replace the constraint
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/UpdateCommandTest.php:32
> 
> 120) Composer\Test\Command\UpdateCommandTest::testInteractiveModeThrowsIfNoPackageEntered
> Failed asserting that exception of type "Symfony\Component\Console\Exception\MissingInputException" matches expected exception "InvalidArgumentException". Message was: "Aborted." at
> /usr/share/php/Symfony/Component/Console/Helper/QuestionHelper.php:139
> /usr/share/php/Symfony/Component/Console/Helper/QuestionHelper.php:68
> /<<PKGBUILDDIR>>/build/share/php/Composer/Command/UpdateCommand.php:287
> /<<PKGBUILDDIR>>/build/share/php/Composer/Command/UpdateCommand.php:171
> /usr/share/php/Symfony/Component/Console/Command/Command.php:326
> /usr/share/php/Symfony/Component/Console/Application.php:1078
> /usr/share/php/Symfony/Component/Console/Application.php:324
> /<<PKGBUILDDIR>>/build/share/php/Composer/Console/Application.php:389
> /usr/share/php/Symfony/Component/Console/Application.php:175
> /<<PKGBUILDDIR>>/build/share/php/Composer/Console/Application.php:147
> /usr/share/php/Symfony/Component/Console/Tester/ApplicationTester.php:66
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/UpdateCommandTest.php:136
> .
> 
> 121) Composer\Test\Command\ValidateCommandTest::testValidate with data set "validation passing" (['test/suite', 'library', 'A generical test suite', 'MIT', [['package', [['root/req', '1.0.0', ['^1']], ['dep/pkg', '1.0.0'], ['dep/pkg', '1.0.1'], ['dep/pkg', '1.0.2']]]], ['1.*']], [], '<warning>Composer could not d... valid')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'<warning>Composer could not detect the root package (test/suite) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version</warning>
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? <warning>Composer could not detect the root package (test/suite) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version</warning>
>  <warning>Composer could not detect the root package (test/suite) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version</warning>
>  ./composer.json is valid'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ValidateCommandTest.php:33
> 
> 122) Composer\Test\Command\ValidateCommandTest::testValidate with data set "passing but with warnings" ([[['package', [['root/req', '1.0.0', ['^1']], ['dep/pkg', '1.0.0'], ['dep/pkg', '1.0.1'], ['dep/pkg', '1.0.2']]]], ['1.*']], [], './composer.json is valid for ...cense.')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'./composer.json is valid for simple usage with Composer but has
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? ./composer.json is valid for simple usage with Composer but has
>  strict errors that make it unable to be published as a package
>  <warning>See https://getcomposer.org/doc/04-schema.md for details on the schema</warning>
>  # Publish errors
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ValidateCommandTest.php:33
> 
> 123) Composer\Test\Command\ValidateCommandTest::testValidate with data set "passing without publish-check" ([[['package', [['root/req', '1.0.0', ['^1']], ['dep/pkg', '1.0.0'], ['dep/pkg', '1.0.1'], ['dep/pkg', '1.0.2']]]], ['1.*']], [true], './composer.json is valid for ...quired')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'./composer.json is valid for simple usage with Composer but has
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? ./composer.json is valid for simple usage with Composer but has
>  strict errors that make it unable to be published as a package
>  <warning>See https://getcomposer.org/doc/04-schema.md for details on the schema</warning>
>  <warning># General warnings</warning>
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ValidateCommandTest.php:33
> 
> 124) Composer\Test\Command\ValidateCommandTest::testValidateOnFileIssues
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'./composer.json not found.'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? ./composer.json not found.'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ValidateCommandTest.php:45
> 
> 125) Composer\Test\Command\ValidateCommandTest::testWithComposerLock
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'<warning>Composer could not detect the root package (test/suite) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version</warning>
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? <warning>Composer could not detect the root package (test/suite) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version</warning>
>  <warning>Composer could not detect the root package (test/suite) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version</warning>
>  ./composer.json is valid but your composer.lock has some errors
>  # Lock file errors
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ValidateCommandTest.php:66
> 
> 126) Composer\Test\Command\ValidateCommandTest::testUnaccessibleFile
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'./composer.json is not readable.'
> +'<warning>Do not run Composer as root/super user! See https://getcomposer.org/root for details</warning>
> +Continue as root/super user [yes]? <warning>Composer could not detect the root package (test/suite) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version</warning>
> +<warning>Composer could not detect the root package (test/suite) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version</warning>
> +./composer.json is valid'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ValidateCommandTest.php:82
> 
> --
> 
...
> 
> There was 1 risky test:
> 
> 1) Composer\Test\Command\RequireCommandTest::testRequireWarnsIfResolvedToFeatureBranch
> Test code or tested code did not remove its own error handlers
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/RequireCommandTest.php:46
> 
> ERRORS!
> Tests: 2332, Assertions: 5418, Errors: 10, Failures: 126, Warnings: 323, Deprecations: 808, Skipped: 11, Risky: 1.
> make[1]: *** [debian/rules:58: override_dh_auto_test] Error 2


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/composer/composer_2.7.4-1+rebuild1714364215_amd64-2024-04-29T04:16:56Z.build



More information about the pkg-php-pear mailing list