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

Requiring package returns its 4-digit tag instead of careted tag #11716

Closed
paulbalandan opened this issue Nov 13, 2023 · 2 comments
Closed

Requiring package returns its 4-digit tag instead of careted tag #11716

paulbalandan opened this issue Nov 13, 2023 · 2 comments
Labels
Milestone

Comments

@paulbalandan
Copy link

My composer.json:

{
  "name": "codeigniter4/appstarter",
  "type": "project",
  "description": "CodeIgniter4 starter app",
  "homepage": "https://codeigniter.com",
  "license": "MIT",
  "require": {
    "php": "^8.1",
    "ext-simplexml": "*",
    "ext-xsl": "*",
    "codeigniter4/framework": "^4.4",
    "codeigniter4/shield": "^1.0@beta",
    "codeigniter4/tasks": "dev-develop",
    "league/commonmark": "^2.3",
    "michalsn/codeigniter-htmx": "^1.2.2",
    "michalsn/codeigniter-queue": "dev-develop",
    "michalsn/codeigniter-signed-url": "^2.1",
    "michalsn/codeigniter-tags": "^1.0",
    "s9e/text-formatter": "^2.13"
  },
  "require-dev": {
    "codeigniter4/devkit": "^1.1",
    "mockery/mockery": "^1.6",
    "phpstan/phpstan-mockery": "^1.1",
    "rector/rector": "0.18.5"
  },
  "config": {
    "optimize-autoloader": true,
    "preferred-install": "dist",
    "sort-packages": true,
    "allow-plugins": {
      "phpstan/extension-installer": true
    }
  },
  "autoload": {
    "exclude-from-classmap": [
      "**/Database/Migrations/**"
    ]
  },
  "minimum-stability": "dev",
  "prefer-stable": true,
  "autoload-dev": {
    "psr-4": {
      "Tests\\Support\\": "tests/_support"
    }
  },
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/codeigniter4/tasks.git"
    }
  ],
  "scripts": {
    "analyze": [
      "phpstan analyze",
      "psalm",
      "rector process --dry-run"
    ],
    "sa": "@analyze",
    "cs": "php-cs-fixer fix --ansi --verbose --dry-run --diff",
    "cs-fix": "php-cs-fixer fix --ansi --verbose --diff",
    "test": "phpunit"
  },
  "support": {
    "forum": "https://forum.codeigniter.com/",
    "source": "https://github.com/codeigniter4/CodeIgniter4",
    "slack": "https://codeigniterchat.slack.com"
  }
}

Output of composer diagnose:

Checking composer.json: OK
Checking platform settings: OK
Checking git settings: OK git version 2.42.0
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com oauth access: OK
Checking disk free space: OK
Checking pubkeys:
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0  87719BA6 8F3BB723 4E5D42D0 84A14642
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B  0C708369 153E328C AD90147D AFE50952
OK
Checking composer version: OK
Composer version: 2.6.5
PHP version: 8.2.12
PHP binary path: C:\php82\php.exe
OpenSSL version: OpenSSL 3.0.11 19 Sep 2023
cURL version: 8.4.0 libz 1.2.12 ssl OpenSSL/3.0.11
zip: extension present, unzip present, 7-Zip not available

When I run this command:

composer require --dev codeigniter/phpstan-codeigniter -vvv

I get the following output:

Full debug output

