文書の過去の版を表示しています。
目次
Drupal10Try3
why-not
$ composer why-not drupal/core ^10 drupal/core-recommended 9.5.11 requires drupal/core (9.5.11) drupal/insert 2.0.0 requires drupal/core (^8 || ^9) drupal/core 10.2.0-beta1 requires symfony/console (^6.4) drupal/legacy-project - does not require symfony/console (but v4.4.49 is installed) drupal/core 10.2.0-beta1 requires symfony/dependency-injection (^6.4) drupal/legacy-project - does not require symfony/dependency-injection (but v4.4.49 is installed) drupal/core 10.2.0-beta1 requires symfony/event-dispatcher (^6.4) drupal/legacy-project - does not require symfony/event-dispatcher (but v4.4.44 is installed) drupal/core 10.2.0-beta1 requires symfony/finder (^6.4) drupal/legacy-project - does not require symfony/finder (but v4.4.44 is installed) drupal/core 10.2.0-beta1 requires symfony/http-foundation (^6.4) drupal/legacy-project - does not require symfony/http-foundation (but v4.4.49 is installed) drupal/core 10.2.0-beta1 requires symfony/http-kernel (^6.4) drupal/legacy-project - does not require symfony/http-kernel (but v4.4.51 is installed) drupal/core 10.2.0-beta1 requires symfony/mime (^6.4) drupal/legacy-project - does not require symfony/mime (but v5.4.13 is installed) drupal/core 10.2.0-beta1 requires symfony/routing (^6.4) drupal/legacy-project - does not require symfony/routing (but v4.4.44 is installed) drupal/core 10.2.0-beta1 requires symfony/serializer (^6.4) drupal/legacy-project - does not require symfony/serializer (but v4.4.47 is installed) drupal/core 10.2.0-beta1 requires symfony/validator (^6.4) drupal/legacy-project - does not require symfony/validator (but v4.4.48 is installed) drupal/core 10.2.0-beta1 requires symfony/process (^6.4) drupal/legacy-project - does not require symfony/process (but v4.4.44 is installed) drupal/core 10.2.0-beta1 requires symfony/yaml (^6.4) drupal/legacy-project - does not require symfony/yaml (but v4.4.45 is installed) drupal/core 10.2.0-beta1 requires twig/twig (^3.5.0) drupal/legacy-project - does not require twig/twig (but v2.15.5 is installed) drupal/core 10.2.0-beta1 requires doctrine/annotations (^1.14) drupal/legacy-project - does not require doctrine/annotations (but 1.13.3 is installed) drupal/core 10.2.0-beta1 requires guzzlehttp/guzzle (^7.5) drupal/legacy-project - does not require guzzlehttp/guzzle (but 6.5.8 is installed) drupal/core 10.2.0-beta1 requires guzzlehttp/psr7 (^2.4.5) drupal/legacy-project - does not require guzzlehttp/psr7 (but 1.9.1 is installed) drupal/core 10.2.0-beta1 requires asm89/stack-cors (^2.1) drupal/legacy-project - does not require asm89/stack-cors (but 1.3.0 is installed) drupal/core 10.2.0-beta1 requires psr/log (^3.0) drupal/legacy-project - does not require psr/log (but 1.1.4 is installed) Not finding what you were looking for? Try calling `composer update "drupal/core:^10" --dry-run` to get another view on the problem.
これをみると、coreの要件があってないというのが、たくさんあるけど、
symfony/console (^6.4) symfony/dependency-injection (^6.4) symfony/event-dispatcher (^6.4) symfony/finder (^6.4) symfony/http-foundation (^6.4) symfony/http-kernel (^6.4) symfony/mime (^6.4) symfony/routing (^6.4) symfony/serializer (^6.4) symfony/validator (^6.4) symfony/process (^6.4) symfony/yaml (^6.4) twig/twig (^3.5.0) doctrine/annotations (^1.14) guzzlehttp/guzzle (^7.5) guzzlehttp/psr7 (^2.4.5) asm89/stack-cors (^2.1) psr/log (^3.0)
これらは全部coreの中身だから、使用者がどうこうできる内容じゃないよね。となると、うえからの2行目のinsertだけさじょすればいけるのでは?とおもってしまうが、どうでしょうか。
insertモジュール削除
サイト上でuninstallしたあと、
$ composer remove drupal/insert -W ./composer.json has been updated Running composer update drupal/insert --with-all-dependencies Loading composer repositories with package information Updating dependencies Lock file operations: 0 installs, 0 updates, 1 removal - Removing drupal/insert (2.0.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 0 installs, 0 updates, 1 removal - Removing drupal/insert (2.0.0) Deleting modules/contrib/insert - deleted Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead. Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead. Generating autoload files Hardening vendor directory with .htaccess and web.config files. 46 packages you are using are looking for funding. Use the `composer fund` command to find out more! Cleaning vendor directory. No security vulnerability advisories found.
がしかし、まだ機能拡張には残ってる(composer.jsonには無くなっていたのに)。./moduleの中にまだディレクトリがある。
削除してしまう。
composer update
no-update
composer require 'drupal/core-recommended:^10' 'drupal/core-composer-scaffold:^10' 'drupal/core-project-message:^10' --no-update
composer.jsonから、devの記述は前回消してしまったので、このままで
composer update
おっ! 初めてエラーなく動いたのか?
$ composer update Loading composer repositories with package information Updating dependencies Lock file operations: 9 installs, 42 updates, 11 removals - Removing doctrine/reflection (1.2.4) - Removing laminas/laminas-escaper (2.13.0) - Removing laminas/laminas-feed (2.22.0) - Removing longwave/laminas-diactoros (2.14.2) - Removing stack/builder (v1.0.6) - Removing symfony-cmf/routing (2.3.4) - Removing symfony/debug (v4.4.44) - Removing symfony/http-client-contracts (v2.5.2) - Removing symfony/polyfill-php73 (v1.28.0) - Removing symfony/translation (v4.4.47) - Removing typo3/phar-stream-wrapper (v3.1.7) - Upgrading asm89/stack-cors (1.3.0 => v2.1.1) - Upgrading defuse/php-encryption (v2.3.1 => v2.4.0) - Upgrading doctrine/annotations (1.13.3 => 1.14.3) - Locking doctrine/deprecations (1.1.2) - Upgrading doctrine/lexer (1.2.3 => 2.1.0) - Upgrading drupal/core (9.5.11 => 10.1.6) - Upgrading drupal/core-composer-scaffold (9.5.11 => 10.1.6) - Upgrading drupal/core-project-message (9.5.11 => 10.1.6) - Upgrading drupal/core-recommended (9.5.11 => 10.1.6) - Upgrading egulias/email-validator (3.2.6 => 4.0.2) - Upgrading guzzlehttp/guzzle (6.5.8 => 7.7.1) - Upgrading guzzlehttp/promises (1.5.3 => 2.0.1) - Upgrading guzzlehttp/psr7 (1.9.1 => 2.5.1) - Downgrading laminas/laminas-servicemanager (3.22.1 => 3.15.0) - Upgrading masterminds/html5 (2.7.6 => 2.8.1) - Locking mck89/peast (v1.15.4) - Upgrading mglaman/phpstan-drupal (1.1.25 => 1.2.4) - Upgrading phpstan/phpstan (1.8.6 => 1.10.44) - Upgrading phpstan/phpstan-deprecation-rules (1.0.0 => 1.1.4) - Upgrading psr/cache (1.0.1 => 3.0.0) - Upgrading psr/container (1.1.2 => 2.0.2) - Locking psr/event-dispatcher (1.0.0) - Locking psr/http-client (1.0.3) - Upgrading psr/http-message (1.0.1 => 2.0) - Upgrading psr/log (1.1.4 => 3.0.0) - Locking sebastian/diff (4.0.5) - Upgrading symfony/console (v4.4.49 => v6.3.8) - Upgrading symfony/dependency-injection (v4.4.49 => v6.3.8) - Upgrading symfony/deprecation-contracts (v2.5.2 => v3.3.0) - Upgrading symfony/error-handler (v4.4.44 => v6.3.5) - Upgrading symfony/event-dispatcher (v4.4.44 => v6.3.2) - Upgrading symfony/event-dispatcher-contracts (v1.1.13 => v3.3.0) - Upgrading symfony/finder (v4.4.44 => v6.3.5) - Upgrading symfony/http-foundation (v4.4.49 => v6.3.8) - Upgrading symfony/http-kernel (v4.4.51 => v6.3.8) - Upgrading symfony/mime (v5.4.13 => v6.3.5) - Locking symfony/polyfill-intl-grapheme (v1.27.0) - Upgrading symfony/polyfill-php80 (v1.27.0 => v1.28.0) - Locking symfony/polyfill-php83 (v1.27.0) - Upgrading symfony/process (v4.4.44 => v6.3.4) - Upgrading symfony/psr-http-message-bridge (v2.1.4 => v2.2.0) - Upgrading symfony/routing (v4.4.44 => v6.3.5) - Upgrading symfony/serializer (v4.4.47 => v6.3.8) - Upgrading symfony/service-contracts (v2.5.2 => v3.3.0) - Locking symfony/string (v6.3.8) - Upgrading symfony/translation-contracts (v2.5.2 => v3.3.0) - Upgrading symfony/validator (v4.4.48 => v6.3.8) - Upgrading symfony/var-dumper (v5.4.29 => v6.3.8) - Locking symfony/var-exporter (v6.3.6) - Upgrading symfony/yaml (v4.4.45 => v6.3.8) - Upgrading twig/twig (v2.15.5 => v3.6.1) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 9 installs, 42 updates, 11 removals - Downloading defuse/php-encryption (v2.4.0) - Downloading phpstan/phpstan (1.10.44) - Downloading phpstan/phpstan-deprecation-rules (1.1.4) - Downloading symfony/finder (v6.3.5) - Downloading mglaman/phpstan-drupal (1.2.4) - Downloading laminas/laminas-servicemanager (3.15.0) - Removing typo3/phar-stream-wrapper (v3.1.7) - Removing symfony/translation (v4.4.47) - Removing symfony/polyfill-php73 (v1.28.0) - Removing symfony/http-client-contracts (v2.5.2) - Removing symfony/debug (v4.4.44) - Removing symfony-cmf/routing (2.3.4) - Removing stack/builder (v1.0.6) - Removing longwave/laminas-diactoros (2.14.2) - Removing laminas/laminas-feed (2.22.0) - Removing laminas/laminas-escaper (2.13.0) - Removing doctrine/reflection (1.2.4) - Upgrading drupal/core-composer-scaffold (9.5.11 => 10.1.6): Extracting archive - Upgrading drupal/core-project-message (9.5.11 => 10.1.6): Extracting archive - Upgrading defuse/php-encryption (v2.3.1 => v2.4.0): Extracting archive - Upgrading twig/twig (v2.15.5 => v3.6.1): Extracting archive - Upgrading symfony/deprecation-contracts (v2.5.2 => v3.3.0): Extracting archive - Upgrading symfony/yaml (v4.4.45 => v6.3.8): Extracting archive - Upgrading symfony/translation-contracts (v2.5.2 => v3.3.0): Extracting archive - Upgrading symfony/polyfill-php80 (v1.27.0 => v1.28.0): Extracting archive - Installing symfony/polyfill-php83 (v1.27.0): Extracting archive - Upgrading symfony/validator (v4.4.48 => v6.3.8): Extracting archive - Upgrading symfony/serializer (v4.4.47 => v6.3.8): Extracting archive - Upgrading symfony/routing (v4.4.44 => v6.3.5): Extracting archive - Upgrading symfony/http-foundation (v4.4.49 => v6.3.8): Extracting archive - Upgrading psr/http-message (1.0.1 => 2.0): Extracting archive - Upgrading symfony/psr-http-message-bridge (v2.1.4 => v2.2.0): Extracting archive - Upgrading symfony/process (v4.4.44 => v6.3.4): Extracting archive - Upgrading symfony/mime (v5.4.13 => v6.3.5): Extracting archive - Installing psr/event-dispatcher (1.0.0): Extracting archive - Upgrading symfony/event-dispatcher-contracts (v1.1.13 => v3.3.0): Extracting archive - Upgrading symfony/event-dispatcher (v4.4.44 => v6.3.2): Extracting archive - Upgrading symfony/var-dumper (v5.4.29 => v6.3.8): Extracting archive - Upgrading psr/log (1.1.4 => 3.0.0): Extracting archive - Upgrading symfony/error-handler (v4.4.44 => v6.3.5): Extracting archive - Upgrading symfony/http-kernel (v4.4.51 => v6.3.8): Extracting archive - Installing symfony/var-exporter (v6.3.6): Extracting archive - Upgrading psr/container (1.1.2 => 2.0.2): Extracting archive - Upgrading symfony/service-contracts (v2.5.2 => v3.3.0): Extracting archive - Upgrading symfony/dependency-injection (v4.4.49 => v6.3.8): Extracting archive - Installing symfony/polyfill-intl-grapheme (v1.27.0): Extracting archive - Installing symfony/string (v6.3.8): Extracting archive - Upgrading symfony/console (v4.4.49 => v6.3.8): Extracting archive - Installing sebastian/diff (4.0.5): Extracting archive - Installing mck89/peast (v1.15.4): Extracting archive - Upgrading masterminds/html5 (2.7.6 => 2.8.1): Extracting archive - Upgrading guzzlehttp/psr7 (1.9.1 => 2.5.1): Extracting archive - Installing psr/http-client (1.0.3): Extracting archive - Upgrading guzzlehttp/promises (1.5.3 => 2.0.1): Extracting archive - Upgrading guzzlehttp/guzzle (6.5.8 => 7.7.1): Extracting archive - Installing doctrine/deprecations (1.1.2): Extracting archive - Upgrading doctrine/lexer (1.2.3 => 2.1.0): Extracting archive - Upgrading egulias/email-validator (3.2.6 => 4.0.2): Extracting archive - Upgrading psr/cache (1.0.1 => 3.0.0): Extracting archive - Upgrading doctrine/annotations (1.13.3 => 1.14.3): Extracting archive - Upgrading asm89/stack-cors (1.3.0 => v2.1.1): Extracting archive - Upgrading drupal/core (9.5.11 => 10.1.6): Extracting archive - Upgrading drupal/core-recommended (9.5.11 => 10.1.6) - Upgrading phpstan/phpstan (1.8.6 => 1.10.44): Extracting archive - Upgrading phpstan/phpstan-deprecation-rules (1.0.0 => 1.1.4): Extracting archive - Upgrading symfony/finder (v4.4.44 => v6.3.5): Extracting archive - Upgrading mglaman/phpstan-drupal (1.1.25 => 1.2.4): Extracting archive - Downgrading laminas/laminas-servicemanager (3.22.1 => 3.15.0): Extracting archive Cleaning: twig/twig Cleaning: symfony/yaml Cleaning: symfony/validator Cleaning: symfony/serializer Cleaning: symfony/routing Cleaning: symfony/http-foundation Cleaning: symfony/psr-http-message-bridge Cleaning: symfony/process Cleaning: symfony/event-dispatcher Cleaning: symfony/http-kernel Cleaning: symfony/dependency-injection Cleaning: symfony/console Cleaning: sebastian/diff Cleaning: masterminds/html5 Cleaning: guzzlehttp/psr7 Cleaning: guzzlehttp/promises Cleaning: egulias/email-validator Cleaning: symfony/finder Generating autoload files Hardening vendor directory with .htaccess and web.config files. 45 packages you are using are looking for funding. Use the `composer fund` command to find out more! Cleaning vendor directory. Scaffolding files for drupal/core: - Copy [web-root]/.ht.router.php from assets/scaffold/files/ht.router.php - Copy [web-root]/.htaccess from assets/scaffold/files/htaccess - Copy [web-root]/example.gitignore from assets/scaffold/files/example.gitignore - Copy [web-root]/sites/example.settings.local.php from assets/scaffold/files/example.settings.local.php In Filesystem.php line 288: Could not delete /home/husq/www/www_cycle_eek/sites/default/default.services.yml: update [--with WITH] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--no-autoloader] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>...]
composer install
エラーなしでcomposer updateを実行できたら、composer installも実行できることを確認してください。これにより、プロジェクトの他の開発者、および/またはあなたが持っている可能性のある展開スクリプトは、新しい依存関係をインストールするときにエラーをスローしないようにします。
すべてがうまくいけば、エラーは表示されませんし、「インストール、更新、削除するものはありません」も表示されます。
$ composer install Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Nothing to install, update or remove Generating autoload files Hardening vendor directory with .htaccess and web.config files. 45 packages you are using are looking for funding. Use the `composer fund` command to find out more! Scaffolding files for drupal/core: - Copy [web-root]/sites/default/default.services.yml from assets/scaffold/files/default.services.yml - Copy [web-root]/sites/default/default.settings.php from assets/scaffold/files/default.settings.php - Copy [web-root]/modules/README.txt from assets/scaffold/files/modules.README.txt - Copy [web-root]/profiles/README.txt from assets/scaffold/files/profiles.README.txt - Copy [web-root]/themes/README.txt from assets/scaffold/files/themes.README.txt * Homepage: https://www.drupal.org/project/drupal * Support: * docs: https://www.drupal.org/docs/user_guide/en/index.html * chat: https://www.drupal.org/node/314178 Cleaning vendor directory.
エラーなく終了
update.php
えらーになった。😭:cry
テーマ“stable”がないと言っている。戻したはずなので、ディレクトリの中にないってことは、updateで消されたってことか。
再度、composer updateするも、updateなし。devを削除したからかも、それと、drushのupdateもしなかったから
composer require 'drupal/core-dev:^10' --dev --no-update composer require 'drush/drush:^12' --no-update
その後、composer update
$ composer update Loading composer repositories with package information Updating dependencies Lock file operations: 86 installs, 0 updates, 0 removals - Locking behat/mink (v1.10.0) - Locking behat/mink-browserkit-driver (v2.1.0) - Locking behat/mink-selenium2-driver (v1.6.0) - Locking chi-teck/drupal-code-generator (3.3.0) - Locking colinodell/psr-testlogger (v1.2.0) - Locking composer/ca-bundle (1.3.7) - Locking composer/class-map-generator (1.1.0) - Locking composer/composer (2.6.5) - Locking composer/metadata-minifier (1.0.0) - Locking composer/pcre (3.1.1) - Locking composer/spdx-licenses (1.5.8) - Locking composer/xdebug-handler (3.0.3) - Locking consolidation/annotated-command (4.9.1) - Locking consolidation/config (2.1.2) - Locking consolidation/filter-via-dot-access-data (2.0.2) - Locking consolidation/log (3.0.0) - Locking consolidation/output-formatters (4.3.2) - Locking consolidation/robo (4.0.6) - Locking consolidation/self-update (2.2.0) - Locking consolidation/site-alias (4.0.1) - Locking consolidation/site-process (5.2.0) - Locking dealerdirect/phpcodesniffer-composer-installer (v1.0.0) - Locking dflydev/dot-access-data (v3.0.2) - Locking doctrine/instantiator (2.0.0) - Locking drupal/coder (8.3.22) - Locking drupal/core-dev (10.1.6) - Locking drush/drush (12.4.3) - Locking grasmash/expander (3.0.0) - Locking grasmash/yaml-cli (3.1.0) - Locking instaclick/php-webdriver (1.4.16) - Locking justinrainbow/json-schema (v5.2.13) - Locking league/container (4.2.0) - Locking mikey179/vfsstream (v1.6.11) - Locking myclabs/deep-copy (1.11.1) - Locking phar-io/manifest (2.0.3) - Locking phar-io/version (3.2.1) - Locking phootwork/collection (v3.2.2) - Locking phootwork/lang (v3.2.2) - Locking phpdocumentor/reflection-common (2.2.0) - Locking phpdocumentor/reflection-docblock (5.3.0) - Locking phpdocumentor/type-resolver (1.7.3) - Locking phpowermove/docblock (v4.0) - Locking phpspec/prophecy (v1.17.0) - Locking phpspec/prophecy-phpunit (v2.0.2) - Locking phpstan/extension-installer (1.3.1) - Locking phpstan/phpdoc-parser (1.24.3) - Locking phpstan/phpstan-phpunit (1.3.15) - Locking phpunit/php-code-coverage (9.2.29) - Locking phpunit/php-file-iterator (3.0.6) - Locking phpunit/php-invoker (3.1.1) - Locking phpunit/php-text-template (2.0.4) - Locking phpunit/php-timer (5.0.3) - Locking phpunit/phpunit (9.6.13) - Locking psy/psysh (v0.11.22) - Locking react/promise (v3.1.0) - Locking sebastian/cli-parser (1.0.1) - Locking sebastian/code-unit (1.0.8) - Locking sebastian/code-unit-reverse-lookup (2.0.3) - Locking sebastian/comparator (4.0.8) - Locking sebastian/complexity (2.0.2) - Locking sebastian/environment (5.1.5) - Locking sebastian/exporter (4.0.5) - Locking sebastian/global-state (5.0.6) - Locking sebastian/lines-of-code (1.0.3) - Locking sebastian/object-enumerator (4.0.4) - Locking sebastian/object-reflector (2.0.4) - Locking sebastian/recursion-context (4.0.5) - Locking sebastian/resource-operations (3.0.3) - Locking sebastian/type (3.2.1) - Locking sebastian/version (3.0.2) - Locking seld/jsonlint (1.10.0) - Locking seld/phar-utils (1.2.1) - Locking seld/signal-handler (2.0.2) - Locking sirbrillig/phpcs-variable-analysis (v2.11.17) - Locking slevomat/coding-standard (8.14.1) - Locking squizlabs/php_codesniffer (3.7.2) - Locking symfony/browser-kit (v6.3.8) - Locking symfony/css-selector (v6.3.2) - Locking symfony/dom-crawler (v6.3.4) - Locking symfony/filesystem (v6.3.1) - Locking symfony/lock (v6.3.8) - Locking symfony/phpunit-bridge (v6.3.8) - Locking symfony/polyfill-php73 (v1.28.0) - Locking symfony/polyfill-php81 (v1.28.0) - Locking theseer/tokenizer (1.2.2) - Locking webmozart/assert (1.11.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 86 installs, 0 updates, 0 removals - Downloading phpstan/extension-installer (1.3.1) - Downloading squizlabs/php_codesniffer (3.7.2) - Downloading dealerdirect/phpcodesniffer-composer-installer (v1.0.0) - Downloading composer/pcre (3.1.1) - Downloading composer/class-map-generator (1.1.0) - Downloading composer/metadata-minifier (1.0.0) - Downloading composer/xdebug-handler (3.0.3) - Downloading consolidation/log (3.0.0) - Downloading symfony/filesystem (v6.3.1) - Downloading consolidation/self-update (2.2.0) - Downloading symfony/phpunit-bridge (v6.3.8) - Downloading symfony/lock (v6.3.8) - Downloading symfony/dom-crawler (v6.3.4) - Downloading symfony/css-selector (v6.3.2) - Downloading symfony/browser-kit (v6.3.8) - Downloading sebastian/version (3.0.2) - Downloading sebastian/type (3.2.1) - Downloading sebastian/resource-operations (3.0.3) - Downloading sebastian/recursion-context (4.0.5) - Downloading sebastian/object-reflector (2.0.4) - Downloading sebastian/object-enumerator (4.0.4) - Downloading sebastian/exporter (4.0.5) - Downloading sebastian/environment (5.1.5) - Downloading sebastian/comparator (4.0.8) - Downloading sebastian/code-unit (1.0.8) - Downloading sebastian/cli-parser (1.0.1) - Downloading phpunit/php-timer (5.0.3) - Downloading phpunit/php-text-template (2.0.4) - Downloading phpunit/php-invoker (3.1.1) - Downloading phpunit/php-file-iterator (3.0.6) - Downloading sebastian/lines-of-code (1.0.3) - Downloading sebastian/complexity (2.0.2) - Downloading sebastian/code-unit-reverse-lookup (2.0.3) - Downloading phar-io/version (3.2.1) - Downloading phar-io/manifest (2.0.3) - Downloading myclabs/deep-copy (1.11.1) - Downloading phpstan/phpstan-phpunit (1.3.15) - Downloading webmozart/assert (1.11.0) - Downloading phpdocumentor/reflection-common (2.2.0) - Downloading phpdocumentor/reflection-docblock (5.3.0) - Downloading phpspec/prophecy (v1.17.0) - Downloading phpspec/prophecy-phpunit (v2.0.2) - Downloading mikey179/vfsstream (v1.6.11) - Downloading instaclick/php-webdriver (1.4.16) - Downloading drupal/coder (8.3.22) - Downloading symfony/polyfill-php81 (v1.28.0) - Downloading seld/signal-handler (2.0.2) - Downloading seld/phar-utils (1.2.1) - Downloading react/promise (v3.1.0) - Downloading composer/composer (2.6.5) - Downloading colinodell/psr-testlogger (v1.2.0) - Downloading behat/mink (v1.10.0) - Downloading behat/mink-selenium2-driver (v1.6.0) - Downloading behat/mink-browserkit-driver (v2.1.0) - Downloading psy/psysh (v0.11.22) - Downloading league/container (4.2.0) - Downloading dflydev/dot-access-data (v3.0.2) - Downloading grasmash/yaml-cli (3.1.0) - Downloading grasmash/expander (3.0.0) - Downloading consolidation/config (2.1.2) - Downloading consolidation/site-alias (4.0.1) - Downloading consolidation/site-process (5.2.0) - Downloading phootwork/lang (v3.2.2) - Downloading phootwork/collection (v3.2.2) - Downloading phpowermove/docblock (v4.0) - Downloading consolidation/output-formatters (4.3.2) - Downloading consolidation/annotated-command (4.9.1) - Downloading consolidation/robo (4.0.6) - Downloading consolidation/filter-via-dot-access-data (2.0.2) - Downloading chi-teck/drupal-code-generator (3.3.0) - Downloading drush/drush (12.4.3) phpstan/extension-installer contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins Do you trust "phpstan/extension-installer" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y - Installing phpstan/extension-installer (1.3.1): Extracting archive - Installing squizlabs/php_codesniffer (3.7.2): Extracting archive Cleaning: squizlabs/php_codesniffer - Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive - Installing composer/ca-bundle (1.3.7): Extracting archive - Installing composer/pcre (3.1.1): Extracting archive - Installing composer/class-map-generator (1.1.0): Extracting archive - Installing composer/metadata-minifier (1.0.0): Extracting archive - Installing composer/spdx-licenses (1.5.8): Extracting archive - Installing composer/xdebug-handler (3.0.3): Extracting archive - Installing consolidation/log (3.0.0): Extracting archive - Installing symfony/filesystem (v6.3.1): Extracting archive - Installing consolidation/self-update (2.2.0): Extracting archive - Installing symfony/phpunit-bridge (v6.3.8): Extracting archive - Installing symfony/lock (v6.3.8): Extracting archive - Installing symfony/dom-crawler (v6.3.4): Extracting archive - Installing symfony/css-selector (v6.3.2): Extracting archive - Installing symfony/browser-kit (v6.3.8): Extracting archive - Installing sebastian/version (3.0.2): Extracting archive - Installing sebastian/type (3.2.1): Extracting archive - Installing sebastian/resource-operations (3.0.3): Extracting archive - Installing sebastian/recursion-context (4.0.5): Extracting archive - Installing sebastian/object-reflector (2.0.4): Extracting archive - Installing sebastian/object-enumerator (4.0.4): Extracting archive - Installing sebastian/global-state (5.0.6): Extracting archive - Installing sebastian/exporter (4.0.5): Extracting archive - Installing sebastian/environment (5.1.5): Extracting archive - Installing sebastian/comparator (4.0.8): Extracting archive - Installing sebastian/code-unit (1.0.8): Extracting archive - Installing sebastian/cli-parser (1.0.1): Extracting archive - Installing phpunit/php-timer (5.0.3): Extracting archive - Installing phpunit/php-text-template (2.0.4): Extracting archive - Installing phpunit/php-invoker (3.1.1): Extracting archive - Installing phpunit/php-file-iterator (3.0.6): Extracting archive - Installing theseer/tokenizer (1.2.2): Extracting archive - Installing sebastian/lines-of-code (1.0.3): Extracting archive - Installing sebastian/complexity (2.0.2): Extracting archive - Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive - Installing phpunit/php-code-coverage (9.2.29): Extracting archive - Installing phar-io/version (3.2.1): Extracting archive - Installing phar-io/manifest (2.0.3): Extracting archive - Installing myclabs/deep-copy (1.11.1): Extracting archive - Installing doctrine/instantiator (2.0.0): Extracting archive - Installing phpunit/phpunit (9.6.13): Extracting archive - Installing phpstan/phpstan-phpunit (1.3.15): Extracting archive - Installing webmozart/assert (1.11.0): Extracting archive - Installing phpstan/phpdoc-parser (1.24.3): Extracting archive - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive - Installing phpdocumentor/type-resolver (1.7.3): Extracting archive - Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive - Installing phpspec/prophecy (v1.17.0): Extracting archive - Installing phpspec/prophecy-phpunit (v2.0.2): Extracting archive - Installing mikey179/vfsstream (v1.6.11): Extracting archive - Installing justinrainbow/json-schema (v5.2.13): Extracting archive - Installing instaclick/php-webdriver (1.4.16): Extracting archive - Installing slevomat/coding-standard (8.14.1): Extracting archive - Installing sirbrillig/phpcs-variable-analysis (v2.11.17): Extracting archive - Installing drupal/coder (8.3.22): Extracting archive - Installing symfony/polyfill-php81 (v1.28.0): Extracting archive - Installing symfony/polyfill-php73 (v1.28.0): Extracting archive - Installing seld/signal-handler (2.0.2): Extracting archive - Installing seld/phar-utils (1.2.1): Extracting archive - Installing seld/jsonlint (1.10.0): Extracting archive - Installing react/promise (v3.1.0): Extracting archive - Installing composer/composer (2.6.5): Extracting archive - Installing colinodell/psr-testlogger (v1.2.0): Extracting archive - Installing behat/mink (v1.10.0): Extracting archive - Installing behat/mink-selenium2-driver (v1.6.0): Extracting archive - Installing behat/mink-browserkit-driver (v2.1.0): Extracting archive - Installing drupal/core-dev (10.1.6) - Installing psy/psysh (v0.11.22): Extracting archive - Installing league/container (4.2.0): Extracting archive - Installing dflydev/dot-access-data (v3.0.2): Extracting archive - Installing grasmash/yaml-cli (3.1.0): Extracting archive - Installing grasmash/expander (3.0.0): Extracting archive - Installing consolidation/config (2.1.2): Extracting archive - Installing consolidation/site-alias (4.0.1): Extracting archive - Installing consolidation/site-process (5.2.0): Extracting archive - Installing phootwork/lang (v3.2.2): Extracting archive - Installing phootwork/collection (v3.2.2): Extracting archive - Installing phpowermove/docblock (v4.0): Extracting archive - Installing consolidation/output-formatters (4.3.2): Extracting archive - Installing consolidation/annotated-command (4.9.1): Extracting archive - Installing consolidation/robo (4.0.6): Extracting archive - Installing consolidation/filter-via-dot-access-data (2.0.2): Extracting archive - Installing chi-teck/drupal-code-generator (3.3.0): Extracting archive - Installing drush/drush (12.4.3): Extracting archive Cleaning: symfony/filesystem Cleaning: symfony/phpunit-bridge Cleaning: symfony/dom-crawler Cleaning: symfony/css-selector Cleaning: symfony/browser-kit Cleaning: sebastian/recursion-context Cleaning: sebastian/object-reflector Cleaning: sebastian/object-enumerator Cleaning: sebastian/global-state Cleaning: sebastian/exporter Cleaning: sebastian/environment Cleaning: sebastian/comparator Cleaning: phpunit/php-timer Cleaning: theseer/tokenizer Cleaning: sebastian/code-unit-reverse-lookup Cleaning: phpunit/php-code-coverage Cleaning: phar-io/version Cleaning: phar-io/manifest Cleaning: myclabs/deep-copy Cleaning: doctrine/instantiator Cleaning: phpunit/phpunit Cleaning: phpdocumentor/reflection-docblock Cleaning: phpspec/prophecy Cleaning: mikey179/vfsstream Cleaning: justinrainbow/json-schema Cleaning: instaclick/php-webdriver Cleaning: drupal/coder Cleaning: seld/jsonlint Cleaning: composer/composer Cleaning: behat/mink Cleaning: behat/mink-selenium2-driver Cleaning: behat/mink-browserkit-driver 13 package suggestions were added by new dependencies, use `composer suggest` to see details. Generating autoload files Hardening vendor directory with .htaccess and web.config files. 90 packages you are using are looking for funding. Use the `composer fund` command to find out more! Cleaning vendor directory. phpstan/extension-installer: Extensions installed > composer/composer: installed > mglaman/phpstan-drupal: installed > phpstan/phpstan-deprecation-rules: installed > phpstan/phpstan-phpunit: installed PHP CodeSniffer Config installed_paths set to ../../drupal/coder/coder_sniffer,../../sirbrillig/phpcs-variable-analysis,../../slevomat/coding-standard No security vulnerability advisories found.
innstallでもなしと言われるので、再度、update.php
状況変わらず。😭
stable
stableのリンクをクリックすると、。 https://www.drupal.org/project/stable
なぜ必要かわからないが、いれてしまえってことで、
$ composer require 'drupal/stable:^2.0' ./composer.json has been updated Running composer update drupal/stable Loading composer repositories with package information Updating dependencies Lock file operations: 1 install, 0 updates, 0 removals - Locking drupal/stable (2.0.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 1 install, 0 updates, 0 removals - Downloading drupal/stable (2.0.0) - Installing drupal/stable (2.0.0): Extracting archive Generating autoload files Hardening vendor directory with .htaccess and web.config files. 90 packages you are using are looking for funding. Use the `composer fund` command to find out more! phpstan/extension-installer: Extensions installed Cleaning vendor directory. No security vulnerability advisories found.