-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/v5.0'
- Loading branch information
Showing
162 changed files
with
5,012 additions
and
3,287 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
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,9 @@ | ||
/.github export-ignore | ||
/vendor export-ignore | ||
/.gitignore export-ignore | ||
/composer.lock export-ignore | ||
/composer-require-checker.json export-ignore | ||
/phpunit.xml export-ignore | ||
/pint.json export-ignore | ||
/psalm.xml export-ignore | ||
/psalm-8.1.xml 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,72 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- edited | ||
- synchronize | ||
|
||
env: | ||
COVERAGE: '1' | ||
default_php_version: '8.1' | ||
php_extensions: 'pcov, json' | ||
|
||
jobs: | ||
vars: | ||
runs-on: 'ubuntu-latest' | ||
outputs: | ||
default_php_version: ${{ env.default_php_version }} | ||
php_extensions: ${{ env.php_extensions }} | ||
steps: | ||
- run: echo "Exposing env vars" | ||
|
||
lint: | ||
name: 'Lint code' | ||
needs: vars | ||
uses: 'tochka-developers/actions/.github/workflows/lint.yml@v1' | ||
with: | ||
php-version: ${{ needs.vars.outputs.default_php_version }} | ||
php-extensions: ${{ needs.vars.outputs.php_extensions }} | ||
|
||
analyze: | ||
name: 'Analyze code' | ||
needs: vars | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php-versions: [ '8.0', '8.1', '8.2' ] | ||
uses: 'tochka-developers/actions/.github/workflows/analyze.yml@v1' | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
php-extensions: ${{ needs.vars.outputs.php_extensions }} | ||
psalm-config: psalm-${{ matrix.php-versions }}.xml | ||
|
||
composer-audit: | ||
name: 'Composer Audit' | ||
needs: vars | ||
uses: 'tochka-developers/actions/.github/workflows/composer-audit.yml@v1' | ||
with: | ||
php-version: ${{ needs.vars.outputs.default_php_version }} | ||
php-extensions: ${{ needs.vars.outputs.php_extensions }} | ||
|
||
tests: | ||
name: 'Tests' | ||
needs: vars | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php-versions: [ '8.0', '8.1', '8.2' ] | ||
uses: 'tochka-developers/actions/.github/workflows/tests.yml@v1' | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
php-extensions: ${{ needs.vars.outputs.php_extensions }} | ||
phpunit-config: phpunit-${{ matrix.php-versions }}.xml | ||
|
||
coverage: | ||
needs: tests | ||
uses: 'tochka-developers/actions/.github/workflows/coveralls.yml@v1' |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"symbol-whitelist" : [ | ||
"BenSampo\\Enum\\Enum", | ||
"BenSampo\\Enum\\Exceptions\\InvalidEnumMemberException", | ||
"Carbon\\Carbon", | ||
"enum_exists" | ||
] | ||
} |
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.