Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer 2.0 Support #4712

Closed
nanasess opened this issue Oct 2, 2020 · 9 comments
Closed

Composer 2.0 Support #4712

nanasess opened this issue Oct 2, 2020 · 9 comments
Labels
improvement 機能改善
Milestone

Comments

@nanasess
Copy link
Contributor

nanasess commented Oct 2, 2020

概要(Overview)

Composer 2.0 を使用できるようにする

期待する内容(Expect) or 要望 (Requirement)

Composer 2.0 を使用して、以下を実施する

  • インストール
  • プラグインの管理

再現手順(Procedure)

composer 2.0 にアップデート

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php composer.phar selfupdate --preview
Updating to version 2.0.0-RC1 (preview channel).
   Downloading (100%)
Use composer self-update --rollback to return to version 1.10.13

composer install を実行

php composer.phar install --no-plugins

Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - ec-cube/plugin-installer is locked to version 0.0.8 and an update of this package was not requested.
    - ec-cube/plugin-installer 0.0.8 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
  Problem 2
    - ocramius/package-versions is locked to version 1.4.2 and an update of this package was not requested.
    - ocramius/package-versions 1.4.2 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
  Problem 3
    - ocramius/package-versions 1.4.2 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
    - ocramius/proxy-manager 2.1.1 requires ocramius/package-versions ^1.1.1 -> satisfiable by ocramius/package-versions[1.4.2].
    - ocramius/proxy-manager is locked to version 2.1.1 and an update of this package was not requested.

Use the option --with-all-dependencies to allow upgrades, downgrades and removals for packages currently locked to specific versions.

ocramius/package-versions only provides support for Composer 2 in 1.8+, which requires PHP 7.4.
If you can not upgrade PHP you can require composer/package-versions-deprecated to resolve this with PHP 7.0+.

You are using a snapshot build of Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report an issue to them to ask them to support Composer 2. To work around this you can run Composer with --ignore-platform-req=composer-plugin-api, but this may result in broken plugins and bigger problems down the line.

環境 (environment)

  • EC-CUBE: 4.0.5
  • PHP: 7.4.10

関連情報 (Ref)

@nanasess
Copy link
Contributor Author

nanasess commented Oct 2, 2020

composer 1.10.11 では、以下の非推奨警告が出る

同梱しているプラグインの PSR-4 違反。

Deprecation Notice: Class Plugin\EntityExtension\Entity\CustomerSortNoTrait located in ./app/Plugin/EntityExtension/Entity/CustomerRankTrait.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/Cellar/composer/1.10.0/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201

proxy クラスの PSR-4 違反

Deprecation Notice: Class Eccube\Entity\Cart located in ./app/proxy/entity/src/Eccube/Entity/Cart.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/Cellar/composer/1.10.0/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201

@nanasess
Copy link
Contributor Author

nanasess commented Oct 2, 2020

プラグインの composer.json に PSR-4 の定義を追加し(不要なことが判明)、 name をすべて小文字にすることで、 Deprecated notice を出さずにプラグインをインストールすることに成功。
また、 package-installer が require 設定している場合は ^2.0@dev を指定する必要がある
package-api-mock を使用しているため、本番環境ではオーナーズストアや package-api の改修が必要と思われる

