Skip to content

Refactor code, remove Docker files, and update workflows#1474

Draft
alexandre433 wants to merge 15 commits intodiscord-php:masterfrom
alexandre433:dev/house_keeping
Draft

Refactor code, remove Docker files, and update workflows#1474
alexandre433 wants to merge 15 commits intodiscord-php:masterfrom
alexandre433:dev/house_keeping

Conversation

@alexandre433
Copy link
Copy Markdown
Member

@alexandre433 alexandre433 commented Apr 20, 2026

This pull request removes support for PHP-CS-Fixer and PHPLint, migrates the code style tooling to Laravel Pint, and cleans up related configuration, scripts, and Docker files. It also updates documentation to reflect these changes and makes minor improvements to CI workflows and example scripts.

Tooling and Configuration Updates:

  • Removed all PHP-CS-Fixer configuration and scripts (.php-cs-fixer.dist.php, composer.json scripts and dependency, references in .dockerignore, .phplint.yml) and switched to using Laravel Pint with a new, comprehensive pint.json configuration.
  • Removed PHPLint from dev tools, configuration, and CI workflow.

Docker and Multi-PHP Support Cleanup:

  • Removed all Dockerfiles and docker-compose.yml for multi-PHP version testing, as well as related scripts in composer.json

Documentation and Example Updates:

  • Updated CONTRIBUTING.md and README.md to instruct contributors to use Pint instead of PHP-CS-Fixer.
  • Fixed typos and improved code in example scripts, including updating to use React\Async\async/await and correcting spelling errors.

CI Workflow Improvements:

  • Updated GitHub Actions workflow versions for (actions/checkout@v6, JamesIves/github-pages-deploy-action@4.8.0).

These changes streamline the development workflow, modernize code style enforcement, and remove outdated or redundant tooling.

@alexandre433 alexandre433 marked this pull request as draft April 21, 2026 01:23
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