Skip to content

Feature/update deps 2026 04 16#212

Merged
gin0115 merged 3 commits intodevelopfrom
feature/update-deps-2026-04-16
Apr 16, 2026
Merged

Feature/update deps 2026 04 16#212
gin0115 merged 3 commits intodevelopfrom
feature/update-deps-2026-04-16

Conversation

@gin0115
Copy link
Copy Markdown
Contributor

@gin0115 gin0115 commented Apr 16, 2026

This pull request updates the development and CI environment to support the latest WordPress and PHP versions, removes support for older versions, and upgrades several development dependencies. It also refines the application configuration logic and updates test workflow scripts for improved compatibility and coverage reporting.

CI Workflow and Test Matrix Updates

  • Removed old GitHub Actions workflows for WordPress 6.1–6.5 and added/renamed workflows for WordPress 6.6–6.9, updating them to test against PHP 8.0–8.4 only (dropped PHP 7.4 support) (.github/workflows/WP_6_6.yaml, .github/workflows/WP_6_7.yaml, .github/workflows/WP_6_8.yaml, .github/workflows/WP_6_9.yaml, [1] [2] [3] [4] [5] [6].
  • Updated MySQL service in workflows from version 5.7 to 8.4 and improved health check commands for better reliability (.github/workflows/WP_6_6.yaml, .github/workflows/WP_6_7.yaml, .github/workflows/WP_6_8.yaml, .github/workflows/WP_6_9.yaml, [1] [2] [3] [4].

Dependency and Compatibility Updates

  • Updated composer.json to require PHP 8.0+, upgraded dev dependencies to the latest compatible versions (including PHPUnit, PHPStan, WordPress stubs, and others), and improved Composer scripts for coverage and analysis (composer.json, composer.jsonL26-R63).
  • Updated the change log and package metadata to reflect these dependency changes (README.md, README.mdR366).

Test Suite and Coverage Improvements

  • Updated WordPress test suite versions to 6.7, 6.8, and 6.9 in workflows and Composer, and ensured Codecov coverage reporting is included in all relevant workflows (.github/workflows/WP_6_8.yaml, .github/workflows/WP_6_9.yaml, [1] [2].

Application Logic Refinement

  • Simplified the logic for setting the view path in App::set_app_config(), removing fallback guessing and always using the explicitly provided path (src/Application/App.php, src/Application/App.phpL171-R178).

References:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17]

gin0115 and others added 2 commits April 16, 2026 23:58
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (3730c0c) to head (46de84c).
⚠️ Report is 8 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##             develop      #212   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       234       234           
===========================================
  Files             22        22           
  Lines            693       693           
===========================================
  Hits             693       693           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gin0115 gin0115 merged commit 6b81ed2 into develop Apr 16, 2026
23 checks passed
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.

1 participant