Skip to content

fix(CI: Yii Integration): add yii-bower asset to composer#3546

Merged
Leiyks merged 1 commit intomasterfrom
leiyks/fix-yii-tests
Dec 23, 2025
Merged

fix(CI: Yii Integration): add yii-bower asset to composer#3546
Leiyks merged 1 commit intomasterfrom
leiyks/fix-yii-tests

Conversation

@Leiyks
Copy link
Contributor

@Leiyks Leiyks commented Dec 23, 2025

Description

Yii Integration tests have been recently failing due to a missing deficiency which this PR is now adding.

Problem 1
    - Root composer.json requires yiisoft/yii2 2.0.53 -> satisfiable by yiisoft/yii2[2.0.53].
    - yiisoft/yii2 2.0.53 requires bower-asset/punycode ^1.4 -> could not be found in any version, but the following packages provide it:
      - yidas/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
      - craftcms/cms Craft CMS
      - yidas/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
      - demokn/yii2-composer-asset
      - kriss/yii2-calendar-schedule Yii2 Calendar Schedule
      - craftcms/yii2-dynamodb Yii2 implementation of a cache, session, and queue driver for DynamoDB
      - lsat/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
      - jamband/yii2-schemadump Generate the schema from an existing database
      - davidhirtz/yii2-skeleton Extended framework and admin panel based on Yii 2.0 framework
      - craftcms/yii2-adapter Craft CMS Yii2 adapter
      - blackhive/yii2-app-advanced Yii 2 Advanced Project Template
      - cliff363825/yii2-bower-asset Yii2 bower asset
      - jamband/yii2-ensure-unique-behavior This extension insert unique identifier automatically for the Yii 2 framework
      - kriss/yii2-advanced Yii2 advanced project template, Frontend for API and Backend with AdminLTE
      - kriss/yii2-amap Yii2 Amap
      ... and 14 more.
      Consider requiring one of these to satisfy the bower-asset/punycode requirement.
  Problem 2
    - Root composer.json requires yiisoft/yii2-gii ~2.1.0 -> satisfiable by yiisoft/yii2-gii[2.1.0, ..., 2.1.4].
    - yiisoft/yii2 2.0.53 requires bower-asset/punycode ^1.4 -> could not be found in any version, but the following packages provide it:
      - yidas/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
      - craftcms/cms Craft CMS
      - yidas/yii2-composer-bower-skip A Composer package that allows you to install or update Yii2 without Bower-Asset
      - demokn/yii2-composer-asset
      - kriss/yii2-calendar-schedule Yii2 Calendar Schedule
      - craftcms/yii2-dynamodb Yii2 implementation of a cache, session, and queue driver for DynamoDB
      - lsat/yii2-bower-asset Bower Assets for Yii 2 app provided via Composer repository
      - jamband/yii2-schemadump Generate the schema from an existing database
      - davidhirtz/yii2-skeleton Extended framework and admin panel based on Yii 2.0 framework
      - craftcms/yii2-adapter Craft CMS Yii2 adapter
      - blackhive/yii2-app-advanced Yii 2 Advanced Project Template
      - cliff363825/yii2-bower-asset Yii2 bower asset
      - jamband/yii2-ensure-unique-behavior This extension insert unique identifier automatically for the Yii 2 framework
      - kriss/yii2-advanced Yii2 advanced project template, Frontend for API and Backend with AdminLTE
      - kriss/yii2-amap Yii2 Amap
      ... and 14 more.
      Consider requiring one of these to satisfy the bower-asset/punycode requirement.
    - yiisoft/yii2-gii[2.1.0, ..., 2.1.4] require yiisoft/yii2 ~2.0.14 -> satisfiable by yiisoft/yii2[2.0.53].
Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

@Leiyks Leiyks force-pushed the leiyks/fix-yii-tests branch from b24fe88 to aa206fd Compare December 23, 2025 15:43
@codecov-commenter
Copy link

codecov-commenter commented Dec 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.64%. Comparing base (0994638) to head (ed67a79).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3546      +/-   ##
==========================================
- Coverage   61.74%   61.64%   -0.11%     
==========================================
  Files         143      143              
  Lines       13045    13045              
  Branches     1704     1704              
==========================================
- Hits         8055     8041      -14     
- Misses       4228     4241      +13     
- Partials      762      763       +1     

see 3 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0994638...ed67a79. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Leiyks Leiyks changed the title feat(CI): use yii-bower asset instead of asset-packagist fix(CI: Yii Integration): add yii-bower asset to composer Dec 23, 2025
@Leiyks Leiyks marked this pull request as ready for review December 23, 2025 16:33
@Leiyks Leiyks requested a review from a team as a code owner December 23, 2025 16:33
Signed-off-by: Alexandre Rulleau <alexandre.rulleau@datadoghq.com>
@Leiyks Leiyks force-pushed the leiyks/fix-yii-tests branch from aa206fd to ed67a79 Compare December 23, 2025 16:33
@Leiyks Leiyks merged commit 560e003 into master Dec 23, 2025
1996 of 2007 checks passed
@Leiyks Leiyks deleted the leiyks/fix-yii-tests branch December 23, 2025 17:10
@github-actions github-actions bot added this to the 1.16.0 milestone Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants