Skip to content

Commit

Permalink
Improvements (#8)
Browse files Browse the repository at this point in the history
* build: update deps

* stan: port should be string

* stan: cast port integer to string

* build: upgrade to composer v6

* build: upgrade to phpstan v3
  • Loading branch information
g105b authored Sep 21, 2021
1 parent f56dce9 commit 5e90d67
Show file tree
Hide file tree
Showing 4 changed files with 270 additions and 104 deletions.
6 changes: 3 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,6 +40,6 @@ 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/
11 changes: 3 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,16 @@
"phpgt/cli": "*"
},
"require-dev": {
"phpunit/phpunit": "9.*",
"phpstan/phpstan": ">=0.12.64"
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^0.12"
},

"autoload": {
"psr-4": {
"Gt\\Server\\": "./src/"
}
},
"autoload-dev": {
"psr-4": {
"Gt\\Test\\Server\\": "./test/unit/"
}
},


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

0 comments on commit 5e90d67

Please sign in to comment.