File tree 15 files changed +184
-193
lines changed
15 files changed +184
-193
lines changed Original file line number Diff line number Diff line change 22
22
* .ttf binary
23
23
24
24
# Ignore some meta files when creating an archive of this repository
25
- /.github export-ignore
26
- /.editorconfig export-ignore
27
- /.gitattributes export-ignore
28
- /.gitignore export-ignore
29
- /.scrutinizer.yml export-ignore
30
- /phpunit.xml.dist export-ignore
31
- /tests export-ignore
32
- /docs export-ignore
25
+ /.github export-ignore
26
+ /.editorconfig export-ignore
27
+ /.gitattributes export-ignore
28
+ /.gitignore export-ignore
29
+ /.phpunit-watcher.yml export-ignore
30
+ /.scrutinizer.yml export-ignore
31
+ /.styleci.yml export-ignore
32
+ /infection.json.dist export-ignore
33
+ /phpunit.xml.dist export-ignore
34
+ /psalm.xml export-ignore
35
+ /tests export-ignore
36
+ /docs export-ignore
33
37
34
38
# Avoid merge conflicts in CHANGELOG
35
39
# https://about.gitlab.com/2015/02/10/gitlab-reduced-merge-conflicts-by-90-percent-with-changelog-placeholders/
36
40
/CHANGELOG.md merge =union
37
-
Original file line number Diff line number Diff line change 1
1
version : 2
2
2
updates :
3
- # Maintain dependencies for GitHub Actions.
4
- - package-ecosystem : " github-actions"
5
- directory : " /"
6
- schedule :
7
- interval : " daily"
8
- # Too noisy. See https://github.community/t/increase-if-necessary-for-github-actions-in-dependabot/179581
9
- open-pull-requests-limit : 0
3
+ # Maintain dependencies for GitHub Actions.
4
+ - package-ecosystem : " github-actions"
5
+ directory : " /"
6
+ schedule :
7
+ interval : " daily"
8
+ # Too noisy. See https://github.community/t/increase-if-necessary-for-github-actions-in-dependabot/179581
9
+ open-pull-requests-limit : 0
10
10
11
- # Maintain dependencies for Composer
12
- - package-ecosystem : " composer"
13
- directory : " /"
14
- schedule :
15
- interval : " daily"
16
- versioning-strategy : increase-if-necessary
11
+ # Maintain dependencies for Composer
12
+ - package-ecosystem : " composer"
13
+ directory : " /"
14
+ schedule :
15
+ interval : " daily"
16
+ versioning-strategy : increase-if-necessary
Original file line number Diff line number Diff line change 1
1
on:
2
- - pull_request
3
- - push
2
+ - pull_request
3
+ - push
4
4
5
5
name: backwards compatibility
6
6
jobs:
7
- roave_bc_check:
8
- name: Roave BC Check
9
- runs-on: ubuntu-latest
10
- steps:
11
- - uses: actions/checkout@master
12
- - name: fetch tags
13
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
14
- - name: Roave BC Check
15
- uses: docker://nyholm/roave-bc-check-ga
7
+ roave_bc_check:
8
+ name: Roave BC Check
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@master
12
+ - name: fetch tags
13
+ run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
14
+ - name: Roave BC Check
15
+ uses: docker://nyholm/roave-bc-check-ga
Original file line number Diff line number Diff line change 25
25
26
26
steps :
27
27
- name : Checkout
28
- uses : actions/checkout@v2.3.4
28
+ uses : actions/checkout@v2
29
29
30
30
- name : Install PHP
31
31
uses : shivammathur/setup-php@v2
54
54
- name : Update composer
55
55
run : composer self-update
56
56
57
- - name : Install dependencies with composer php 7.4
58
- if : matrix.php == '7.4'
57
+ - name : Install dependencies with composer
59
58
run : composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
60
59
61
- - name : Install dependencies with composer php 8.0
62
- if : matrix.php == '8.0'
63
- run : composer update --ignore-platform-reqs --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
64
-
65
60
- name : Run tests with phpunit
66
61
run : vendor/bin/phpunit --colors=always
Original file line number Diff line number Diff line change @@ -22,14 +22,14 @@ jobs:
22
22
23
23
steps :
24
24
- name : Checkout
25
- uses : actions/checkout@v2.3.4
25
+ uses : actions/checkout@v2
26
26
27
27
- name : Install PHP
28
28
uses : shivammathur/setup-php@v2
29
29
with :
30
- php-version : " ${{ matrix.php }}"
30
+ php-version : ${{ matrix.php }}
31
31
ini-values : memory_limit=-1
32
- coverage : " pcov"
32
+ coverage : pcov
33
33
tools : composer:v2
34
34
35
35
- name : Determine composer cache directory
Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ jobs:
21
21
22
22
steps :
23
23
- name : Checkout
24
- uses : actions/checkout@v2.3.4
24
+ uses : actions/checkout@v2
25
25
26
26
- name : Install PHP
27
27
uses : shivammathur/setup-php@v2
28
28
with :
29
- php-version : " ${{ matrix.php }}"
29
+ php-version : ${{ matrix.php }}
30
30
tools : composer:v2, cs2pr
31
31
coverage : none
32
32
Original file line number Diff line number Diff line change @@ -12,24 +12,19 @@ nbproject
12
12
# windows thumbnail cache
13
13
Thumbs.db
14
14
15
+ # Mac DS_Store Files
16
+ .DS_Store
17
+
15
18
# composer vendor dir
16
19
/vendor
17
-
20
+ # composer lock file
18
21
/composer.lock
19
-
20
22
# composer itself is not needed
21
23
composer.phar
22
24
23
- # Mac DS_Store Files
24
- .DS_Store
25
-
26
25
# phpunit itself is not needed
27
26
phpunit.phar
28
27
# local phpunit config
29
28
/phpunit.xml
30
29
# phpunit cache
31
30
.phpunit.result.cache
32
-
33
- # Phan
34
- analysis.txt
35
-
Original file line number Diff line number Diff line change 1
1
watch :
2
- directories :
3
- - src
4
- - tests
5
- fileMask : ' *.php'
2
+ directories :
3
+ - src
4
+ - tests
5
+ fileMask : ' *.php'
6
6
notifications :
7
- passingTests : false
8
- failingTests : false
7
+ passingTests : false
8
+ failingTests : false
9
9
phpunit :
10
- binaryPath : vendor/bin/phpunit
11
- timeout : 180
10
+ binaryPath : vendor/bin/phpunit
11
+ timeout : 180
Original file line number Diff line number Diff line change 1
1
checks :
2
- php : true
2
+ php : true
3
3
4
4
filter :
5
- paths :
6
- - " src/*"
5
+ paths :
6
+ - " src/*"
7
7
8
8
build :
9
- nodes :
10
- analysis :
11
- environment :
12
- php : 7.4.12
13
-
14
- tests :
15
- override :
16
- - php-scrutinizer-run
17
-
18
- tests-and-coverage :
19
- environment :
20
- php : 7.4.12
21
-
22
- dependencies :
23
- override :
24
- - composer self-update
25
- - composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
26
-
27
- tests :
28
- override :
29
- -
30
- command : " ./vendor/bin/phpunit --coverage-clover ./coverage.xml"
31
- on_node : 1
32
- coverage :
33
- file : coverage.xml
34
- format : php-clover
35
-
36
-
9
+ nodes :
10
+ analysis :
11
+ environment :
12
+ php : 7.4.12
13
+
14
+ tests :
15
+ override :
16
+ - php-scrutinizer-run
17
+
18
+ tests-and-coverage :
19
+ environment :
20
+ php : 7.4.12
21
+
22
+ dependencies :
23
+ override :
24
+ - composer self-update
25
+ - composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
26
+
27
+ tests :
28
+ override :
29
+ - command : " ./vendor/bin/phpunit --coverage-clover ./coverage.xml"
30
+ on_node : 1
31
+ coverage :
32
+ file : coverage.xml
33
+ format : php-clover
You can’t perform that action at this time.
0 commit comments