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

Remove Yii gii package for easier maintainance #500

Merged

Conversation

alexander-schranz
Copy link
Member

@alexander-schranz alexander-schranz commented Mar 18, 2025

It requires the dev-master version of yiisoft/yii-middleware but as we not using yii gii here we should better remove it and keep yii example on the stable yii middleware version.

Else we have errors like this:

Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1

  • Root composer.json requires yiisoft/yii-gii dev-master -> satisfiable by yiisoft/yii-gii[dev-master].
  • yiisoft/yii-gii dev-master requires yiisoft/yii-middleware dev-master -> found yiisoft/yii-middleware[dev-master] but it conflicts with your root composer.json require (^1.0).

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

It requires the dev-master yii middleware but as we not using yii gii here we should better remove it and keep yii app basic on yii middleware stable
@alexander-schranz alexander-schranz added DX Improves the developer experience Integration: Yii Yii related issue labels Mar 18, 2025
@alexander-schranz alexander-schranz marked this pull request as ready for review March 18, 2025 11:26
@alexander-schranz alexander-schranz merged commit eab2607 into PHP-CMSIG:0.7 Mar 18, 2025
45 of 47 checks passed
@alexander-schranz alexander-schranz deleted the enhancement/remove-yii-gii branch March 18, 2025 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Improves the developer experience Integration: Yii Yii related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant