Skip to content

Conversation

@erickskrauch
Copy link

While updating the dependencies, I also found a bug in the implementation inside Psr7ResponseTrait. I know it's not good to mix multiple edits in one PR, but I thought this fix might be part of an adaptation to laminas/laminas-diactoros v3 support :)

"phpunit/phpunit": "^9.0",
"spiral/roadrunner": "^2.5"
"spiral/roadrunner": "^2.5",
"yidas/yii2-bower-asset": "2.0.13.1"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! This dependency yidas/yii2-bower-asset I don't believe needs to be added. If you can remove it and update the composer.lock file I'd be happy to merge this in. I'd prefer not to lock this and let Yii2 automatically pull it in as needed.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was there before me, so I decided that you actually needed it and moved to the dev section. Should I still remove it? I believe without it you wouldn't be able to install the Yii2 framework since it requires some bower assets.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@charlesportwoodii, kind ping :)

Copy link
Contributor

@maximal maximal Dec 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@erickskrauch, @charlesportwoodii, I think, we should use asset-packagist (bower-asset) approach here, as it is currently the main method for Yii2 applications. Otherwise, for now, this bridge will prevent asset-packagist from installing packages to vendor/bower-asset directory and use yidas/yii2-bower-asset/bower directory instead.

See for more information: https://www.yiiframework.com/doc/guide/2.0/en/structure-assets#bower-npm-assets

@charlesportwoodii charlesportwoodii self-assigned this Oct 21, 2024
@charlesportwoodii charlesportwoodii added bug Something isn't working dependencies Pull requests that update a dependency file labels Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants