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 version constraints ignored #9080

Open
1 task done
lpoirothattermann opened this issue Feb 19, 2024 · 0 comments
Open
1 task done

Composer version constraints ignored #9080

lpoirothattermann opened this issue Feb 19, 2024 · 0 comments
Labels
T: bug 🐞 Something isn't working

Comments

@lpoirothattermann
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

Composer

Package manager version

No response

Language version

PHP 8.2.9

Manifest location and content before the Dependabot update

{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"php": "^8.2.9",
"ext-openssl": "*",
"guzzlehttp/guzzle": "^7.2",
"intervention/image": "^2.7",
"laravel/framework": "^10.0",
"laravel/sanctum": "^3.0",
"laravel/telescope": "^4.9",
"laravel/tinker": "^2.7",
"league/flysystem-aws-s3-v3": "^3.0",
"livewire/livewire": "^2.10",
"simplesoftwareio/simple-qrcode": "~4",
"spatie/laravel-markdown": "^2.3",
"staudenmeir/laravel-cte": "^1.0",
"wire-elements/modal": "^1.0"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.7",
"barryvdh/laravel-ide-helper": "^2.13",
"fakerphp/faker": "^1.9.1",
"laravel/breeze": "^1.14",
"laravel/pint": "^1.0",
"laravel/sail": "^1.0.1",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0",
"nunomaduro/phpinsights": "^2.8",
"phpunit/phpunit": "^10.0",
"revolution/sail-db-backup": "^2.0",
"spatie/laravel-ignition": "^2.0"
},
"autoload": {
"psr-4": {
"App\": "app/",
"Database\Factories\": "database/factories/",
"Database\Seeders\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\": "tests/"
}
},
"scripts": {
"post-autoload-dump": [
"Illuminate\Foundation\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"post-root-package-install": [
"@php -r "file_exists('.env') || copy('.env.example', '.env');""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
]
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"minimum-stability": "stable",
"prefer-stable": true
}

dependabot.yml content

version: 2
updates:

  • package-ecosystem: "composer" # See documentation for possible values
    directory: "/" # Location of package manifests
    schedule:
    interval: "weekly"

Updated dependency

image

What you expected to see, versus what you actually saw

I expect to see no update, because I'm already at the highest version that satisfy my package constraint:
"license": "MIT",
"require": {
"php": "^8.2.9",
...
"intervention/image": "^2.7",
...
},

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

No response

Smallest manifest that reproduces the issue

No response

@lpoirothattermann lpoirothattermann added the T: bug 🐞 Something isn't working label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: bug 🐞 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant