Skip to content

Commit 75f7863

Browse files
committed
Merge branch 'master' into feature/update-bucket-contracts
# Conflicts: # composer.lock
2 parents e31a5c6 + 71da9b4 commit 75f7863

File tree

6 files changed

+977
-69
lines changed

6 files changed

+977
-69
lines changed

.github/workflows/actions.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/workflows/phpspec.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: PHPSpec
2+
on: push
3+
phpspec:
4+
runs-on: ubuntu-latest
5+
steps:
6+
- uses: actions/checkout@v2
7+
- uses: php-actions/composer@v5
8+
with:
9+
args: --prefer-dist
10+
php_version: 8.0
11+
- name: PHP Spec
12+
run: bin/phpspec run spec

.github/workflows/quality.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Quality
2+
on: push
3+
jobs:
4+
cs-fixer:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- name: Cs-Fixer
9+
run: |
10+
wget -q https://cs.symfony.com/download/php-cs-fixer-v2.phar -O php-cs-fixer
11+
chmod a+x php-cs-fixer
12+
PHP_CS_FIXER_IGNORE_ENV=true ./php-cs-fixer fix src --dry-run
13+
14+
phpspec:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: php-actions/composer@v5
19+
with:
20+
args: --prefer-dist
21+
php_version: 8.0
22+
- name: PHP Spec
23+
run: bin/phpspec run spec
24+
25+
phpstan:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v2
29+
- uses: actions/cache@v2
30+
with:
31+
path: '**/vendor'
32+
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
33+
restore-keys: |
34+
${{ runner.os }}-composer-
35+
- uses: php-actions/composer@v5
36+
with:
37+
args: --prefer-dist
38+
php_version: 8.0
39+
40+
- name: PHPStan
41+
uses: php-actions/phpstan@v2
42+
with:
43+
path: src/
44+
args: --level=8

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@
3131
},
3232
"require-dev": {
3333
"phpspec/phpspec": "^7.0",
34-
"friends-of-phpspec/phpspec-code-coverage": "6.x-dev"
34+
"friends-of-phpspec/phpspec-code-coverage": "6.x-dev",
35+
"phpunit/phpunit": "^9.0",
36+
"johnkary/phpunit-speedtrap": "*",
37+
"mybuilder/phpunit-accelerator": "*",
38+
"phpunit/php-invoker": "*"
3539
},
3640
"config": {
3741
"bin-dir": "bin"

0 commit comments

Comments
 (0)