Skip to content

Commit 8f2e4cd

Browse files
authored
Update versions of Stockfiller orbs to stable release (#39)
1 parent 054c184 commit 8f2e4cd

File tree

3 files changed

+14
-21
lines changed

3 files changed

+14
-21
lines changed

.circleci/config.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
version: 2.1
22

33
orbs:
4-
composer: stockfiller/composer@0.0.38
5-
php-cs-fixer: stockfiller/php-cs-fixer@0.0.18
6-
phpunit: stockfiller/phpunit@0.0.13
4+
composer: stockfiller/composer@2
5+
php-cs-fixer: stockfiller/php-cs-fixer@1
6+
phpunit: stockfiller/phpunit@1
77
php-coveralls: nekman/php-coveralls@0.0.5
88

99
executors:
@@ -19,6 +19,8 @@ executors:
1919
jobs:
2020
test_coverage:
2121
executor: php74
22+
environment:
23+
CLOVER_PATH: coverage/clover.xml
2224
steps:
2325
- run:
2426
name: Install PCOV and git
@@ -30,9 +32,12 @@ jobs:
3032
- composer/install_bin
3133
- composer/install
3234
- phpunit/test:
33-
flags: --coverage-clover coverage/clover.xml
35+
coverage: clover
36+
coverage-path: "${CLOVER_PATH}"
37+
src-path: src
38+
test-path: tests
3439
- php-coveralls/upload:
35-
clover-path: coverage/clover.xml
40+
clover-path: "${CLOVER_PATH}"
3641

3742
workflows:
3843
master:
@@ -52,6 +57,7 @@ workflows:
5257
- php-cs-fixer/fix:
5358
executor: php74
5459
rules: "@PSR2"
60+
path: .
5561
pre-steps:
5662
- run: apk add --update --no-cache git openssh-client
5763
- composer/install_bin
@@ -62,6 +68,7 @@ workflows:
6268
filters: *branch-filters
6369
requires: [ php-cs-fixer/fix ]
6470
- phpunit/test:
71+
test-path: tests
6572
matrix:
6673
parameters:
6774
executor:

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"php-coveralls/php-coveralls": "^2.1"
4545
},
4646
"scripts": {
47-
"test": "phpunit"
47+
"test": "phpunit tests",
48+
"lint": "php-cs-fixer fix --rules=@PSR2 ."
4849
}
4950
}

phpunit.xml

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

0 commit comments

Comments
 (0)