-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor PHP codebase and update dependencies (#213)
* Refactor PHP codebase and update dependencies This commit includes a significant refactoring of the entire PHP codebase, consisting of readjustment in importing functions, reordering of code elements, and an upgrade of the dependencies in composer.json file. Moreover, PHPUnit test case annotations are updated to attributes and phpunit.xml configuration file is simplified. It also provides a shift toward more modern PHP coding style, making the code more readable and maintainable.
- Loading branch information
Showing
15 changed files
with
237 additions
and
351 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow | ||
|
||
name: "Infection" | ||
|
||
on: | ||
push: | ||
branches: | ||
- "*.x" | ||
|
||
jobs: | ||
mutation_testing: | ||
name: "5️⃣ Mutation Testing" | ||
steps: | ||
- name: "Set up PHP" | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
php-version: "8.1" | ||
extensions: "mbstring" | ||
coverage: "xdebug" | ||
|
||
- name: "Checkout code" | ||
uses: "actions/checkout@v3" | ||
|
||
- name: "Fetch Git base reference" | ||
run: "git fetch --depth=1 origin ${GITHUB_BASE_REF}" | ||
|
||
- name: "Install dependencies" | ||
uses: "ramsey/composer-install@v2" | ||
with: | ||
dependency-versions: "highest" | ||
composer-options: "--optimize-autoloader" | ||
|
||
- name: "Execute Infection" | ||
run: "make ci-mu" |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.