Closed16

codeigniter4/devkit

naentenaente
composer create-project codeigniter4/appstarter ci4app
naentenaente
Composer could not detect the root package (codeigniter4/appstarter) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
./composer.json has been updated
Composer could not detect the root package (codeigniter4/appstarter) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
Running composer update codeigniter4/devkit
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - codeigniter4/devkit[dev-develop, v0.1.0, v1.0.0-beta.1, ..., v1.2.2] require phpunit/phpunit ^9.3 -> found phpunit/phpunit[9.3.0, ..., 9.6.x-dev] but it conflicts with your root composer.json require (^10.5.16).
    - Root composer.json requires codeigniter4/devkit * -> satisfiable by codeigniter4/devkit[dev-develop, v0.1.0, v1.0.0-beta.1, ..., v1.2.2, 9999999-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require codeigniter4/devkit:*" to figure out if any version is installable, or "composer require codeigniter4/devkit:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
naentenaente
composer require --dev codeigniter4/devkit --with-all-dependencies
naentenaente
Composer could not detect the root package (codeigniter4/appstarter) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
./composer.json has been updated
Composer could not detect the root package (codeigniter4/appstarter) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
Running composer update codeigniter4/devkit --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - codeigniter4/devkit[dev-develop, v0.1.0, v1.0.0-beta.1, ..., v1.2.2] require phpunit/phpunit ^9.3 -> found phpunit/phpunit[9.3.0, ..., 9.6.x-dev] but it conflicts with your root composer.json require (^10.5.16).
    - Root composer.json requires codeigniter4/devkit * -> satisfiable by codeigniter4/devkit[dev-develop, v0.1.0, v1.0.0-beta.1, ..., v1.2.2, 9999999-dev].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require codeigniter4/devkit:*" to figure out if any version is installable, or "composer require codeigniter4/devkit:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
naentenaente
Composer could not detect the root package (codeigniter4/appstarter) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
./composer.json has been updated
Composer could not detect the root package (codeigniter4/appstarter) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
Running composer update codeigniter4/devkit
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - codeigniter4/devkit[dev-develop, v0.1.0, v1.0.0-beta.1, ..., v1.2.2] require phpunit/phpunit ^9.3 -> found phpunit/phpunit[9.3.0, ..., 9.6.x-dev] but it conflicts with your root composer.json require (^10.5.16).
    - Root composer.json requires codeigniter4/devkit * -> satisfiable by codeigniter4/devkit[dev-develop, v0.1.0, v1.0.0-beta.1, ..., v1.2.2, 9999999-dev].

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

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
naentenaente
composer require --dev codeigniter4/devkit:* --with-all-dependencies
naentenaente
Composer could not detect the root package (codeigniter4/appstarter) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
./composer.json has been updated
Composer could not detect the root package (codeigniter4/appstarter) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
Running composer update codeigniter4/devkit --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - codeigniter4/devkit[dev-develop, v0.1.0, v1.0.0-beta.1, ..., v1.2.2] require phpunit/phpunit ^9.3 -> found phpunit/phpunit[9.3.0, ..., 9.6.x-dev] but it conflicts with your root composer.json require (^10.5.16).
    - Root composer.json requires codeigniter4/devkit * -> satisfiable by codeigniter4/devkit[dev-develop, v0.1.0, v1.0.0-beta.1, ..., v1.2.2, 9999999-dev].


Installation failed, reverting ./composer.json and ./composer.lock to their original content.
naentenaente
composer.json
{
    "name": "codeigniter4/appstarter",
    "description": "CodeIgniter4 starter app",
    "license": "MIT",
    "type": "project",
    "homepage": "https://codeigniter.com",
    "support": {
        "forum": "https://forum.codeigniter.com/",
        "source": "https://github.com/codeigniter4/CodeIgniter4",
        "slack": "https://codeigniterchat.slack.com"
    },
    "require": {
        "php": "^8.1",
        "codeigniter4/framework": "^4.0"
    },
    "require-dev": {
        "fakerphp/faker": "^1.9",
        "mikey179/vfsstream": "^1.6",
-       "phpunit/phpunit": "^10.5.16"
+       "phpunit/phpunit": "^9.3"
    },
naentenaente
Composer could not detect the root package (codeigniter4/appstarter) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
./composer.json has been updated
Composer could not detect the root package (codeigniter4/appstarter) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version
Running composer update codeigniter4/devkit
Loading composer repositories with package information
Updating dependencies
Lock file operations: 30 installs, 0 updates, 0 removals
  - Locking codeigniter/coding-standard (v1.7.15)
  - Locking codeigniter4/devkit (v0.1.0)
  - Locking composer/pcre (3.1.3)
  - Locking composer/semver (3.4.0)
  - Locking composer/xdebug-handler (3.0.5)
  - Locking friendsofphp/php-cs-fixer (v3.55.0)
  - Locking nexusphp/cs-config (v3.22.1)
  - Locking nexusphp/tachycardia (v1.5.0)
  - Locking phpstan/extension-installer (1.3.1)
  - Locking phpstan/phpstan (1.10.67)
  - Locking phpstan/phpstan-deprecation-rules (1.1.4)
  - Locking phpstan/phpstan-phpunit (1.3.16)
  - Locking psr/event-dispatcher (1.0.0)
  - Locking roave/security-advisories (dev-latest 386924e)
  - Locking symfony/console (v7.0.7)
  - Locking symfony/event-dispatcher (v7.0.7)
  - Locking symfony/event-dispatcher-contracts (v3.5.0)
  - Locking symfony/filesystem (v7.0.7)
  - Locking symfony/finder (v7.0.7)
  - Locking symfony/options-resolver (v7.0.7)
  - Locking symfony/polyfill-ctype (v1.29.0)
  - Locking symfony/polyfill-intl-grapheme (v1.29.0)
  - Locking symfony/polyfill-intl-normalizer (v1.29.0)
  - Locking symfony/polyfill-mbstring (v1.29.0)
  - Locking symfony/polyfill-php80 (v1.29.0)
  - Locking symfony/polyfill-php81 (v1.29.0)
  - Locking symfony/process (v7.0.7)
  - Locking symfony/service-contracts (v3.5.0)
  - Locking symfony/stopwatch (v7.0.7)
  - Locking symfony/string (v7.0.7)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 30 installs, 0 updates, 0 removals
  - Downloading symfony/service-contracts (v3.5.0)
  - Downloading symfony/stopwatch (v7.0.7)
  - Downloading symfony/process (v7.0.7)
  - Downloading symfony/options-resolver (v7.0.7)
  - Downloading symfony/finder (v7.0.7)
  - Downloading symfony/filesystem (v7.0.7)
  - Downloading symfony/event-dispatcher-contracts (v3.5.0)
  - Downloading symfony/event-dispatcher (v7.0.7)
  - Downloading symfony/string (v7.0.7)
  - Downloading symfony/console (v7.0.7)
  - Downloading composer/xdebug-handler (3.0.5)
  - Downloading friendsofphp/php-cs-fixer (v3.55.0)
  - Installing phpstan/phpstan (1.10.67): Extracting archive
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 roave/security-advisories (dev-latest 386924e)
  - Installing symfony/polyfill-ctype (v1.29.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.29.0): Extracting archive
  - Installing phpstan/phpstan-phpunit (1.3.16): Extracting archive
  - Installing phpstan/phpstan-deprecation-rules (1.1.4): Extracting archive
  - Installing nexusphp/tachycardia (v1.5.0): Extracting archive
  - Installing symfony/service-contracts (v3.5.0): Extracting archive
  - Installing symfony/stopwatch (v7.0.7): Extracting archive
  - Installing symfony/process (v7.0.7): Extracting archive
  - Installing symfony/polyfill-php81 (v1.29.0): Extracting archive
  - Installing symfony/polyfill-php80 (v1.29.0): Extracting archive
  - Installing symfony/options-resolver (v7.0.7): Extracting archive
  - Installing symfony/finder (v7.0.7): Extracting archive
  - Installing symfony/filesystem (v7.0.7): Extracting archive
  - Installing psr/event-dispatcher (1.0.0): Extracting archive
  - Installing symfony/event-dispatcher-contracts (v3.5.0): Extracting archive
  - Installing symfony/event-dispatcher (v7.0.7): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.29.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.29.0): Extracting archive
  - Installing symfony/string (v7.0.7): Extracting archive
  - Installing symfony/console (v7.0.7): Extracting archive
  - Installing composer/pcre (3.1.3): Extracting archive
  - Installing composer/xdebug-handler (3.0.5): Extracting archive
  - Installing composer/semver (3.4.0): Extracting archive
  - Installing friendsofphp/php-cs-fixer (v3.55.0): Extracting archive
  - Installing nexusphp/cs-config (v3.22.1): Extracting archive
  - Installing codeigniter/coding-standard (v1.7.15): Extracting archive
  - Installing codeigniter4/devkit (v0.1.0): Extracting archive
Generating optimized autoload files
51 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
phpstan/extension-installer: Extensions installed
> phpstan/phpstan-deprecation-rules: installed
> phpstan/phpstan-phpunit: installed
No security vulnerability advisories found.
Using version ^0.1.0 for codeigniter4/devkit
このスクラップは2024/05/07にクローズされました