Skip to content

Commit

Permalink
153 deprecation notices (#154)
Browse files Browse the repository at this point in the history
* feature: type safe getters
closes #81

* fix: remove deprecation notices, improve type safety
closes #153

* fix: extra type safety changes
  • Loading branch information
g105b authored Mar 2, 2022
1 parent 5da8795 commit 6ab24bd
Show file tree
Hide file tree
Showing 13 changed files with 378 additions and 236 deletions.
7 changes: 4 additions & 3 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/
level: 7
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
"license": "MIT",

"require": {
"php": ">=7.2"
"php": ">=8.0",
"phpgt/typesafegetter": "^v1.2"
},
"require-dev": {
"phpunit/phpunit": "9.*",
"phpstan/phpstan": "1.0.2"
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^v1.4"
},

"autoload": {
Expand Down
Loading

0 comments on commit 6ab24bd

Please sign in to comment.