Running 2.6.5 (2023-10-06 10:11:52) with PHP 8.2.12 on Windows NT / 10.0
Reading ./composer.json (C:\Users\P\Desktop\Web Dev\forum-example\composer.json)
Loading config file C:/Users/P/AppData/Roaming/Composer/auth.json
Loading config file ./composer.json (C:\Users\P\Desktop\Web Dev\forum-example\composer.json)
Checked CA file /etc/pki/tls/certs/ca-bundle.crt does not exist or it is not a file.
Checked directory /etc/pki/tls/certs/ca-bundle.crt does not exist or it is not a directory.
Checked CA file /etc/ssl/certs/ca-certificates.crt does not exist or it is not a file.
Checked directory /etc/ssl/certs/ca-certificates.crt does not exist or it is not a directory.
Checked CA file /etc/ssl/ca-bundle.pem does not exist or it is not a file.
Checked directory /etc/ssl/ca-bundle.pem does not exist or it is not a directory.
Checked CA file /usr/local/share/certs/ca-root-nss.crt does not exist or it is not a file.
Checked directory /usr/local/share/certs/ca-root-nss.crt does not exist or it is not a directory.
Checked CA file /usr/ssl/certs/ca-bundle.crt does not exist or it is not a file.
Checked directory /usr/ssl/certs/ca-bundle.crt does not exist or it is not a directory.
Checked CA file /opt/local/share/curl/curl-ca-bundle.crt does not exist or it is not a file.
Checked directory /opt/local/share/curl/curl-ca-bundle.crt does not exist or it is not a directory.
Checked CA file /usr/local/share/curl/curl-ca-bundle.crt does not exist or it is not a file.
Checked directory /usr/local/share/curl/curl-ca-bundle.crt does not exist or it is not a directory.
Checked CA file /usr/share/ssl/certs/ca-bundle.crt does not exist or it is not a file.
Checked directory /usr/share/ssl/certs/ca-bundle.crt does not exist or it is not a directory.
Checked CA file /etc/ssl/cert.pem does not exist or it is not a file.
Checked directory /etc/ssl/cert.pem does not exist or it is not a directory.
Checked CA file /usr/local/etc/ssl/cert.pem does not exist or it is not a file.
Checked directory /usr/local/etc/ssl/cert.pem does not exist or it is not a directory.
Checked CA file /usr/local/etc/openssl/cert.pem does not exist or it is not a file.
Checked directory /usr/local/etc/openssl/cert.pem does not exist or it is not a directory.
Checked CA file /usr/local/etc/openssl@1.1/cert.pem does not exist or it is not a file.
Checked directory /usr/local/etc/openssl@1.1/cert.pem does not exist or it is not a directory.
Checked CA file /etc/pki/tls/certs does not exist or it is not a file.
Checked directory /etc/pki/tls/certs does not exist or it is not a directory.
Checked CA file /etc/ssl/certs does not exist or it is not a file.
Checked directory /etc/ssl/certs does not exist or it is not a directory.
Checked CA file /etc/ssl does not exist or it is not a file.
Checked directory /etc/ssl does not exist or it is not a directory.
Checked CA file /usr/local/share/certs does not exist or it is not a file.
Checked directory /usr/local/share/certs does not exist or it is not a directory.
Checked CA file /usr/ssl/certs does not exist or it is not a file.
Checked directory /usr/ssl/certs does not exist or it is not a directory.
Checked CA file /opt/local/share/curl does not exist or it is not a file.
Checked directory /opt/local/share/curl does not exist or it is not a directory.
Checked CA file /usr/local/share/curl does not exist or it is not a file.
Checked directory /usr/local/share/curl does not exist or it is not a directory.
Checked CA file /usr/share/ssl/certs does not exist or it is not a file.
Checked directory /usr/share/ssl/certs does not exist or it is not a directory.
Checked CA file /etc/ssl does not exist or it is not a file.
Checked directory /etc/ssl does not exist or it is not a directory.
Checked CA file /usr/local/etc/ssl does not exist or it is not a file.
Checked directory /usr/local/etc/ssl does not exist or it is not a directory.
Checked CA file /usr/local/etc/openssl does not exist or it is not a file.
Checked directory /usr/local/etc/openssl does not exist or it is not a directory.
Checked CA file /usr/local/etc/openssl@1.1 does not exist or it is not a file.
Checked directory /usr/local/etc/openssl@1.1 does not exist or it is not a directory.
Checked CA file C:\Users\P\AppData\Local\Temp\ope6A78.tmp: valid
Executing command (C:\Users\P\Desktop\Web Dev\forum-example): git branch -a --no-color --no-abbrev -v
Executing async command (C:\Users\P\Desktop\Web Dev\forum-example): git rev-list remotes/origin/develop..add-phpstan-codeigniter
Reading C:/Users/P/AppData/Roaming/Composer/composer.json (C:\Users\P\AppData\Roaming\Composer\composer.json)
Loading config file C:/Users/P/AppData/Roaming/Composer/auth.json
Loading config file C:/Users/P/AppData/Roaming/Composer/composer.json (C:\Users\P\AppData\Roaming\Composer\composer.json)
Loading config file C:\Users\P\AppData\Roaming\Composer/auth.json
Reading C:\Users\P\AppData\Roaming\Composer/auth.json (C:\Users\P\AppData\Roaming\Composer\auth.json)
Reading C:\Users\P\Desktop\Web Dev\forum-example/vendor/composer/installed.json (C:\Users\P\Desktop\Web Dev\forum-example\vendor\composer\installed.json)  
Reading C:/Users/P/AppData/Roaming/Composer/vendor/composer/installed.json (C:\Users\P\AppData\Roaming\Composer\vendor\composer\installed.json)
Loading plugin PHPStan\ExtensionInstaller\Plugin (from phpstan/extension-installer)
Loading plugin Ergebnis\Composer\Normalize\NormalizePlugin (from ergebnis/composer-normalize, installed globally)
Using GitHub token authentication
Downloading https://api.github.com/repos/codeigniter4/tasks
[200] https://api.github.com/repos/codeigniter4/tasks
Downloading https://api.github.com/repos/codeigniter4/tasks/contents/composer.json?ref=develop
[200] https://api.github.com/repos/codeigniter4/tasks/contents/composer.json?ref=develop
Downloading https://api.github.com/repos/codeigniter4/tasks/commits/develop
[200] https://api.github.com/repos/codeigniter4/tasks/commits/develop
Downloading https://api.github.com/repos/codeigniter4/tasks/tags?per_page=100
[200] https://api.github.com/repos/codeigniter4/tasks/tags?per_page=100
Downloading https://api.github.com/repos/codeigniter4/tasks/git/refs/heads?per_page=100
[200] https://api.github.com/repos/codeigniter4/tasks/git/refs/heads?per_page=100
Downloading https://api.github.com/repos/codeigniter4/tasks/contents/.github/FUNDING.yml
[404] https://api.github.com/repos/codeigniter4/tasks/contents/.github/FUNDING.yml
Downloading https://api.github.com/repos/codeigniter4/.github/contents/FUNDING.yml
[404] https://api.github.com/repos/codeigniter4/.github/contents/FUNDING.yml
Reading composer.json of codeigniter4/tasks (develop)
Reading C:/Users/P/AppData/Local/Composer/repo/github.com/codeigniter4/tasks/f4844394a220ecf1fded313c3d2d798e9d1cf0e6 from cache
Importing branch develop (dev-develop)
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/packages.json from cache
Downloading https://repo.packagist.org/packages.json if modified
[304] https://repo.packagist.org/packages.json
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-codeigniter~phpstan-codeigniter.json from cache
Downloading https://repo.packagist.org/p2/codeigniter/phpstan-codeigniter.json if modified
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-codeigniter~phpstan-codeigniter~dev.json from cache
Downloading https://repo.packagist.org/p2/codeigniter/phpstan-codeigniter~dev.json if modified
[304] https://repo.packagist.org/p2/codeigniter/phpstan-codeigniter.json
[304] https://repo.packagist.org/p2/codeigniter/phpstan-codeigniter~dev.json
./composer.json has been updated
Unloading plugin PHPStan\ExtensionInstaller\Plugin
Unloading plugin Ergebnis\Composer\Normalize\NormalizePlugin
Reading ./composer.json (C:\Users\P\Desktop\Web Dev\forum-example\composer.json)
Loading config file C:/Users/P/AppData/Roaming/Composer/auth.json
Loading config file ./composer.json (C:\Users\P\Desktop\Web Dev\forum-example\composer.json)
Executing command (C:\Users\P\Desktop\Web Dev\forum-example): git branch -a --no-color --no-abbrev -v
Executing async command (C:\Users\P\Desktop\Web Dev\forum-example): git rev-list remotes/origin/develop..add-phpstan-codeigniter
Reading C:/Users/P/AppData/Roaming/Composer/composer.json (C:\Users\P\AppData\Roaming\Composer\composer.json)
Loading config file C:/Users/P/AppData/Roaming/Composer/auth.json
Loading config file C:/Users/P/AppData/Roaming/Composer/composer.json (C:\Users\P\AppData\Roaming\Composer\composer.json)
Loading config file C:\Users\P\AppData\Roaming\Composer/auth.json
Reading C:\Users\P\AppData\Roaming\Composer/auth.json (C:\Users\P\AppData\Roaming\Composer\auth.json)
Reading C:\Users\P\Desktop\Web Dev\forum-example/vendor/composer/installed.json (C:\Users\P\Desktop\Web Dev\forum-example\vendor\composer\installed.json)  
Reading C:/Users/P/AppData/Roaming/Composer/vendor/composer/installed.json (C:\Users\P\AppData\Roaming\Composer\vendor\composer\installed.json)
Loading plugin PHPStan\ExtensionInstaller\Plugin_composer_tmp0 (from phpstan/extension-installer)
Loading plugin Ergebnis\Composer\Normalize\NormalizePlugin_composer_tmp1 (from ergebnis/composer-normalize, installed globally)
Running composer update codeigniter/phpstan-codeigniter
Reading ./composer.lock (C:\Users\P\Desktop\Web Dev\forum-example\composer.lock)
Loading composer repositories with package information
Using GitHub token authentication
Downloading https://api.github.com/repos/codeigniter4/tasks
[200] https://api.github.com/repos/codeigniter4/tasks
Downloading https://api.github.com/repos/codeigniter4/tasks/contents/composer.json?ref=develop
[200] https://api.github.com/repos/codeigniter4/tasks/contents/composer.json?ref=develop
Downloading https://api.github.com/repos/codeigniter4/tasks/commits/develop
[200] https://api.github.com/repos/codeigniter4/tasks/commits/develop
Downloading https://api.github.com/repos/codeigniter4/tasks/tags?per_page=100
[200] https://api.github.com/repos/codeigniter4/tasks/tags?per_page=100
Downloading https://api.github.com/repos/codeigniter4/tasks/git/refs/heads?per_page=100
[200] https://api.github.com/repos/codeigniter4/tasks/git/refs/heads?per_page=100
Downloading https://api.github.com/repos/codeigniter4/tasks/contents/.github/FUNDING.yml
[404] https://api.github.com/repos/codeigniter4/tasks/contents/.github/FUNDING.yml
Downloading https://api.github.com/repos/codeigniter4/.github/contents/FUNDING.yml
[404] https://api.github.com/repos/codeigniter4/.github/contents/FUNDING.yml
Reading composer.json of codeigniter4/tasks (develop)
Reading C:/Users/P/AppData/Local/Composer/repo/github.com/codeigniter4/tasks/f4844394a220ecf1fded313c3d2d798e9d1cf0e6 from cache
Importing branch develop (dev-develop)
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/packages.json from cache
Downloading https://repo.packagist.org/packages.json if modified
[304] https://repo.packagist.org/packages.json
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-codeigniter~phpstan-codeigniter.json from cache
Downloading https://repo.packagist.org/p2/codeigniter/phpstan-codeigniter.json if modified
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-codeigniter~phpstan-codeigniter~dev.json from cache
Downloading https://repo.packagist.org/p2/codeigniter/phpstan-codeigniter~dev.json if modified
[304] https://repo.packagist.org/p2/codeigniter/phpstan-codeigniter.json
[304] https://repo.packagist.org/p2/codeigniter/phpstan-codeigniter~dev.json
Built pool.
Running pool optimizer.
Pool optimizer completed in 0.028 seconds
Found 213 package versions referenced in your dependency graph. 22 (10%) were optimized away.
Updating dependencies
Generating rules
Resolving dependencies through SAT
Looking at all rules.

