Refactor code, remove Docker files, and update workflows#1474
Draft
alexandre433 wants to merge 15 commits intodiscord-php:masterfrom
Draft
Refactor code, remove Docker files, and update workflows#1474alexandre433 wants to merge 15 commits intodiscord-php:masterfrom
alexandre433 wants to merge 15 commits intodiscord-php:masterfrom
Conversation
…o 8.4 (also docker)
…ons, remove PHPLint step
…s-fixer with Pint, remove unused dependencies, and enhance Pint rules.
…tamp, deferFind, and nowait functions for improved readability and performance
Modified bootstrap.php to suppress unhandled promise rejections in unit tests.
… and enhance test coverage for contains and getColor functions
…rt-packages configuration
…ons for improved package management
…ve custom DotEnv implementation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
.php-cs-fixer.dist.php,composer.jsonscripts and dependency, references in.dockerignore,.phplint.yml) and switched to using Laravel Pint with a new, comprehensivepint.jsonconfiguration.Docker and Multi-PHP Support Cleanup:
docker-compose.ymlfor multi-PHP version testing, as well as related scripts incomposer.jsonDocumentation and Example Updates:
CONTRIBUTING.mdandREADME.mdto instruct contributors to use Pint instead of PHP-CS-Fixer.React\Async\async/awaitand correcting spelling errors.CI Workflow Improvements:
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.