I developed my Laravel package https://github.com/itstructure/laravel-rbac and ran a code checking in a https://scrutinizer-ci.com/g/itstructure/laravel-rbac/inspections/a2b33b54-5498-43fa-8a59-0adf00e71f88.
As a result i had this error (The requested package exists but these are rejected by your constraint):
You are using Composer 1 which is deprecated. You should upgrade to Composer 2, see https://blog.packagist.com/deprecating-composer-1-support/
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 will be shutdown on August 1st 2025. You should upgrade to Composer 2. See https://blog.packagist.com/shutting-down-packagist-org-support-for-composer-1-x/
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
– The requested package itstructure/laravel-grid-view ^1.1.6 exists as itstructure/laravel-grid-view[1.0.0, 1.0.1, 1.0.10, 1.0.11, 1.0.12, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, dev-dev, dev-master] but these are rejected by your constraint.
The tag 1.1.6 exists in my package, but error report says that does not. Also it is not clear for me why it says “You are using Composer 1 which is deprecated. You should upgrade to Composer 2”.
Scrutinizer compile config: https://github.com/itstructure/laravel-rbac/blob/master/.scrutinizer.yml
I had never such error. Can you help?