-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
2,061 additions
and
1 deletion.
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,18 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.{yml,yaml}] | ||
indent_size = 2 | ||
|
||
[docker-compose.yml] | ||
indent_size = 4 |
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,12 @@ | ||
docs/ export-ignore | ||
tests/ export-ignore | ||
.github/ export-ignore | ||
.editorconfig export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
CHANGELOG.md export-ignore | ||
infection.json5.dis export-ignore | ||
phpstan.neon.dist export-ignore | ||
phpunit.xml.dist export-ignore | ||
psalm.xml.dist export-ignore | ||
rector.php export-ignore |
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,30 @@ | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
- reopened | ||
- ready_for_review | ||
- converted_to_draft | ||
- review_requested | ||
push: | ||
branches: | ||
- 1.x | ||
|
||
jobs: | ||
run: | ||
name: php-cs-fixer | ||
runs-on: ${{ matrix.operating-systems }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
operating-systems: | ||
- ubuntu-latest | ||
php-versions: | ||
- 8.1 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: docker://ergebnis/composer-normalize-action |
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,36 @@ | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
- reopened | ||
- ready_for_review | ||
- converted_to_draft | ||
- review_requested | ||
push: | ||
branches: | ||
- 1.x | ||
|
||
jobs: | ||
run: | ||
name: php-cs-fixer | ||
runs-on: ${{ matrix.operating-systems }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
operating-systems: | ||
- ubuntu-latest | ||
php-versions: | ||
- 8.1 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
coverage: pcov | ||
|
||
- run: composer validate |
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,14 @@ | ||
name: "Dependency Review" | ||
on: [pull_request_target] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
dependency-review: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Checkout Repository" | ||
uses: actions/checkout@v3 | ||
- name: "Dependency Review" | ||
uses: actions/dependency-review-action@v2 |
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,52 @@ | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
- reopened | ||
- ready_for_review | ||
- converted_to_draft | ||
- review_requested | ||
push: | ||
branches: | ||
- 1.x | ||
|
||
jobs: | ||
run: | ||
name: php-cs-fixer | ||
runs-on: ${{ matrix.operating-systems }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
operating-systems: | ||
- ubuntu-latest | ||
php-versions: | ||
- 8.1 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
coverage: pcov | ||
|
||
- id: composer-cache | ||
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} | ||
restore-keys: ${{ runner.os }}-composer- | ||
|
||
- run: composer install --no-progress --prefer-dist --optimize-autoloader | ||
|
||
- run: vendor/bin/pest --order-by random --coverage --min=100 --ci | ||
|
||
- uses: codecov/codecov-action@v3 | ||
with: | ||
directory: ./coverage/ | ||
flags: unittests |
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,47 @@ | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
- reopened | ||
- ready_for_review | ||
- converted_to_draft | ||
- review_requested | ||
push: | ||
branches: | ||
- 1.x | ||
|
||
jobs: | ||
run: | ||
name: php-cs-fixer | ||
runs-on: ${{ matrix.operating-systems }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
operating-systems: | ||
- ubuntu-latest | ||
php-versions: | ||
- 8.1 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
coverage: pcov | ||
|
||
- id: composer-cache | ||
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} | ||
restore-keys: ${{ runner.os }}-composer- | ||
|
||
- run: composer install --no-progress --prefer-dist --optimize-autoloader | ||
|
||
- run: vendor/bin/php-cs-fixer fix src --dry-run --diff |
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,47 @@ | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
- reopened | ||
- ready_for_review | ||
- converted_to_draft | ||
- review_requested | ||
push: | ||
branches: | ||
- 1.x | ||
|
||
jobs: | ||
run: | ||
name: php-cs-fixer | ||
runs-on: ${{ matrix.operating-systems }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
operating-systems: | ||
- ubuntu-latest | ||
php-versions: | ||
- 8.1 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
coverage: pcov | ||
|
||
- id: composer-cache | ||
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} | ||
restore-keys: ${{ runner.os }}-composer- | ||
|
||
- run: composer install --no-progress --prefer-dist --optimize-autoloader | ||
|
||
- run: vendor/bin/phpstan analyze |
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,47 @@ | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
- reopened | ||
- ready_for_review | ||
- converted_to_draft | ||
- review_requested | ||
push: | ||
branches: | ||
- 1.x | ||
|
||
jobs: | ||
run: | ||
name: php-cs-fixer | ||
runs-on: ${{ matrix.operating-systems }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
operating-systems: | ||
- ubuntu-latest | ||
php-versions: | ||
- 8.1 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
coverage: pcov | ||
|
||
- id: composer-cache | ||
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} | ||
restore-keys: ${{ runner.os }}-composer- | ||
|
||
- run: composer install --no-progress --prefer-dist --optimize-autoloader | ||
|
||
- run: vendor/bin/psalm |
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,47 @@ | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
- reopened | ||
- ready_for_review | ||
- converted_to_draft | ||
- review_requested | ||
push: | ||
branches: | ||
- 1.x | ||
|
||
jobs: | ||
run: | ||
name: php-cs-fixer | ||
runs-on: ${{ matrix.operating-systems }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
operating-systems: | ||
- ubuntu-latest | ||
php-versions: | ||
- 8.1 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
coverage: pcov | ||
|
||
- id: composer-cache | ||
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} | ||
restore-keys: ${{ runner.os }}-composer- | ||
|
||
- run: composer install --no-progress --prefer-dist --optimize-autoloader | ||
|
||
- run: vendor/bin/rector process src --dry-run |
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,8 @@ | ||
vendor/ | ||
coverage/ | ||
composer.lock | ||
.php-cs-fixer.cache | ||
.phpunit.result.cache | ||
.DS_Store | ||
composer.local.json | ||
NOTES.md |
Oops, something went wrong.