Dependency resolution completed in 0.001 seconds
Analyzed 191 packages to resolve dependencies
Analyzed 242 rules to resolve dependencies
Generating rules
Resolving dependencies through SAT
Looking at all rules.

Dependency resolution completed in 0.000 seconds
Lock file operations: 1 install, 0 updates, 0 removals
Installs: codeigniter/phpstan-codeigniter:v1.4.2.70400

  • Locking codeigniter/phpstan-codeigniter (v1.4.2.70400)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Reading ./composer.lock (C:\Users\P\Desktop\Web Dev\forum-example\composer.lock)
    Package operations: 1 install, 0 updates, 0 removals
    Installs: codeigniter/phpstan-codeigniter:v1.4.2.70400
    Reading C:/Users/P/AppData/Local/Composer/files/codeigniter/phpstan-codeigniter/675910e4331cd3e2997103f7ae6c943191a6ea14.zip from cache
  • Loading codeigniter/phpstan-codeigniter (v1.4.2.70400) from cache
  • Installing codeigniter/phpstan-codeigniter (v1.4.2.70400): Extracting archive
    Executing async command (CWD): "C:\Program Files\Git\usr\bin\unzip.EXE" -qq "C:\Users\P\Desktop\Web Dev\forum-example\vendor\composer\tmp-6f5e3d1d66e41a7c1206c5f9b47a3884.zip" -d "C:\Users\P\Desktop\Web Dev\forum-example\vendor\composer\8eaf032e"
    Executing async command (CWD): rmdir /S /Q "C:\Users\P\Desktop\Web Dev\forum-example\vendor\composer\8eaf032e"
    Downloading https://packagist.org/downloads/
    [201] https://packagist.org/downloads/
    Generating optimized autoload files
    58 packages you are using are looking for funding.
    Use the composer fund command to find out more!

