Skip to content

Commit

Permalink
Merge 01db846 into 252e9db
Browse files Browse the repository at this point in the history
  • Loading branch information
pvsaintpe committed Feb 9, 2022
2 parents 252e9db + 01db846 commit b834a38
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 9,243 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Expand Up @@ -51,12 +51,10 @@ jobs:
- name: 'Setup problem matchers for PHPUnit'
run: 'echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"'
- name: 'Install PHP dependencies with Composer'
run: |
rm composer.lock
composer install --prefer-dist --no-progress --no-suggest --optimize-autoloader
run: composer install --prefer-dist --no-progress --no-suggest --optimize-autoloader
working-directory: './'
- name: 'Linting PHP source files'
run: 'vendor/bin/ecs check --config=ecs.yml .'
run: 'vendor/bin/ecs check --config=ecs.php .'
test:
strategy:
fail-fast: false
Expand Down Expand Up @@ -97,9 +95,7 @@ jobs:
coverage: pcov
tools: 'phpunit'
- name: 'Install PHP dependencies with Composer'
run: |
rm composer.lock
composer install --prefer-dist --no-progress --no-suggest --optimize-autoloader
run: composer install --prefer-dist --no-progress --no-suggest --optimize-autoloader
working-directory: './'
- name: 'Run Unit Tests with PHPUnit'
run: './vendor/bin/phpunit --verbose --stderr --configuration phpunit.github.xml --coverage-clover build/logs/clover.xml --coverage-text'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -4,3 +4,4 @@
phpunit.xml
/build/*
.phpunit.result.cache
composer.lock
5 changes: 3 additions & 2 deletions composer.json
Expand Up @@ -23,17 +23,18 @@
"require": {
"php": "^7.2|^7.3|^7.4|^8.0",
"ext-json": "*",
"laravel/framework": "^5.8|^6.0|^7.0|^8.0",
"laravel/framework": "^5.8|^6.0|^7.0|^8.0|^9.0",
"hemp/presenter": "^2.0"
},
"require-dev": {
"umbrellio/code-style-php": "^1.0",
"orchestra/testbench": "^3.5|^4.0|^5.0|^6.0",
"symplify/easy-coding-standard": "^9.3.15",
"php-coveralls/php-coveralls": "^2.1"
},
"scripts": {
"lint": [
"ecs check --config=ecs.yml . --fix"
"ecs check --config=ecs.php . --fix"
]
},
"autoload": {
Expand Down

0 comments on commit b834a38

Please sign in to comment.