Skip to content

PRE-3251: adding CI to generate release in php 7.2#15

Merged
adumont-payplug merged 3 commits intofeature/PRE-3254from
feature/PRE-3251
Mar 26, 2026
Merged

PRE-3251: adding CI to generate release in php 7.2#15
adumont-payplug merged 3 commits intofeature/PRE-3254from
feature/PRE-3251

Conversation

@adumont-payplug
Copy link
Collaborator

No description provided.

@adumont-payplug adumont-payplug marked this pull request as draft March 23, 2026 12:57
@adumont-payplug adumont-payplug force-pushed the feature/PRE-3251 branch 2 times, most recently from 5fe3ddb to 7632499 Compare March 23, 2026 15:02
@adumont-payplug adumont-payplug force-pushed the feature/PRE-3251 branch 2 times, most recently from cdb4156 to 2191aa5 Compare March 24, 2026 08:42
@adumont-payplug adumont-payplug force-pushed the feature/PRE-3251 branch 11 times, most recently from 9067b30 to 62640e4 Compare March 25, 2026 17:02
@adumont-payplug adumont-payplug marked this pull request as ready for review March 26, 2026 08:24
@adumont-payplug adumont-payplug self-assigned this Mar 26, 2026
@adumont-payplug adumont-payplug requested a review from Copilot March 26, 2026 08:30
Copy link

Copilot AI left a comment

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 introduces a CI workflow and supporting scripts/config to produce a PHP 7.2-compatible “release” build by copying the sources to a separate directory, running Rector downgrades, and generating a trimmed composer.json for the packaged artifact.

Changes:

  • Add GitHub Actions CI workflow that runs quality checks, downgrades to PHP 7.2, validates, tests, packages artifacts, and attempts to create releases on tags.
  • Add a release-only Rector config (rector-release.php) and a PHP script to generate a PHP 7.2-compatible composer.json.
  • Add local release automation via composer.json script and Makefile target; ignore generated output directory.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
scripts/generate-release-composer.php Generates a release composer.json by modifying the root composer.json for PHP 7.2 compatibility.
rector.php Removes the default Rector config file.
rector-release.php Adds Rector downgrade configuration targeting the generated release directory.
composer.json Adds a release script pipeline (copy → downgrade → generate composer.json).
Makefile Adds a release target and rewires rector-dry.
.gitignore Ignores a generated release directory.
.github/workflows/ci.yml Adds CI jobs for quality, downgrade, validation, testing, packaging, and release-on-tag.

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

Copy link

Copilot AI left a comment

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 5 out of 6 changed files in this pull request and generated 5 comments.


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

Copy link

Copilot AI left a comment

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 5 out of 6 changed files in this pull request and generated 6 comments.


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

@adumont-payplug adumont-payplug merged commit 49af4b7 into feature/PRE-3254 Mar 26, 2026
11 checks passed
@adumont-payplug adumont-payplug deleted the feature/PRE-3251 branch March 26, 2026 09:54
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.

2 participants