post-update-cmd: PHPStan\ExtensionInstaller\Plugin_composer_tmp0->process
phpstan/extension-installer: Extensions installed
codeigniter/phpstan-codeigniter: installed
phpstan/phpstan-deprecation-rules: installed
phpstan/phpstan-mockery: installed
phpstan/phpstan-phpunit: installed
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-amphpamp.json from cache
Downloading https://repo.packagist.org/p2/amphp/amp.json if modified
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-amphp
byte-stream.json from cache
Downloading https://repo.packagist.org/p2/amphp/byte-stream.json if modified
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-codeignitercoding-standard.json from cache
Downloading https://repo.packagist.org/p2/codeigniter/coding-standard.json if modified
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-codeigniter4
devkit.json from cache
Downloading https://repo.packagist.org/p2/codeigniter4/devkit.json if modified
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-codeigniter4framework.json from cache
Downloading https://repo.packagist.org/p2/codeigniter4/framework.json if modified
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-codeigniter4
settings.json from cache
Downloading https://repo.packagist.org/p2/codeigniter4/settings.json if modified
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-codeigniter4shield.json from cache
Downloading https://repo.packagist.org/p2/codeigniter4/shield.json if modified
Downloading https://repo.packagist.org/p2/codeigniter4/tasks.json
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-composer
pcre.json from cache
Downloading https://repo.packagist.org/p2/composer/pcre.json if modified
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-composersemver.json from cache
Downloading https://repo.packagist.org/p2/composer/semver.json if modified
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-composer
xdebug-handler.json from cache
Downloading https://repo.packagist.org/p2/composer/xdebug-handler.json if modified
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-dflydevdot-access-data.json from cache
Downloading https://repo.packagist.org/p2/dflydev/dot-access-data.json if modified
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-dnoegel
php-xdg-base-dir.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-doctrinedeprecations.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-doctrine
instantiator.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-fakerphpfaker.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-felixfbecker
advanced-json-rpc.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-felixfbeckerlanguage-server-protocol.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-fidry
cpu-core-counter.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-friendsofphpphp-cs-fixer.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-hamcrest
hamcrest-php.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-laminaslaminas-escaper.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-league
commonmark.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-leagueconfig.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-michalsn
codeigniter-htmx.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-michalsncodeigniter-queue.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-michalsn
codeigniter-signed-url.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-michalsncodeigniter-tags.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-mikey179
vfsstream.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-mockerymockery.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-myclabs
deep-copy.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-mythcollection.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-netresearch
jsonmapper.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-netteschema.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-nette
utils.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-nexusphpcs-config.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-nexusphp
tachycardia.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-nikicphp-parser.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phar-io
manifest.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phar-ioversion.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phpdocumentor
reflection-common.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phpdocumentorreflection-docblock.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phpdocumentor
type-resolver.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phpstanextension-installer.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phpstan
phpdoc-parser.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phpstanphpstan.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phpstan
phpstan-deprecation-rules.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phpstanphpstan-mockery.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phpstan
phpstan-phpunit.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phpunitphp-code-coverage.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phpunit
php-file-iterator.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phpunitphp-invoker.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phpunit
php-text-template.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phpunitphp-timer.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-phpunit
phpunit.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-psrcontainer.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-psr
event-dispatcher.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-psrlog.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-rector
rector.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-roavesecurity-advisories.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-s9e
regexp-builder.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-s9esweetdom.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-s9e
text-formatter.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-sebastiancli-parser.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-sebastian
code-unit.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-sebastiancode-unit-reverse-lookup.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-sebastian
comparator.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-sebastiancomplexity.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-sebastian
diff.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-sebastianenvironment.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-sebastian
exporter.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-sebastianglobal-state.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-sebastian
lines-of-code.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-sebastianobject-enumerator.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-sebastian
object-reflector.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-sebastianrecursion-context.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-sebastian
resource-operations.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-sebastiantype.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-sebastian
version.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-spatiearray-to-xml.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfony
console.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfonydeprecation-contracts.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfony
event-dispatcher.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfonyevent-dispatcher-contracts.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfony
filesystem.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfonyfinder.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfony
options-resolver.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfonypolyfill-ctype.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfony
polyfill-intl-grapheme.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfonypolyfill-intl-normalizer.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfony
polyfill-mbstring.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfonypolyfill-php80.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfony
polyfill-php81.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfonyprocess.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfony
service-contracts.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfonystopwatch.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfony
string.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-theseertokenizer.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-vimeo
psalm.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-webmozartassert.json from cache
Reading C:/Users/P/AppData/Local/Composer/repo/https---repo.packagist.org/provider-codeigniter
phpstan-codeigniter.json from cache
[304] https://repo.packagist.org/p2/amphp/amp.json
[304] https://repo.packagist.org/p2/amphp/byte-stream.json
[304] https://repo.packagist.org/p2/codeigniter/coding-standard.json
[304] https://repo.packagist.org/p2/codeigniter4/devkit.json
[304] https://repo.packagist.org/p2/codeigniter4/framework.json
[304] https://repo.packagist.org/p2/codeigniter4/settings.json
[304] https://repo.packagist.org/p2/codeigniter4/shield.json
[404] https://repo.packagist.org/p2/codeigniter4/tasks.json
[304] https://repo.packagist.org/p2/composer/pcre.json
[304] https://repo.packagist.org/p2/composer/semver.json
[304] https://repo.packagist.org/p2/composer/xdebug-handler.json
Downloading https://repo.packagist.org/p2/dnoegel/php-xdg-base-dir.json if modified
Downloading https://repo.packagist.org/p2/doctrine/deprecations.json if modified
Downloading https://repo.packagist.org/p2/doctrine/instantiator.json if modified
Downloading https://repo.packagist.org/p2/fakerphp/faker.json if modified
Downloading https://repo.packagist.org/p2/felixfbecker/advanced-json-rpc.json if modified
Downloading https://repo.packagist.org/p2/felixfbecker/language-server-protocol.json if modified
Downloading https://repo.packagist.org/p2/fidry/cpu-core-counter.json if modified
Downloading https://repo.packagist.org/p2/friendsofphp/php-cs-fixer.json if modified
Downloading https://repo.packagist.org/p2/hamcrest/hamcrest-php.json if modified
Downloading https://repo.packagist.org/p2/laminas/laminas-escaper.json if modified
Downloading https://repo.packagist.org/p2/league/commonmark.json if modified
[304] https://repo.packagist.org/p2/dflydev/dot-access-data.json
Downloading https://repo.packagist.org/p2/league/config.json if modified
[304] https://repo.packagist.org/p2/dnoegel/php-xdg-base-dir.json
[304] https://repo.packagist.org/p2/doctrine/deprecations.json
[304] https://repo.packagist.org/p2/doctrine/instantiator.json
[304] https://repo.packagist.org/p2/fakerphp/faker.json
[304] https://repo.packagist.org/p2/felixfbecker/advanced-json-rpc.json
[304] https://repo.packagist.org/p2/felixfbecker/language-server-protocol.json
[304] https://repo.packagist.org/p2/fidry/cpu-core-counter.json
[304] https://repo.packagist.org/p2/friendsofphp/php-cs-fixer.json
[304] https://repo.packagist.org/p2/hamcrest/hamcrest-php.json
[304] https://repo.packagist.org/p2/laminas/laminas-escaper.json
[304] https://repo.packagist.org/p2/league/commonmark.json
Downloading https://repo.packagist.org/p2/michalsn/codeigniter-htmx.json if modified
Downloading https://repo.packagist.org/p2/michalsn/codeigniter-queue.json if modified
Downloading https://repo.packagist.org/p2/michalsn/codeigniter-signed-url.json if modified
Downloading https://repo.packagist.org/p2/michalsn/codeigniter-tags.json if modified
Downloading https://repo.packagist.org/p2/mikey179/vfsstream.json if modified
Downloading https://repo.packagist.org/p2/mockery/mockery.json if modified
Downloading https://repo.packagist.org/p2/myclabs/deep-copy.json if modified
Downloading https://repo.packagist.org/p2/myth/collection.json if modified
Downloading https://repo.packagist.org/p2/netresearch/jsonmapper.json if modified
Downloading https://repo.packagist.org/p2/nette/schema.json if modified
Downloading https://repo.packagist.org/p2/nette/utils.json if modified
[304] https://repo.packagist.org/p2/league/config.json
Downloading https://repo.packagist.org/p2/nexusphp/cs-config.json if modified
[304] https://repo.packagist.org/p2/michalsn/codeigniter-htmx.json
[304] https://repo.packagist.org/p2/michalsn/codeigniter-queue.json
[304] https://repo.packagist.org/p2/michalsn/codeigniter-signed-url.json
[304] https://repo.packagist.org/p2/michalsn/codeigniter-tags.json
[304] https://repo.packagist.org/p2/mikey179/vfsstream.json
[304] https://repo.packagist.org/p2/mockery/mockery.json
[304] https://repo.packagist.org/p2/myclabs/deep-copy.json
[304] https://repo.packagist.org/p2/myth/collection.json
[304] https://repo.packagist.org/p2/netresearch/jsonmapper.json
[304] https://repo.packagist.org/p2/nette/schema.json
[304] https://repo.packagist.org/p2/nette/utils.json
Downloading https://repo.packagist.org/p2/nexusphp/tachycardia.json if modified
Downloading https://repo.packagist.org/p2/nikic/php-parser.json if modified
Downloading https://repo.packagist.org/p2/phar-io/manifest.json if modified
Downloading https://repo.packagist.org/p2/phar-io/version.json if modified
Downloading https://repo.packagist.org/p2/phpdocumentor/reflection-common.json if modified
Downloading https://repo.packagist.org/p2/phpdocumentor/reflection-docblock.json if modified
Downloading https://repo.packagist.org/p2/phpdocumentor/type-resolver.json if modified
Downloading https://repo.packagist.org/p2/phpstan/extension-installer.json if modified
Downloading https://repo.packagist.org/p2/phpstan/phpdoc-parser.json if modified
Downloading https://repo.packagist.org/p2/phpstan/phpstan.json if modified
Downloading https://repo.packagist.org/p2/phpstan/phpstan-deprecation-rules.json if modified
[304] https://repo.packagist.org/p2/nexusphp/cs-config.json
Downloading https://repo.packagist.org/p2/phpstan/phpstan-mockery.json if modified
[304] https://repo.packagist.org/p2/nexusphp/tachycardia.json
[304] https://repo.packagist.org/p2/nikic/php-parser.json
[304] https://repo.packagist.org/p2/phar-io/manifest.json
[304] https://repo.packagist.org/p2/phar-io/version.json
[304] https://repo.packagist.org/p2/phpdocumentor/reflection-common.json
[304] https://repo.packagist.org/p2/phpdocumentor/reflection-docblock.json
[304] https://repo.packagist.org/p2/phpdocumentor/type-resolver.json
[304] https://repo.packagist.org/p2/phpstan/extension-installer.json
Downloading https://repo.packagist.org/p2/phpstan/phpstan-phpunit.json if modified
Downloading https://repo.packagist.org/p2/phpunit/php-code-coverage.json if modified
Downloading https://repo.packagist.org/p2/phpunit/php-file-iterator.json if modified
Downloading https://repo.packagist.org/p2/phpunit/php-invoker.json if modified
Downloading https://repo.packagist.org/p2/phpunit/php-text-template.json if modified
Downloading https://repo.packagist.org/p2/phpunit/php-timer.json if modified
Downloading https://repo.packagist.org/p2/phpunit/phpunit.json if modified
Downloading https://repo.packagist.org/p2/psr/container.json if modified
[304] https://repo.packagist.org/p2/phpstan/phpdoc-parser.json
[304] https://repo.packagist.org/p2/phpstan/phpstan.json
[304] https://repo.packagist.org/p2/phpstan/phpstan-deprecation-rules.json
Downloading https://repo.packagist.org/p2/psr/event-dispatcher.json if modified
Downloading https://repo.packagist.org/p2/psr/log.json if modified
Downloading https://repo.packagist.org/p2/rector/rector.json if modified
[304] https://repo.packagist.org/p2/phpstan/phpstan-mockery.json
Downloading https://repo.packagist.org/p2/roave/security-advisories.json if modified
[304] https://repo.packagist.org/p2/phpstan/phpstan-phpunit.json
[304] https://repo.packagist.org/p2/phpunit/php-code-coverage.json
[304] https://repo.packagist.org/p2/phpunit/php-file-iterator.json
[304] https://repo.packagist.org/p2/phpunit/php-invoker.json
[304] https://repo.packagist.org/p2/phpunit/php-text-template.json
[304] https://repo.packagist.org/p2/phpunit/php-timer.json
[304] https://repo.packagist.org/p2/phpunit/phpunit.json
[304] https://repo.packagist.org/p2/psr/container.json
Downloading https://repo.packagist.org/p2/s9e/regexp-builder.json if modified
Downloading https://repo.packagist.org/p2/s9e/sweetdom.json if modified
Downloading https://repo.packagist.org/p2/s9e/text-formatter.json if modified
Downloading https://repo.packagist.org/p2/sebastian/cli-parser.json if modified
Downloading https://repo.packagist.org/p2/sebastian/code-unit.json if modified
Downloading https://repo.packagist.org/p2/sebastian/code-unit-reverse-lookup.json if modified
Downloading https://repo.packagist.org/p2/sebastian/comparator.json if modified
Downloading https://repo.packagist.org/p2/sebastian/complexity.json if modified
[304] https://repo.packagist.org/p2/psr/event-dispatcher.json
[304] https://repo.packagist.org/p2/psr/log.json
[304] https://repo.packagist.org/p2/rector/rector.json
Downloading https://repo.packagist.org/p2/sebastian/diff.json if modified
Downloading https://repo.packagist.org/p2/sebastian/environment.json if modified
Downloading https://repo.packagist.org/p2/sebastian/exporter.json if modified
[304] https://repo.packagist.org/p2/roave/security-advisories.json
Downloading https://repo.packagist.org/p2/sebastian/global-state.json if modified
[304] https://repo.packagist.org/p2/s9e/regexp-builder.json
[304] https://repo.packagist.org/p2/s9e/sweetdom.json
[304] https://repo.packagist.org/p2/s9e/text-formatter.json
[304] https://repo.packagist.org/p2/sebastian/cli-parser.json
[304] https://repo.packagist.org/p2/sebastian/code-unit.json
[304] https://repo.packagist.org/p2/sebastian/code-unit-reverse-lookup.json
[304] https://repo.packagist.org/p2/sebastian/comparator.json
[304] https://repo.packagist.org/p2/sebastian/complexity.json
Downloading https://repo.packagist.org/p2/sebastian/lines-of-code.json if modified
Downloading https://repo.packagist.org/p2/sebastian/object-enumerator.json if modified
Downloading https://repo.packagist.org/p2/sebastian/object-reflector.json if modified
Downloading https://repo.packagist.org/p2/sebastian/recursion-context.json if modified
Downloading https://repo.packagist.org/p2/sebastian/resource-operations.json if modified
Downloading https://repo.packagist.org/p2/sebastian/type.json if modified
Downloading https://repo.packagist.org/p2/sebastian/version.json if modified
Downloading https://repo.packagist.org/p2/spatie/array-to-xml.json if modified
[304] https://repo.packagist.org/p2/sebastian/diff.json
[304] https://repo.packagist.org/p2/sebastian/environment.json
[304] https://repo.packagist.org/p2/sebastian/exporter.json
Downloading https://repo.packagist.org/p2/symfony/console.json if modified
Downloading https://repo.packagist.org/p2/symfony/deprecation-contracts.json if modified
Downloading https://repo.packagist.org/p2/symfony/event-dispatcher.json if modified
[304] https://repo.packagist.org/p2/sebastian/global-state.json
Downloading https://repo.packagist.org/p2/symfony/event-dispatcher-contracts.json if modified
[304] https://repo.packagist.org/p2/sebastian/lines-of-code.json
[304] https://repo.packagist.org/p2/sebastian/object-enumerator.json
[304] https://repo.packagist.org/p2/sebastian/object-reflector.json
[304] https://repo.packagist.org/p2/sebastian/recursion-context.json
[304] https://repo.packagist.org/p2/sebastian/resource-operations.json
[304] https://repo.packagist.org/p2/sebastian/type.json
[304] https://repo.packagist.org/p2/sebastian/version.json
[304] https://repo.packagist.org/p2/spatie/array-to-xml.json
Downloading https://repo.packagist.org/p2/symfony/filesystem.json if modified
Downloading https://repo.packagist.org/p2/symfony/finder.json if modified
Downloading https://repo.packagist.org/p2/symfony/options-resolver.json if modified
Downloading https://repo.packagist.org/p2/symfony/polyfill-ctype.json if modified
Downloading https://repo.packagist.org/p2/symfony/polyfill-intl-grapheme.json if modified
Downloading https://repo.packagist.org/p2/symfony/polyfill-intl-normalizer.json if modified
Downloading https://repo.packagist.org/p2/symfony/polyfill-mbstring.json if modified
Downloading https://repo.packagist.org/p2/symfony/polyfill-php80.json if modified
[304] https://repo.packagist.org/p2/symfony/console.json
[304] https://repo.packagist.org/p2/symfony/deprecation-contracts.json
[304] https://repo.packagist.org/p2/symfony/event-dispatcher.json
Downloading https://repo.packagist.org/p2/symfony/polyfill-php81.json if modified
Downloading https://repo.packagist.org/p2/symfony/process.json if modified
Downloading https://repo.packagist.org/p2/symfony/service-contracts.json if modified
[304] https://repo.packagist.org/p2/symfony/event-dispatcher-contracts.json
Downloading https://repo.packagist.org/p2/symfony/stopwatch.json if modified
[304] https://repo.packagist.org/p2/symfony/filesystem.json
[304] https://repo.packagist.org/p2/symfony/finder.json
[304] https://repo.packagist.org/p2/symfony/options-resolver.json
[304] https://repo.packagist.org/p2/symfony/polyfill-ctype.json
[304] https://repo.packagist.org/p2/symfony/polyfill-intl-grapheme.json
[304] https://repo.packagist.org/p2/symfony/polyfill-intl-normalizer.json
[304] https://repo.packagist.org/p2/symfony/polyfill-mbstring.json
[304] https://repo.packagist.org/p2/symfony/polyfill-php80.json
Downloading https://repo.packagist.org/p2/symfony/string.json if modified
Downloading https://repo.packagist.org/p2/theseer/tokenizer.json if modified
Downloading https://repo.packagist.org/p2/vimeo/psalm.json if modified
Downloading https://repo.packagist.org/p2/webmozart/assert.json if modified
[304] https://repo.packagist.org/p2/symfony/polyfill-php81.json
[304] https://repo.packagist.org/p2/symfony/process.json
[304] https://repo.packagist.org/p2/symfony/service-contracts.json
[304] https://repo.packagist.org/p2/symfony/stopwatch.json
[304] https://repo.packagist.org/p2/symfony/string.json
[304] https://repo.packagist.org/p2/theseer/tokenizer.json
[304] https://repo.packagist.org/p2/vimeo/psalm.json
[304] https://repo.packagist.org/p2/webmozart/assert.json
Downloading https://packagist.org/api/security-advisories/
[200] https://packagist.org/api/security-advisories/
No security vulnerability advisories found.
Using version v1.4.2.70400 for codeigniter/phpstan-codeigniter

And I expected this to happen:

...
Using version ^1.4 for codeigniter/phpstan-codeigniter
@fredden
Copy link
Contributor

fredden commented Nov 13, 2023

I can reproduce this behaviour with the information provided.

From what I can tell, there is a specific check in \Composer\Package\Version\VersionSelector::transformVersion() which looks for "a semver-looking version" which 1.4.2.70400 does not pass.

// check to see if we have a semver-looking version
if (count($semanticVersionParts) === 4 && Preg::isMatch('{^0\D?}', $semanticVersionParts[3])) {

@Seldaek
Copy link
Member

Seldaek commented Jan 4, 2024

Yeah that's an interesting problem.. I guess we probably should still use ^ there.

@Seldaek Seldaek closed this as completed in be71bf0 Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants
@Seldaek @fredden @paulbalandan and others