Skip to content

Commit

Permalink
fix: deprecation notices & type safety (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b authored Feb 26, 2022
1 parent 3f00088 commit b0334ae
Show file tree
Hide file tree
Showing 8 changed files with 283 additions and 128 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}

- uses: php-actions/composer@v5
- uses: php-actions/composer@v6

- name: Archive build
run: mkdir /tmp/github-actions/ && tar -cvf /tmp/github-actions/build.tar ./
Expand All @@ -40,7 +40,7 @@ jobs:
run: tar -xvf /tmp/github-actions/build.tar ./

- name: PHP Unit tests
uses: php-actions/phpunit@v2
uses: php-actions/phpunit@v3
with:
php_version: 8.0
php_extensions: xdebug
Expand All @@ -61,6 +61,7 @@ jobs:
run: tar -xvf /tmp/github-actions/build.tar ./

- name: PHP Static Analysis
uses: php-actions/phpstan@v2
uses: php-actions/phpstan@v3
with:
path: src/
path: src/
level: 9
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"php": ">=8.0",
"ext-json": "*",
"ext-readline": "*",
"phpgt/daemon": "1.*"
"phpgt/daemon": "^v1.1"
},
"require-dev": {
"phpunit/phpunit": "9.*",
"phpstan/phpstan": ">=0.12.64"
"phpunit/phpunit": "^v9.5",
"phpstan/phpstan": "^v1.4"
},

"license": "MIT",
Expand All @@ -38,7 +38,7 @@
"Gt\\Cli\\Test\\": "./test/phpunit"
}
},

"funding": [
{
"type": "github",
Expand Down
Loading

0 comments on commit b0334ae

Please sign in to comment.