Skip to content

chore(deps): use php 8.5 by default#1

Merged
aegypius merged 10 commits into
mainfrom
chores/php-8.4
Feb 2, 2026
Merged

chore(deps): use php 8.5 by default#1
aegypius merged 10 commits into
mainfrom
chores/php-8.4

Conversation

@aegypius

@aegypius aegypius commented Nov 14, 2025

Copy link
Copy Markdown
Owner

No description provided.

@aegypius aegypius marked this pull request as ready for review November 14, 2025 10:33
@aegypius aegypius force-pushed the chores/php-8.4 branch 2 times, most recently from 936acd1 to 395be52 Compare November 14, 2025 10:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades the project to use PHP 8.4 as the default version and updates several development dependencies to more specific versions. The changes include refactoring the Dagger CI setup to dynamically detect the PHP version from composer.json instead of hardcoding it, and improving the GitHub Actions workflow configuration.

Changes:

  • Upgraded PHP requirement from ^8.3 to ^8.4 in composer.json
  • Updated development dependencies to more specific versions (PHPStan, PHPUnit, ECS, etc.)
  • Refactored .dagger/src/PhpProject.php to dynamically detect PHP version from composer.json
  • Enhanced GitHub Actions workflow to trigger on pull requests and fixed incorrect step name

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
composer.json Updates PHP version requirement to ^8.4, pins dev dependencies to specific versions, and adds bump-after-update config
.github/workflows/continuous-integration.yaml Adds pull_request trigger and fixes step name in test job
.dagger/src/PhpProject.php Introduces dynamic PHP version detection to replace hardcoded version in container images

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .dagger/src/PhpProject.php Outdated
Comment thread .dagger/src/PhpProject.php
Comment thread .dagger/src/PhpProject.php Outdated

Copilot AI commented Jan 15, 2026

Copy link
Copy Markdown
Contributor

@aegypius I've opened a new pull request, #2, to work on those changes. Once the pull request is ready, I'll request review from you.

…on cache (#2)

Co-authored-by: aegypius <25710+aegypius@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

Copilot AI commented Jan 15, 2026

Copy link
Copy Markdown
Contributor

@aegypius I've opened a new pull request, #3, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 2 commits January 21, 2026 18:24
Co-authored-by: aegypius <25710+aegypius@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .dagger/src/PhpProject.php Outdated
Comment thread .dagger/src/PhpProject.php
Comment thread composer.json Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@aegypius aegypius changed the title chore(deps): use php 8.4 by default chore(deps): use php 8.5 by default Jan 31, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread composer.json
Comment thread .dagger/src/PhpProject.php

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +72 to 74
return $this->php()
->withMountedDirectory("/app", $source)
->withDirectory("/app/vendor", $this->vendors($source))

Copilot AI Feb 2, 2026

Copy link

Choose a reason for hiding this comment

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

checkCodingStandards() now runs on PHP 8.5 via $this->php(), but vendors() still installs dependencies in a separate composer:2 container. Since the root composer.json now requires PHP ^8.5, dependency installation can become non-deterministic (and potentially fail) if the composer:2 image is built on a lower PHP version. Consider aligning dependency installation with the same PHP version (e.g., run Composer inside the PHP 8.5 container or pin to a Composer image/tag that is guaranteed to use PHP 8.5).

Copilot uses AI. Check for mistakes.
@aegypius aegypius merged commit 0ccf8e2 into main Feb 2, 2026
8 checks passed
@aegypius aegypius deleted the chores/php-8.4 branch February 2, 2026 16:05
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.

3 participants