Skip to content

Commit d22b061

Browse files
committed
try with stubs for CI
1 parent ae11d80 commit d22b061

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
uses: actions/checkout@v2
3131
- name: Import DB
3232
run: "mysql -u root -h 127.0.0.1 -e 'create database errorheromodule' && mysql -u root -h 127.0.0.1 errorheromodule < spec/Fixture/data/sql.sql"
33-
- name: "Validate composer.json and composer.lock"
33+
- name: "Validate composer.json"
3434
run: "composer validate"
3535
- name: "Install dependencies"
36-
run: "composer install --prefer-dist --ignore-platform-reqs"
36+
run: "composer install --ignore-platform-reqs"
3737
- name: "CS Check"
3838
run: "composer cs-check"
3939
- name: "Code analyze"

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@
103103
"autoload-dev": {
104104
"psr-4": {
105105
"ErrorHeroModule\\Spec\\": "spec/"
106-
}
106+
},
107+
"classmap": [
108+
"stubs"
109+
]
107110
},
108111
"minimum-stability": "dev",
109112
"prefer-stable": true,

0 commit comments

Comments
 (0)