Skip to content

Commit 3d2bdec

Browse files
author
Greg Bowler
authored
Docs update & version bump (#24)
* docs: update example code * build: update dependencies * ci: update workflow * ci: update scrutinizer
1 parent af9cf3e commit 3d2bdec

File tree

4 files changed

+63
-348
lines changed

4 files changed

+63
-348
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v3
1111

1212
- name: Cache Composer dependencies
13-
uses: actions/cache@v2
13+
uses: actions/cache@v3
1414
with:
1515
path: /tmp/composer-cache
1616
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
1717

18-
- uses: php-actions/composer@v5
18+
- uses: php-actions/composer@v6
1919

2020
- name: Archive build
2121
run: mkdir /tmp/github-actions/ && tar -cvf /tmp/github-actions/build.tar ./
2222

2323
- name: Upload build archive for test runners
24-
uses: actions/upload-artifact@v2
24+
uses: actions/upload-artifact@v3
2525
with:
2626
name: build-artifact
2727
path: /tmp/github-actions
@@ -31,7 +31,7 @@ jobs:
3131
needs: [composer]
3232

3333
steps:
34-
- uses: actions/download-artifact@v2
34+
- uses: actions/download-artifact@v3
3535
with:
3636
name: build-artifact
3737
path: /tmp/github-actions
@@ -40,9 +40,9 @@ jobs:
4040
run: tar -xvf /tmp/github-actions/build.tar ./
4141

4242
- name: PHP Unit tests
43-
uses: php-actions/phpunit@v2
43+
uses: php-actions/phpunit@v3
4444
with:
45-
php_version: 8.0
45+
php_version: 8.1
4646
php_extensions: xdebug
4747
configuration: test/phpunit/phpunit.xml
4848
bootstrap: vendor/autoload.php
@@ -52,7 +52,7 @@ jobs:
5252
needs: [composer]
5353

5454
steps:
55-
- uses: actions/download-artifact@v2
55+
- uses: actions/download-artifact@v3
5656
with:
5757
name: build-artifact
5858
path: /tmp/github-actions
@@ -61,6 +61,6 @@ jobs:
6161
run: tar -xvf /tmp/github-actions/build.tar ./
6262

6363
- name: PHP Static Analysis
64-
uses: php-actions/phpstan@v2
64+
uses: php-actions/phpstan@v3
6565
with:
66-
path: src/
66+
path: src/

.scrutinizer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
build:
22
environment:
3-
php: 8.0.0
3+
php: 8.1.0
44

55
nodes:
66
analysis:
@@ -29,4 +29,4 @@ checks:
2929
filter:
3030
excluded_paths:
3131
- test/*
32-
- vendor/*
32+
- vendor/*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ $loop = new Loop();
4646
$loop->addTimer($timer);
4747
echo "Starting...", PHP_EOL;
4848
$loop->run();
49-
```
49+
```

0 commit comments

Comments
 (0)