[pkg-php-pear] Bug#1039730: composer: FTBFS with symfony 6: make[1]: *** [debian/rules:44: override_dh_auto_test] Error 2

Athos Ribeiro athoscribeiro at gmail.com
Wed Jun 28 19:40:42 BST 2023


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

Hi,

We are about to start the symfony 6 transition in unstable. During a test
rebuild, composer was found to fail to build with symfony 6.

To reproduce this locally, you need to install the symfony 6 packages from
experimental on an unstable system or build chroot.

Relevant part (hopefully):
> 
> There was 1 error:
> 
> 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>>/src/Composer/IO/ConsoleIO.php:269
> /<<PKGBUILDDIR>>/src/Composer/Console/Application.php:333
> /<<PKGBUILDDIR>>/tests/Composer/Test/ApplicationTest.php:49
> 
> --
> 
> There were 103 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\BumpCommandTest::testBumpFailsOnWriteErrorToComposerFile
> Failed asserting that 0 is identical to 1.
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/BumpCommandTest.php:69
> 
> 3) Composer\Test\Command\CheckPlatformReqsCommandTest::testPlatformReqsAreSatisfied with data set "Disables checking of require-dev packages requirements." (array(array('^2.0'), array('~4.0')), array(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
> 
> 4) Composer\Test\Command\CheckPlatformReqsCommandTest::testPlatformReqsAreSatisfied with data set "Checks requirements only from the lock file, not from installed packages." (array(array('^2.3'), array('~2.0')), array(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
> 
> 5) Composer\Test\Command\ConfigCommandTest::testConfigReads with data set "read description" (array('foo bar'), array('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:100
> 
> 6) Composer\Test\Command\ConfigCommandTest::testConfigReads with data set "read vendor-dir with source" (array(array('lala')), array('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:100
> 
> 7) Composer\Test\Command\ConfigCommandTest::testConfigReads with data set "read default vendor-dir" (array(), array('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:100
> 
> 8) Composer\Test\Command\ConfigCommandTest::testConfigReads with data set "read repos by named key" (array(array(array('vcs', 'https://example.org'), array('composer', 'https://repo.packagist.org'))), array('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:100
> 
> 9) Composer\Test\Command\ConfigCommandTest::testConfigReads with data set "read repos by numeric index" (array(array(array('vcs', 'https://example.org'), array('composer', 'https://repo.packagist.org'))), array('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:100
> 
> 10) Composer\Test\Command\ConfigCommandTest::testConfigReads with data set "read all repos includes the default packagist" (array(array(array('vcs', 'https://example.org'), array('composer', 'https://repo.packagist.org'))), array('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:100
> 
> 11) Composer\Test\Command\ConfigCommandTest::testConfigReads with data set "read all repos does not include the disabled packagist" (array(array(array('vcs', 'https://example.org'), false)), array('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:100
> 
> 12) 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
> 
> 13) Composer\Test\Command\FundCommandTest::testFundCommand with data set "no funding links present, locally or remotely" (array(array(), array('^2.0'), array('~4.0')), array(), array(), '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
> 
> 14) Composer\Test\Command\FundCommandTest::testFundCommand with data set "funding links set locally are used as fallback if not found remotely" (array(array(), array('^2.0'), array('~4.0')), array(), array(array('github', 'https://github.com/composer-test-data'), array('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
> 
> 15) Composer\Test\Command\FundCommandTest::testFundCommand with data set "funding links set remotely are used as primary if found" (array(array(array('package', array(array('first/pkg', 'dev-foo', array(array('github', 'https://github.com/test-shoul...e-used'))), array('first/pkg', 'dev-main', true, array(array('custom', 'https://example.org'))), array('dev/pkg', 'dev-foo', true, array(array('github', 'https://github.com/org'))), array('stable/pkg', '1.0.0', array(array('github', 'org2')))))), array('^2.0', '^1.0'), array('~4.0')), array(), array(array('github', 'https://github.com/composer-test-data'), array('github', 'https://github.com/composer-t...ta-dev'), array('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
> 
> 16) Composer\Test\Command\FundCommandTest::testFundCommand with data set "format funding links as JSON" (array(array(), array('^2.0'), array('~4.0')), array('json'), array(array('github', 'https://github.com/composer-test-data'), array('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
> 
> 17) Composer\Test\Command\HomeCommandTest::testHomeCommandWithShowFlag with data set "Invalid or missing repository URL" (array(array(array('package', array(array('vendor/package', 'generic description', '1.0.0')))), array('^1.0')), array(array('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
> 
> 18) Composer\Test\Command\HomeCommandTest::testHomeCommandWithShowFlag with data set "No Packages Provided" (array(array()), array(), '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
> 
> 19) Composer\Test\Command\HomeCommandTest::testHomeCommandWithShowFlag with data set "Package not found" (array(array()), array(array('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
> 
> 20) Composer\Test\Command\HomeCommandTest::testHomeCommandWithShowFlag with data set "A valid package URL" (array(array()), array(array('vendor/package')), 'https://example.org', array('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
> 
> 21) Composer\Test\Command\HomeCommandTest::testHomeCommandWithShowFlag with data set "A valid dev package URL" (array(array()), array(array('vendor/devpackage')), 'https://example.org/dev', array('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
> 
> 22) 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:80
> 
> 23) 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:110
> 
> 24) 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:172
> 
> 25) 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
> 
> 26) 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
> 
> 27) 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
> 
> 28) 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
> 
> 29) Composer\Test\Command\RemoveCommandTest::testRemoveUnusedPackage
> Failed asserting that '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.\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
> 
> 30) Composer\Test\Command\RemoveCommandTest::testRemovePackageByName
> Failed asserting that '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.\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
> 
> 31) Composer\Test\Command\RemoveCommandTest::testRemovePackagesByVendor
> Failed asserting that '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.\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
> 
> 32) 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
> 
> 33) 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
> 
> 34) 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
> 
> 35) Composer\Test\Command\RequireCommandTest::testRequire with data set "warn once for missing ext but a lower package matches" (array(array(array('package', array(array('required/pkg', '1.2.0', array('^1')), array('required/pkg', '1.1.0', array('^1')), array('required/pkg', '1.0.0'))))), array(array('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
> 
> 36) Composer\Test\Command\RequireCommandTest::testRequire with data set "warn multiple times when verbose" (array(array(array('package', array(array('required/pkg', '1.2.0', array('^1')), array('required/pkg', '1.1.0', array('^1')), array('required/pkg', '1.0.0'))))), array(array('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
> 
> 37) Composer\Test\Command\RequireCommandTest::testRequire with data set "warn for not satisfied req which is satisfied by lower version" (array(array(array('package', array(array('required/pkg', '1.1.0', array('^20')), array('required/pkg', '1.0.0', array('>=7')))))), array(array('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
> 
> 38) Composer\Test\Command\RequireCommandTest::testRequire with data set "version selection happens early even if not completely accurate if no update is requested" (array(array(array('package', array(array('required/pkg', '1.1.0', array('^20')), array('required/pkg', '1.0.0', array('>=7')))))), array(array('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
> 
> 39) Composer\Test\Command\RequireCommandTest::testRequire with data set "pick best matching version when not provided" (array(array(array('package', array(array('existing/dep', '1.1.0', array('^1')), array('required/pkg', '2.0.0'), array('required/pkg', '1.1.0'), array('required/pkg', '1.0.0')))), array('^1')), array(array('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
> 
> 40) Composer\Test\Command\RequireCommandTest::testRequire with data set "use exact constraint with --fixed" (array('project', array(array('package', array(array('required/pkg', '1.1.0'))))), array(array('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
> 
> 41) 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:166
> 
> 42) Composer\Test\Command\SearchCommandTest::testSearch with data set "by name and description" (array(array('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
> 
> 43) Composer\Test\Command\SearchCommandTest::testSearch with data set "by name and description with multiple tokens" (array(array('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
> 
> 44) Composer\Test\Command\SearchCommandTest::testSearch with data set "by name only" (array(array('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
> 
> 45) Composer\Test\Command\SearchCommandTest::testSearch with data set "by vendor only" (array(array('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
> 
> 46) Composer\Test\Command\SearchCommandTest::testSearch with data set "by type" (array(array('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
> 
> 47) Composer\Test\Command\SearchCommandTest::testSearch with data set "json format" (array(array('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
> 
> 48) Composer\Test\Command\SearchCommandTest::testSearch with data set "no results" (array(array('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
> 
> 49) 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
> 
> 50) Composer\Test\Command\ShowCommandTest::testShow with data set "default shows installed with version and description" (array(), '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:67
> 
> 51) Composer\Test\Command\ShowCommandTest::testShow with data set "with -a show available packages with description but no version" (array(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:67
> 
> 52) Composer\Test\Command\ShowCommandTest::testShow with data set "show with --direct shows nothing if no deps" (array(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:67
> 
> 53) Composer\Test\Command\ShowCommandTest::testShow with data set "show with --direct shows only root deps" (array(true), 'outdated/major 1.0.0', array('*'))
> 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:67
> 
> 54) Composer\Test\Command\ShowCommandTest::testShow with data set "outdated deps" (array('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:67
> 
> 55) Composer\Test\Command\ShowCommandTest::testShow with data set "outdated deps with --direct only show direct deps with updated" (array('outdated', true), 'Legend:\n! patch or minor rel... 2.0.0', array('*', '*'))
> 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:67
> 
> 56) Composer\Test\Command\ShowCommandTest::testShow with data set "outdated deps with --direct show msg if all up to date" (array('outdated', true), 'All your direct dependencies ...o date', array('*'))
> 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:67
> 
> 57) Composer\Test\Command\ShowCommandTest::testShow with data set "outdated deps with --major-only only shows major updates" (array('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:67
> 
> 58) Composer\Test\Command\ShowCommandTest::testShow with data set "outdated deps with --minor-only only shows minor updates" (array('outdated', true), 'Legend:\n! patch or minor rel...light>', array('*'))
> 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:67
> 
> 59) Composer\Test\Command\ShowCommandTest::testShow with data set "outdated deps with --patch-only only shows patch updates" (array('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:67
> 
> 60) 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:200
> 
> 61) 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:249
> 
> 62) 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:334
> 
> 63) 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:389
> 
> 64) Composer\Test\Command\SuggestsCommandTest::testInstalledPackagesWithNoSuggestions
> Failed asserting that a string is empty.
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/SuggestsCommandTest.php:50
> 
> 65) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested" (true, array(), '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
> 
> 66) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested" (false, array(), '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
> 
> 67) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested (excluding dev)" (true, array(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
> 
> 68) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested (excluding dev)" (false, array(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
> 
> 69) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show all suggested" (true, array(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
> 
> 70) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show all suggested" (false, array(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
> 
> 71) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show all suggested (excluding dev)" (true, array(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
> 
> 72) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show all suggested (excluding dev)" (false, array(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
> 
> 73) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested grouped by package" (true, array(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
> 
> 74) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested grouped by package" (false, array(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
> 
> 75) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested grouped by package (excluding dev)" (true, array(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
> 
> 76) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested grouped by package (excluding dev)" (false, array(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
> 
> 77) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested grouped by suggestion" (true, array(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
> 
> 78) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested grouped by suggestion" (false, array(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
> 
> 79) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested grouped by suggestion (excluding dev)" (true, array(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
> 
> 80) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested grouped by suggestion (excluding dev)" (false, array(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
> 
> 81) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested grouped by package and suggestion" (true, array(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
> 
> 82) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested grouped by package and suggestion" (false, array(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
> 
> 83) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested grouped by package and suggestion (excluding dev)" (true, array(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
> 
> 84) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested grouped by package and suggestion (excluding dev)" (false, array(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
> 
> 85) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, show suggested for package" (true, array(array('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
> 
> 86) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, show suggested for package" (false, array(array('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
> 
> 87) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, list suggested" (true, array(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
> 
> 88) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, list suggested" (false, array(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
> 
> 89) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, list suggested with no transitive or no-dev dependencies" (true, array(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
> 
> 90) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, list suggested with no transitive or no-dev dependencies" (false, array(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
> 
> 91) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, list suggested with all dependencies including transitive and dev dependencies" (true, array(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
> 
> 92) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, list suggested with all dependencies including transitive and dev dependencies" (false, array(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
> 
> 93) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "with lockfile, list all suggested (excluding dev)" (true, array(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
> 
> 94) Composer\Test\Command\SuggestsCommandTest::testSuggest with data set "without lockfile, list all suggested (excluding dev)" (false, array(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
> 
> 95) Composer\Test\Command\UpdateCommandTest::testUpdate with data set "simple update" (array(array(array('package', array(array('root/req', '1.0.0', array('^1')), array('dep/pkg', '1.0.0'), array('dep/pkg', '1.0.1'), array('dep/pkg', '1.0.2')))), array('1.*')), array(), 'Loading composer repositories...1.0.0)')
> Failed asserting that two strings are identical.
> --- 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:31
> 
> 96) Composer\Test\Command\UpdateCommandTest::testUpdate with data set "update with temporary constraint + --no-install" (array(array(array('package', array(array('root/req', '1.0.0', array('^1')), array('dep/pkg', '1.0.0'), array('dep/pkg', '1.0.1'), array('dep/pkg', '1.0.2')))), array('1.*')), array(array('dep/pkg:1.0.0'), true), 'Loading composer repositories...1.0.0)')
> Failed asserting that two strings are identical.
> --- 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:31
> 
> 97) Composer\Test\Command\UpdateCommandTest::testUpdate with data set "update with temporary constraint failing resolution" (array(array(array('package', array(array('root/req', '1.0.0', array('^1')), array('dep/pkg', '1.0.0'), array('dep/pkg', '1.0.1'), array('dep/pkg', '1.0.2')))), array('1.*')), array(array('dep/pkg:^2')), 'Loading composer repositories...g:^2).')
> Failed asserting that two strings are identical.
> --- 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:31
> 
> 98) Composer\Test\Command\ValidateCommandTest::testValidate with data set "validation passing" (array('test/suite', 'library', 'A generical test suite', 'MIT', array(array('package', array(array('root/req', '1.0.0', array('^1')), array('dep/pkg', '1.0.0'), array('dep/pkg', '1.0.1'), array('dep/pkg', '1.0.2')))), array('1.*')), array(), './composer.json is valid')
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'./composer.json is valid'
> +'<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'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ValidateCommandTest.php:33
> 
> 99) Composer\Test\Command\ValidateCommandTest::testValidate with data set "passing but with warnings" (array(array(array('package', array(array('root/req', '1.0.0', array('^1')), array('dep/pkg', '1.0.0'), array('dep/pkg', '1.0.1'), array('dep/pkg', '1.0.2')))), array('1.*')), array(), './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
> 
> 100) Composer\Test\Command\ValidateCommandTest::testValidate with data set "passing without publish-check" (array(array(array('package', array(array('root/req', '1.0.0', array('^1')), array('dep/pkg', '1.0.0'), array('dep/pkg', '1.0.1'), array('dep/pkg', '1.0.2')))), array('1.*')), array(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
> 
> 101) 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
> 
> 102) Composer\Test\Command\ValidateCommandTest::testWithComposerLock
> Failed asserting that two strings are identical.
> --- Expected
> +++ Actual
> @@ @@
> -'./composer.json is valid but your composer.lock has some errors
> +'<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 but your composer.lock has some errors
>  # Lock file errors
>  - Required package "root/req" is not present in the lock file.
>  This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
>  Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md
>  and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ValidateCommandTest.php:64
> 
> 103) 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]? ./composer.json is valid'
> 
> /<<PKGBUILDDIR>>/tests/Composer/Test/Command/ValidateCommandTest.php:80
> 
> ERRORS!
> Tests: 2200, Assertions: 5136, Errors: 1, Failures: 103, Skipped: 8.
> make[1]: *** [debian/rules:44: override_dh_auto_test] Error 2


The full build logs and additional context is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/symfony6/0/composer/

A symfony reverse-dependencies rebuild status is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/symfony6/index.html

-- 
Athos Ribeiro



More information about the pkg-php-pear mailing list