{
  "name": "ec-cube/bundle",
... snip
  "require": {
    "ec-cube/plugin-installer": "^2.0@dev"
  },
...snip

以下、インストールのログ

**************** Bundle ****************
Changed CWD to /Users/nanasess/git-repos/ec-cube
Reading ./composer.json
Loading config file ./composer.json
Executing command (/Users/nanasess/git-repos/ec-cube): git branch --no-color --no-abbrev -v
Failed to initialize global composer: Composer could not find the config file: /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/composer.json
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
Reading /Users/nanasess/git-repos/ec-cube/vendor/composer/installed.json
Loading plugin Symfony\Flex\Flex_composer_tmp0
Loading plugin PackageVersions\Installer_composer_tmp1
Loading plugin UpdateHelper\ComposerPlugin_composer_tmp2
Loading plugin Eccube\Composer\EccubePluginInstallerPlugin_composer_tmp3
Running 1.9.1 (2019-11-01 17:20:17) with PHP 7.4.10 on Darwin / 19.6.0
[11.1MiB/0.00s] Downloading http://127.0.0.1:9999/packages.json
[11.1MiB/0.00s] <warning>Warning: Accessing 127.0.0.1 over http which is an insecure protocol.</warning>
[11.1MiB/0.02s] Writing /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/http---127.0.0.1-9999/packages.json into cache
[11.1MiB/0.02s] Downloading https://repo.packagist.org/packages.json
[11.1MiB/0.32s] Writing /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/packages.json into cache
[11.1MiB/0.33s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2013.json from cache
[14.5MiB/0.35s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2014.json from cache
[22.4MiB/0.37s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2015.json from cache
[34.3MiB/0.41s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2016.json from cache
[49.2MiB/0.46s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2017.json from cache
[71.6MiB/0.52s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2018.json from cache
[99.0MiB/0.60s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019.json from cache
[125.5MiB/0.68s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2020-01.json from cache
[133.4MiB/0.72s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2020-04.json from cache
[145.6MiB/0.77s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2020-07.json from cache
[174.1MiB/0.86s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-archived.json from cache
[172.4MiB/0.90s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-latest.json from cache
[180.0MiB/0.95s] Using version ^1.0 for ec-cube/bundle
[180.0MiB/0.95s] ./composer.json has been updated
[180.3MiB/0.95s] Reading ./composer.json
[180.3MiB/0.96s] Loading config file ./composer.json
[180.3MiB/0.96s] Executing command (/Users/nanasess/git-repos/ec-cube): git branch --no-color --no-abbrev -v
[180.4MiB/1.00s] Failed to initialize global composer: Composer could not find the config file: /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/composer.json
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
[180.3MiB/1.00s] Reading /Users/nanasess/git-repos/ec-cube/vendor/composer/installed.json
[182.7MiB/1.04s] Loading plugin Symfony\Flex\Flex_composer_tmp4
[183.0MiB/1.07s] Loading plugin PackageVersions\Installer_composer_tmp5
[182.8MiB/1.07s] Loading plugin UpdateHelper\ComposerPlugin_composer_tmp6
[182.8MiB/1.07s] Loading plugin Eccube\Composer\EccubePluginInstallerPlugin_composer_tmp7
[182.1MiB/1.11s] Reading ./composer.lock
[184.2MiB/1.12s] <warning>Dependency "psr/http-message" is also a root requirement, but is not explicitly whitelisted. Ignoring.</warning>
[184.2MiB/1.12s] <warning>Dependency "psr/http-message" is also a root requirement, but is not explicitly whitelisted. Ignoring.</warning>
[184.2MiB/1.12s] <warning>Dependency "psr/http-message" is also a root requirement, but is not explicitly whitelisted. Ignoring.</warning>
[184.0MiB/1.12s] Loading composer repositories with package information
[184.3MiB/1.12s] Downloading http://127.0.0.1:9999/packages.json
[184.3MiB/1.12s] <warning>Warning: Accessing 127.0.0.1 over http which is an insecure protocol.</warning>
[184.3MiB/1.13s] Writing /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/http---127.0.0.1-9999/packages.json into cache
[184.3MiB/1.13s] Downloading https://repo.packagist.org/packages.json
[184.3MiB/1.43s] Writing /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/packages.json into cache
[184.4MiB/1.43s] Updating dependencies (including require-dev)
[185.7MiB/1.44s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2013.json from cache
[189.0MiB/1.45s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2014.json from cache
[196.9MiB/1.47s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2015.json from cache
[208.8MiB/1.51s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2016.json from cache
[223.7MiB/1.56s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2017.json from cache
[246.1MiB/1.63s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2018.json from cache
[273.5MiB/1.71s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019.json from cache
[300.0MiB/1.78s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2020-01.json from cache
[308.0MiB/1.82s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2020-04.json from cache
[320.2MiB/1.88s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-2020-07.json from cache
[349.6MiB/1.93s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-archived.json from cache
[347.9MiB/1.96s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/p-provider-latest.json from cache
[355.5MiB/1.99s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-ec-cube$ec-cube.json from cache
[356.1MiB/1.99s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-composer$ca-bundle.json from cache
[356.3MiB/2.00s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-composer$composer.json from cache
[357.2MiB/2.00s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$annotations.json from cache
[357.4MiB/2.00s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$cache.json from cache
[357.7MiB/2.00s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$collections.json from cache
[357.9MiB/2.01s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$common.json from cache
[358.3MiB/2.01s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$data-fixtures.json from cache
[358.4MiB/2.01s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$dbal.json from cache
[359.0MiB/2.02s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$doctrine-bundle.json from cache
[359.8MiB/2.02s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$doctrine-cache-bundle.json from cache
[360.0MiB/2.03s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$doctrine-fixtures-bundle.json from cache
[360.2MiB/2.03s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$doctrine-migrations-bundle.json from cache
[360.3MiB/2.03s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$inflector.json from cache
[360.5MiB/2.03s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$instantiator.json from cache
[360.6MiB/2.03s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$lexer.json from cache
[360.6MiB/2.04s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$migrations.json from cache
[361.0MiB/2.04s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$orm.json from cache
[361.6MiB/2.04s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-easycorp$easy-log-handler.json from cache
[361.7MiB/2.04s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-ec-cube$plugin-installer.json from cache
[361.7MiB/2.05s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-egulias$email-validator.json from cache
[362.1MiB/2.05s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-friendsofphp$php-cs-fixer.json from cache
[364.2MiB/2.06s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-guzzlehttp$guzzle.json from cache
[365.4MiB/2.07s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-knplabs$knp-paginator-bundle.json from cache
[365.7MiB/2.07s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-mobiledetect$mobiledetectlib.json from cache
[366.1MiB/2.08s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-monolog$monolog.json from cache
[366.7MiB/2.08s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-nesbot$carbon.json from cache
[368.1MiB/2.09s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-pimple$pimple.json from cache
[368.2MiB/2.09s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-psr$cache.json from cache
[368.6MiB/2.09s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-psr$container.json from cache
[368.7MiB/2.10s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-psr$http-message.json from cache
[369.5MiB/2.10s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-psr$log.json from cache
[369.5MiB/2.11s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-psr$simple-cache.json from cache
[369.6MiB/2.11s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-sensio$framework-extra-bundle.json from cache
[370.4MiB/2.11s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-sensio$generator-bundle.json from cache
[370.9MiB/2.12s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-setasign$fpdi.json from cache
[371.0MiB/2.12s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-setasign$fpdi-tcpdf.json from cache
[371.1MiB/2.12s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-skorp$detect-incompatible-samesite-useragents.json from cache
[371.1MiB/2.12s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-suncat$mobile-detect-bundle.json from cache
[371.2MiB/2.12s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-swiftmailer$swiftmailer.json from cache
[371.6MiB/2.14s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$asset.json from cache
[382.7MiB/2.20s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$cache.json from cache
[385.3MiB/2.24s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$class-loader.json from cache
[390.4MiB/2.30s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$config.json from cache
[394.3MiB/2.37s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$console.json from cache
[398.3MiB/2.45s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$css-selector.json from cache
[401.7MiB/2.52s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$debug.json from cache
[405.1MiB/2.58s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$debug-bundle.json from cache
[408.2MiB/2.62s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$debug-pack.json from cache
[408.3MiB/2.64s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$dependency-injection.json from cache
[412.7MiB/2.71s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$doctrine-bridge.json from cache
[417.9MiB/2.80s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$dom-crawler.json from cache
[421.6MiB/2.86s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$dotenv.json from cache
[422.9MiB/2.90s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$event-dispatcher.json from cache
[426.9MiB/2.98s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$expression-language.json from cache
[429.5MiB/3.03s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$filesystem.json from cache
[432.5MiB/3.10s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$finder.json from cache
[435.7MiB/3.16s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$flex.json from cache
[436.7MiB/3.18s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$form.json from cache
[442.1MiB/3.27s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$framework-bundle.json from cache
[450.5MiB/3.36s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$http-foundation.json from cache
[454.0MiB/3.44s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$http-kernel.json from cache
[460.2MiB/3.52s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$inflector.json from cache
[461.7MiB/3.57s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$intl.json from cache
[465.8MiB/3.62s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$maker-bundle.json from cache
[466.3MiB/3.64s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$monolog-bridge.json from cache
[470.4MiB/3.71s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$monolog-bundle.json from cache
[470.8MiB/3.72s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$options-resolver.json from cache
[474.1MiB/3.78s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$orm-pack.json from cache
[474.1MiB/3.80s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$process.json from cache
[477.3MiB/3.87s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$property-access.json from cache
[480.8MiB/3.94s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$proxy-manager-bridge.json from cache
[484.0MiB/4.02s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$routing.json from cache
[488.6MiB/4.10s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$security.json from cache
[493.6MiB/4.18s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$security-bundle.json from cache
[498.9MiB/4.27s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$serializer.json from cache
[503.3MiB/4.35s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$stopwatch.json from cache
[506.3MiB/4.41s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$swiftmailer-bundle.json from cache
[507.0MiB/4.43s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$templating.json from cache
[510.5MiB/4.50s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$translation.json from cache
[514.8MiB/4.59s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$twig-bridge.json from cache
[520.5MiB/4.68s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$twig-bundle.json from cache
[525.1MiB/4.76s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$validator.json from cache
[530.9MiB/4.83s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$var-dumper.json from cache
[534.1MiB/4.90s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$web-profiler-bundle.json from cache
[538.2MiB/4.96s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$web-server-bundle.json from cache
[539.5MiB/4.99s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$workflow.json from cache
[542.2MiB/5.04s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$yaml.json from cache
[545.6MiB/5.10s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-tecnickcom$tcpdf.json from cache
[546.6MiB/5.11s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-twig$extensions.json from cache
[546.7MiB/5.11s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-twig$twig.json from cache
[549.9MiB/5.12s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-vlucas$phpdotenv.json from cache
[550.5MiB/5.12s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-bheller$images-generator.json from cache
[550.5MiB/5.12s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-captbaritone$mailcatcher-codeception-module.json from cache
[550.6MiB/5.12s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-codeception$codeception.json from cache
[552.3MiB/5.13s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-dama$doctrine-test-bundle.json from cache
[552.5MiB/5.13s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-fzaninotto$faker.json from cache
[552.7MiB/5.13s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-mikey179$vfsstream.json from cache
[552.8MiB/5.14s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-php-coveralls$php-coveralls.json from cache
[553.0MiB/5.14s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-phpunit$phpunit.json from cache
[559.8MiB/5.18s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$browser-kit.json from cache
[563.5MiB/5.24s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$phpunit-bridge.json from cache
[594.0MiB/5.32s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-composer$semver.json from cache
[594.2MiB/5.33s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-composer$spdx-licenses.json from cache
[594.3MiB/5.33s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-composer$xdebug-handler.json from cache
[594.4MiB/5.33s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$event-manager.json from cache
[594.4MiB/5.33s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$persistence.json from cache
[594.6MiB/5.33s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$reflection.json from cache
[594.6MiB/5.33s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-guzzlehttp$promises.json from cache
[594.7MiB/5.33s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-guzzlehttp$psr7.json from cache
[594.9MiB/5.33s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-jdorn$sql-formatter.json from cache
[594.9MiB/5.34s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-justinrainbow$json-schema.json from cache
[595.3MiB/5.34s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-knplabs$knp-components.json from cache
[595.7MiB/5.34s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-kylekatarnls$update-helper.json from cache
[595.7MiB/5.34s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-nikic$php-parser.json from cache
[596.6MiB/5.35s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-ocramius$package-versions.json from cache
[597.0MiB/5.35s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-ocramius$proxy-manager.json from cache
[597.4MiB/5.38s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-paragonie$random-compat.json from cache
[608.8MiB/5.44s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-php-cs-fixer$diff.json from cache
[608.9MiB/5.44s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-ralouphie$getallheaders.json from cache
[609.0MiB/5.44s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-seld$jsonlint.json from cache
[609.2MiB/5.45s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-seld$phar-utils.json from cache
[609.2MiB/5.45s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-apcu.json from cache
[609.9MiB/5.48s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-ctype.json from cache
[613.4MiB/5.60s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-iconv.json from cache
[618.0MiB/5.71s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-intl-icu.json from cache
[618.3MiB/5.72s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-intl-idn.json from cache
[618.4MiB/5.73s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-mbstring.json from cache
[618.8MiB/5.78s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-php56.json from cache
[622.4MiB/5.93s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-php70.json from cache
[624.5MiB/6.05s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-php72.json from cache
[624.9MiB/6.09s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-util.json from cache
[625.1MiB/6.09s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$profiler-pack.json from cache
[625.1MiB/6.10s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-zendframework$zend-code.json from cache
[628.7MiB/6.13s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-zendframework$zend-eventmanager.json from cache
[629.7MiB/6.14s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-behat$gherkin.json from cache
[630.1MiB/6.14s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-codeception$phpunit-wrapper.json from cache
[630.9MiB/6.15s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-codeception$stub.json from cache
[631.0MiB/6.15s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-facebook$webdriver.json from cache
[631.3MiB/6.15s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-myclabs$deep-copy.json from cache
[631.5MiB/6.16s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-phar-io$manifest.json from cache
[631.5MiB/6.16s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-phar-io$version.json from cache
[631.6MiB/6.16s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-phpdocumentor$reflection-common.json from cache
[631.6MiB/6.16s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-phpdocumentor$reflection-docblock.json from cache
[631.9MiB/6.16s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-phpdocumentor$type-resolver.json from cache
[632.1MiB/6.16s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-phpspec$prophecy.json from cache
[632.4MiB/6.17s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-phpunit$php-code-coverage.json from cache
[633.6MiB/6.17s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-phpunit$php-file-iterator.json from cache
[633.7MiB/6.17s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-phpunit$php-text-template.json from cache
[633.8MiB/6.17s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-phpunit$php-timer.json from cache
[633.9MiB/6.18s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-phpunit$php-token-stream.json from cache
[634.2MiB/6.18s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-phpunit$phpunit-mock-objects.json from cache
[634.9MiB/6.18s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$code-unit-reverse-lookup.json from cache
[634.9MiB/6.18s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$comparator.json from cache
[635.2MiB/6.18s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$diff.json from cache
[635.3MiB/6.19s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$environment.json from cache
[635.6MiB/6.19s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$exporter.json from cache
[635.7MiB/6.19s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$global-state.json from cache
[635.8MiB/6.19s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$object-enumerator.json from cache
[635.8MiB/6.19s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$object-reflector.json from cache
[635.9MiB/6.19s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$recursion-context.json from cache
[636.0MiB/6.19s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$resource-operations.json from cache
[636.0MiB/6.19s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$version.json from cache
[636.1MiB/6.19s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-theseer$tokenizer.json from cache
[636.1MiB/6.20s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-webmozart$assert.json from cache
[636.2MiB/6.20s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-seld$cli-prompt.json from cache
[636.2MiB/6.20s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$service-contracts.json from cache
[636.5MiB/6.20s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-nyholm$psr7.json from cache
[636.6MiB/6.21s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-gecko-packages$gecko-php-unit.json from cache
[636.7MiB/6.21s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-composer$package-versions-deprecated.json from cache
[636.7MiB/6.21s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-guzzle$guzzle.json from cache
[637.6MiB/6.21s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-php-http$message-factory.json from cache
[637.6MiB/6.21s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-psr$http-factory.json from cache
[575.5MiB/6.25s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-intl-normalizer.json from cache
[576.3MiB/6.30s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-dflydev$markdown.json from cache
[576.9MiB/6.42s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-laminas$laminas-code.json from cache
[576.9MiB/6.42s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-webimpress$safe-writer.json from cache
[577.0MiB/6.42s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-squizlabs$php-codesniffer.json from cache
[577.6MiB/6.43s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-laminas$laminas-eventmanager.json from cache
[577.7MiB/6.43s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-laminas$laminas-zendframework-bridge.json from cache
[577.9MiB/6.44s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-zendframework$zend-stdlib.json from cache
[578.9MiB/6.45s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-athletic$athletic.json from cache
[579.0MiB/6.46s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-laminas$laminas-stdlib.json from cache
[579.1MiB/6.46s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-zendframework$zend-hydrator.json from cache
[579.4MiB/6.47s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-laminas$laminas-hydrator.json from cache
[651.0MiB/7.59s] Resolving dependencies through SAT
[653.6MiB/9.61s] Looking at all rules.
[653.6MiB/9.64s] Something's changed, looking at all rules again (pass #1)[653.6MiB/9.67s] [653.6MiB/9.67s] Something's changed, looking at all rules again (pass #2)[653.6MiB/9.68s] 
[653.6MiB/9.68s] Dependency resolution completed in 2.089 seconds
[585.4MiB/9.71s] Analyzed 23966 packages to resolve dependencies
[585.4MiB/9.71s] Analyzed 110826 rules to resolve dependencies
[587.3MiB/9.72s] Resolving dependencies through SAT
[587.4MiB/9.72s] Looking at all rules.
[587.4MiB/9.72s] 
[587.4MiB/9.72s] Dependency resolution completed in 0.000 seconds
[585.9MiB/9.72s] Package operations: 1 install, 0 updates, 0 removals
[585.9MiB/9.72s] Installs: ec-cube/bundle:1.0.0
[585.9MiB/9.73s]   - Installing ec-cube/bundle (1.0.0): [585.9MiB/9.73s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/files/ec-cube/bundle/410671c33a6b6c9ee24f42071afd3312de4fdcda.tar from cache
[585.9MiB/9.73s] Loading from cache[585.9MiB/9.73s] 
[585.9MiB/9.73s]  Extracting archive[582.8MiB/9.81s] <warning>Package easycorp/easy-log-handler is abandoned, you should avoid using it. No replacement was suggested.</warning>
[582.8MiB/9.81s] <warning>Package facebook/webdriver is abandoned, you should avoid using it. Use php-webdriver/webdriver instead.</warning>
[582.8MiB/9.81s] <warning>Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.</warning>
[582.8MiB/9.81s] <warning>Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.</warning>
[582.8MiB/9.81s] <warning>Package sensio/generator-bundle is abandoned, you should avoid using it. Use symfony/maker-bundle instead.</warning>
[582.8MiB/9.81s] <warning>Package setasign/fpdi-tcpdf is abandoned, you should avoid using it. No replacement was suggested.</warning>
[582.8MiB/9.81s] <warning>Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead.</warning>
[582.8MiB/9.81s] <warning>Package zendframework/zend-eventmanager is abandoned, you should avoid using it. Use laminas/laminas-eventmanager instead.</warning>
[582.8MiB/9.81s] Reading /Users/nanasess/git-repos/ec-cube/vendor/composer/installed.json
[583.6MiB/9.81s] Writing lock file
[583.6MiB/9.81s] Generating optimized autoload files
[586.6MiB/11.50s] <warning>Warning: Ambiguous class resolution, "Eccube\Entity\Cart" was found in both "$baseDir . '/app/proxy/entity/src/Eccube/Entity/Cart.php" and "/Users/nanasess/git-repos/ec-cube/src/Eccube/Entity/Cart.php", the first will be used.</warning>
[584.9MiB/12.00s] Memory usage: 584.9MiB (peak: 665.27MiB), time

@nanasess
Copy link
Contributor Author

nanasess commented Oct 5, 2020

experimental/symfony4.4 ブランチをアップデート して、 ec-cube/plugin-installer に以下をパッチを当てることで、 Composer 2.0 を使用してプラグインのインストールができることを確認しました

diff --git a/composer.json b/composer.json
index bf70793..e62605f 100644
--- a/composer.json
+++ b/composer.json
@@ -1,6 +1,6 @@
 {
   "name": "ec-cube/plugin-installer",
-  "version": "0.0.8",
+  "version": "2.0.0",
   "type": "composer-plugin",
   "description": "EC-CUBE plugin installer.",
   "license": "MIT",
@@ -13,6 +13,6 @@
     "class": "Eccube\\Composer\\EccubePluginInstallerPlugin"
   },
   "require": {
-    "composer-plugin-api": "^1.0"
+    "composer-plugin-api": "^1.0 || ^2.0"
   }
 }
diff --git a/src/Eccube/Composer/EccubePluginInstallerPlugin.php b/src/Eccube/Composer/EccubePluginInstallerPlugin.php
index ae2f685..7e5b4aa 100644
--- a/src/Eccube/Composer/EccubePluginInstallerPlugin.php
+++ b/src/Eccube/Composer/EccubePluginInstallerPlugin.php
@@ -17,4 +17,10 @@ class EccubePluginInstallerPlugin implements PluginInterface
         $installer = new PluginInstaller($io, $composer, self::TYPE);
         $composer->getInstallationManager()->addInstaller($installer);
     }
-}
\ No newline at end of file
+    public function deactivate(Composer $composer, IOInterface $io)
+    {
+    }
+    public function uninstall(Composer $composer, IOInterface $io)
+    {
+    }
+}

インストール時のログ。ピークメモリは34.51MBまで減ってます。

**************** Bundle ****************
Changed CWD to /Users/nanasess/git-repos/ec-cube
Reading ./composer.json
Loading config file ./composer.json
Executing command (/Users/nanasess/git-repos/ec-cube): git branch --no-color --no-abbrev -v
Executing command (/Users/nanasess/git-repos/ec-cube): git rev-list master..experimental/symfony4.4
Executing command (/Users/nanasess/git-repos/ec-cube): git rev-list 4.0.5-penetration-testing..experimental/symfony4.4
Executing command (/Users/nanasess/git-repos/ec-cube): git rev-list 4.0.2..experimental/symfony4.4
Executing command (/Users/nanasess/git-repos/ec-cube): git rev-list 4.0..experimental/symfony4.4
Failed to initialize global composer: Composer could not find the config file: /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/composer.json
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
Reading /Users/nanasess/git-repos/ec-cube/vendor/composer/installed.json
Loading plugin PackageVersions\Installer_composer_tmp0
Loading plugin UpdateHelper\ComposerPlugin_composer_tmp1
Loading plugin Eccube\Composer\EccubePluginInstallerPlugin_composer_tmp2
Loading plugin Symfony\Flex\Flex_composer_tmp3
Running 2.0-dev+source (@release_date@) with PHP 7.3.21 on Darwin / 19.6.0
[15.6MiB/0.00s] Executing command (CWD): git --version
[15.6MiB/0.01s] Executing command (/Users/nanasess/git-repos/eccube-plugin-installer/): git log -n1 --pretty=%H --no-show-signature
[15.6MiB/0.02s] <warning>Warning: Accessing 127.0.0.1 over http which is an insecure protocol.</warning>
[15.6MiB/0.02s] Downloading http://127.0.0.1:9999/packages.json
[15.6MiB/0.04s] [200] http://127.0.0.1:9999/packages.json
[15.6MiB/0.04s] Writing /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/http---127.0.0.1-9999/packages.json into cache
[15.6MiB/0.04s] Using version ^1.0 for ec-cube/bundle
[15.6MiB/0.04s] ./composer.json has been updated
[15.9MiB/0.04s] Reading ./composer.json
[16.0MiB/0.05s] Loading config file ./composer.json
[16.0MiB/0.05s] Executing command (/Users/nanasess/git-repos/ec-cube): git branch --no-color --no-abbrev -v
[16.0MiB/0.08s] Executing command (/Users/nanasess/git-repos/ec-cube): git rev-list master..experimental/symfony4.4
[16.3MiB/0.17s] Executing command (/Users/nanasess/git-repos/ec-cube): git rev-list 4.0.5-penetration-testing..experimental/symfony4.4
[16.0MiB/0.19s] Executing command (/Users/nanasess/git-repos/ec-cube): git rev-list 4.0.2..experimental/symfony4.4
[16.0MiB/0.23s] Executing command (/Users/nanasess/git-repos/ec-cube): git rev-list 4.0..experimental/symfony4.4
[16.0MiB/0.24s] Failed to initialize global composer: Composer could not find the config file: /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/composer.json
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
[16.0MiB/0.24s] Reading /Users/nanasess/git-repos/ec-cube/vendor/composer/installed.json
[18.1MiB/0.30s] Loading plugin PackageVersions\Installer_composer_tmp4
[18.4MiB/0.35s] Loading plugin UpdateHelper\ComposerPlugin_composer_tmp5
[18.3MiB/0.35s] Loading plugin Eccube\Composer\EccubePluginInstallerPlugin_composer_tmp6
[18.8MiB/0.40s] Loading plugin Symfony\Flex\Flex_composer_tmp7
[18.8MiB/0.41s] Running composer update ec-cube/bundle --with-dependencies
[16.9MiB/0.41s] Reading ./composer.lock
[19.2MiB/0.42s] Loading composer repositories with package information
[19.3MiB/0.42s] Updating dependencies
[19.4MiB/0.42s] Executing command (/Users/nanasess/git-repos/eccube-plugin-installer/): git log -n1 --pretty=%H --no-show-signature
[19.4MiB/0.43s] <warning>Warning: Accessing 127.0.0.1 over http which is an insecure protocol.</warning>
[19.4MiB/0.43s] Downloading http://127.0.0.1:9999/packages.json
[19.4MiB/0.45s] [200] http://127.0.0.1:9999/packages.json
[19.4MiB/0.45s] Writing /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/http---127.0.0.1-9999/packages.json into cache
[19.4MiB/0.45s] Downloading https://repo.packagist.org/packages.json
[19.4MiB/0.72s] [200] https://repo.packagist.org/packages.json
[19.4MiB/0.72s] Writing /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/packages.json into cache
[19.4MiB/0.72s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-nyholm~psr7.json from cache
[19.5MiB/0.72s] Downloading https://repo.packagist.org/p2/nyholm/psr7.json if modified
[19.5MiB/0.82s] [304] https://repo.packagist.org/p2/nyholm/psr7.json
[19.5MiB/0.82s] <warning>Dependency "psr/http-message" is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies to include root dependencies.</warning>
[19.5MiB/0.82s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-php-http~message-factory.json from cache
[19.5MiB/0.82s] Downloading https://repo.packagist.org/p2/php-http/message-factory.json if modified
[19.5MiB/0.82s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/repo/https---repo.packagist.org/provider-psr~http-factory.json from cache
[19.5MiB/0.82s] Downloading https://repo.packagist.org/p2/psr/http-factory.json if modified
[19.6MiB/1.01s] [304] https://repo.packagist.org/p2/php-http/message-factory.json
[19.5MiB/1.11s] [304] https://repo.packagist.org/p2/psr/http-factory.json
[19.7MiB/1.11s] > pre-pool-create: Symfony\Flex\Flex_composer_tmp7->truncatePackages
[19.7MiB/1.12s] Generating rules
[21.0MiB/1.13s] Resolving dependencies through SAT
[21.0MiB/1.13s] Looking at all rules.
[21.0MiB/1.13s] Something's changed, looking at all rules again (pass #1)[21.0MiB/1.13s] 
[21.0MiB/1.13s] Dependency resolution completed in 0.001 seconds
[20.6MiB/1.14s] Analyzed 245 packages to resolve dependencies
[20.6MiB/1.14s] Analyzed 585 rules to resolve dependencies
[21.4MiB/1.14s] Generating rules
[22.0MiB/1.14s] Resolving dependencies through SAT
[22.0MiB/1.14s] Looking at all rules.
[22.0MiB/1.14s] 
[22.0MiB/1.14s] Dependency resolution completed in 0.000 seconds
[21.2MiB/1.15s] Lock file operations: 1 install, 0 updates, 0 removals
[21.2MiB/1.15s] Installs: ec-cube/bundle:1.0.0
[21.2MiB/1.15s]   - Locking ec-cube/bundle (1.0.0)
[20.6MiB/1.15s] Writing lock file
[20.6MiB/1.15s] Installing dependencies from lock file (including require-dev)
[20.6MiB/1.15s] Reading ./composer.lock
[23.0MiB/1.16s] Package operations: 1 install, 0 updates, 0 removals
[23.0MiB/1.16s] Installs: ec-cube/bundle:1.0.0
[23.0MiB/1.16s] Reading /Users/nanasess/git-repos/ec-cube/app/Plugin/.composer/cache/files/ec-cube/bundle/410671c33a6b6c9ee24f42071afd3312de4fdcda.tar from cache
[23.0MiB/1.16s]   - Loading ec-cube/bundle (1.0.0) from cache
[23.2MiB/1.16s]   - Installing ec-cube/bundle (1.0.0): Extracting archive
[23.2MiB/1.16s] Executing command (CWD): rm -rf 'app/Plugin/Bundle'
[23.5MiB/1.20s] <warning>Package setasign/fpdi-tcpdf is abandoned, you should avoid using it. No replacement was suggested.</warning>
[23.5MiB/1.20s] <warning>Package twig/extensions is abandoned, you should avoid using it. No replacement was suggested.</warning>
[23.5MiB/1.20s] <warning>Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead.</warning>
[23.5MiB/1.20s] <warning>Package zendframework/zend-eventmanager is abandoned, you should avoid using it. Use laminas/laminas-eventmanager instead.</warning>
[23.5MiB/1.20s] <warning>Package easycorp/easy-log-handler is abandoned, you should avoid using it. No replacement was suggested.</warning>
[23.5MiB/1.20s] <warning>Package facebook/webdriver is abandoned, you should avoid using it. Use php-webdriver/webdriver instead.</warning>
[23.5MiB/1.20s] <warning>Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.</warning>
[23.5MiB/1.20s] <warning>Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.</warning>
[23.5MiB/1.20s] Generating optimized autoload files
[26.1MiB/1.76s] <warning>Class Plugin\EntityExtension\Entity\CustomerSortNoTrait located in ./app/Plugin/EntityExtension/Entity/CustomerRankTrait.php does not comply with psr-4 autoloading standard. Skipping.</warning>
[27.1MiB/1.97s] <warning>Class Eccube\Entity\Cart located in ./app/proxy/entity/src/Eccube/Entity/Cart.php does not comply with psr-4 autoloading standard. Skipping.</warning>
[24.8MiB/2.30s] 86 packages you are using are looking for funding.
[24.8MiB/2.30s] Use the `composer fund` command to find out more!
[24.8MiB/2.30s] Memory usage: 24.79MiB (peak: 34.51MiB), time: 2.3s

@okazy okazy added the improvement 機能改善 label Oct 5, 2020
@okazy okazy added this to the 4.1 milestone Oct 5, 2020
@okazy
Copy link
Contributor

okazy commented Oct 14, 2020

関連: #4106

@nanasess
Copy link
Contributor Author

proxy クラスの PSR-4 違反

PSR-4違反ながらも、Kernel::loadEntityProxies() で require されるため動作している

@okazy
Copy link
Contributor

okazy commented Oct 22, 2020

composer1/2の共存をテストするのは現実的ではないので、composer2が出たら統一したい

@victranit
Copy link

I have a same issue, this one still open?

@nanasess
Copy link
Contributor Author

nanasess commented Feb 1, 2021

@trumsuhu Composer2 support will be added in EC-CUBE 4.1.
#4724

@chihiro-adachi
Copy link
Contributor

4.1でcomposer2対応を行いましたのでクローズします

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement 機能改善
Projects
None yet
Development

No branches or pull requests

4 participants