Skip to content

Commit 083a0d0

Browse files
committedMay 9, 2021
Merge branch 'release/2.4.0'
2 parents a757a7c + b04df58 commit 083a0d0

File tree

1,625 files changed

+20961
-12691
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,625 files changed

+20961
-12691
lines changed
 

‎.gitattributes

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/.github export-ignore
2+
/tests export-ignore
3+
/.gitattributes export-ignore
4+
/.gitignore export-ignore
5+
/.php_cs export-ignore
6+
/CHANGELOG.md export-ignore
7+
/CODE_OF_CONDUCT.md export-ignore
8+
/CONTRIBUTING.md export-ignore
9+
/phpunit.xml.dist export-ignore

‎.github/workflows/coding-standard.yml

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: "Coding Standard"
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
run:
9+
name: "CI"
10+
runs-on: ${{ matrix.operating-system }}
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
operating-system: [ ubuntu-latest, windows-latest, macOS-latest ]
15+
php-versions: [ '7.3', '7.4', '8.0' ]
16+
17+
steps:
18+
- name: Set git to use LF
19+
run: |
20+
git config --global core.autocrlf false
21+
git config --global core.eol lf
22+
23+
- name: Checkout
24+
uses: actions/checkout@v2.3.4
25+
with:
26+
fetch-depth: 1
27+
28+
- name: Install PHP
29+
uses: shivammathur/setup-php@v2
30+
with:
31+
php-version: ${{ matrix.php-versions }}
32+
coverage: pcov
33+
34+
- name: Get Composer Cache Directory
35+
id: composer-cache
36+
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
37+
38+
- name: Cache Composer dependencies
39+
uses: actions/cache@v2
40+
with:
41+
path: ${{ steps.composer-cache.outputs.dir }}
42+
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
43+
restore-keys: ${{ runner.os }}-composer-
44+
45+
- name: Check Composer configuration
46+
run: composer validate --strict
47+
48+
- name: Install dependencies
49+
run: composer install --no-progress --prefer-dist --optimize-autoloader
50+
51+
- name: Check Code Style
52+
run: vendor/bin/php-cs-fixer --allow-risky=yes --diff --dry-run -v fix

0 commit comments

Comments
 (0)
Please sign in to comment.