Skip to content

Commit

Permalink
Replace ocular.phar with dev dependency
Browse files Browse the repository at this point in the history
This should address failing CI builds on PHP 8 (see: scrutinizer-ci/ocular#51)
  • Loading branch information
jmikola committed Jan 21, 2022
1 parent 8161748 commit 4f37af3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Expand Up @@ -42,6 +42,4 @@ jobs:

- name: Upload Coverage
if: github.repository_owner == 'jmikola'
run: |
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
run: "vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover"
3 changes: 2 additions & 1 deletion composer.json
Expand Up @@ -13,7 +13,8 @@
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "^9.5"
"phpunit/phpunit": "^9.5",
"scrutinizer/ocular": "^1.8.1"
},
"autoload": {
"psr-0": { "GeoJson\\": "src/" }
Expand Down

0 comments on commit 4f37af3

Please sign in to comment.