-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* phpcs * phpstan * ci.yml * fix phpcs * fix phpcs * fix ci * query ignore
- Loading branch information
Showing
27 changed files
with
2,900 additions
and
2,257 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,35 @@ | ||
name: "Continuous integration" | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
tags: | ||
- "*" | ||
pull_request: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: "${{ github.workflow }}-${{ github.ref }}" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
generate-ci-matrix: | ||
name: "Generate CI matrix" | ||
uses: "glpi-project/plugin-ci-workflows/.github/workflows/generate-ci-matrix.yml@v1" | ||
with: | ||
glpi-version: "10.0.x" | ||
ci: | ||
name: "GLPI ${{ matrix.glpi-version }} - php:${{ matrix.php-version }} - ${{ matrix.db-image }}" | ||
needs: "generate-ci-matrix" | ||
strategy: | ||
fail-fast: false | ||
matrix: ${{ fromJson(needs.generate-ci-matrix.outputs.matrix) }} | ||
uses: "glpi-project/plugin-ci-workflows/.github/workflows/continuous-integration.yml@v1" | ||
with: | ||
plugin-key: "escalade" | ||
glpi-version: "${{ matrix.glpi-version }}" | ||
php-version: "${{ matrix.php-version }}" | ||
db-image: "${{ matrix.db-image }}" |
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,18 @@ | ||
<?xml version="1.0"?> | ||
<ruleset> | ||
<file>.</file> | ||
<exclude-pattern>/.git/</exclude-pattern> | ||
<exclude-pattern type="relative">^vendor/</exclude-pattern> | ||
|
||
<arg name="colors" /> | ||
<arg name="extensions" value="php" /> | ||
<arg value="p" /> | ||
<arg name="warning-severity" value="0" /> | ||
|
||
<rule ref="PSR12"> | ||
<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps" /> | ||
<exclude name="Generic.Files.LineLength" /> | ||
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace" /> | ||
</rule> | ||
<rule ref="Generic.Arrays.ArrayIndent"></rule> | ||
</ruleset> |
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.