Skip to content

Enhancement: Run friendsofphp/php-cs-fixer on GitHub Actions - #219

Open
lacatoire wants to merge 17 commits into
php:masterfrom
lacatoire:ci/add-github-actions-coding-standards-
Open

Enhancement: Run friendsofphp/php-cs-fixer on GitHub Actions#219
lacatoire wants to merge 17 commits into
php:masterfrom
lacatoire:ci/add-github-actions-coding-standards-

Conversation

@lacatoire

Copy link
Copy Markdown
Member

This pull request introduces a new GitHub Actions workflow to automate basic CI tasks for the PHD project.

What’s included:

  • A workflow file named integrate.yml that runs on every push and pull request.
  • Coding Standards: runs PHP 8.1 with the required extensions (dom, xmlreader, sqlite3) and executes PHP-CS-Fixer (rules currently empty, ready for community discussion).

Next steps (for future PRs):

  • Define and agree on a common PHP-CS-Fixer ruleset (.php-cs-fixer.php).
  • Extend CI to cover different PHP versions if needed.
  • Add caching or build artifacts when the project evolves.

This mirrors the approach used in php/web-php#559

Comment thread.github/workflows/integrate.yaml Outdated
Comment thread.gitignore Outdated
Comment thread.php-cs-fixer.dist.php
Comment threadcomposer.json Outdated
Comment threadcomposer.json Outdated
Comment threadcomposer.json Outdated
Comment thread.php-cs-fixer.php Outdated
Comment thread.php-cs-fixer.dist.php
Comment thread.github/workflows/integrate.yaml Outdated
Comment thread.gitignore Outdated
Comment thread.php-cs-fixer.dist.php Outdated
Comment thread.php-cs-fixer.dist.php
Comment threadcomposer.json Outdated
Comment threadcomposer.json Outdated

@keraduskeradus 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.

👍🏻

Comment threadcomposer.json Outdated
lacatoireand others added 12 commits June 9, 2026 11:45
Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com>
Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com>
Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com>
Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com>
Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com>
Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com>
lacatoireand others added 5 commits June 9, 2026 11:45
Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com>
Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com>
Co-authored-by: Dariusz Rumiński <dariusz.ruminski@gmail.com>
@lacatoire
lacatoireforce-pushed the ci/add-github-actions-coding-standards- branch from ed71165 to eab363dCompareJune 9, 2026 09:45
Sign up for freeto 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

@lacatoire@keradus