Skip to content

Commit 1ef3937

Browse files
authored
Merge pull request #8 from Crell/maintenance
Routine maintenance
2 parents 974397d + 09c18b3 commit 1ef3937

File tree

6 files changed

+64
-51
lines changed

6 files changed

+64
-51
lines changed

.github/workflows/phpstan.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: Quality assurance
3+
on:
4+
push:
5+
branches: ['master']
6+
pull_request: ~
7+
8+
jobs:
9+
phpunit:
10+
name: PHPUnit tests on ${{ matrix.php }} ${{ matrix.composer-flags }}
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
php: [ '8.1', '8.2', '8.3', '8.4', '8.5' ]
15+
phpunit-flags: [ '--coverage-text' ]
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: ${{ matrix.php }}
21+
coverage: xdebug
22+
tools: composer:v2
23+
- run: composer install --no-progress
24+
- run: vendor/bin/phpunit ${{ matrix.phpunit-flags }}
25+
phpstan:
26+
name: PHPStan checks on ${{ matrix.php }}
27+
runs-on: ubuntu-latest
28+
strategy:
29+
matrix:
30+
php: [ '8.1', '8.2', '8.3', '8.4', '8.5' ]
31+
steps:
32+
- uses: actions/checkout@v2
33+
- uses: shivammathur/setup-php@v2
34+
with:
35+
php-version: ${{ matrix.php }}
36+
coverage: xdebug
37+
tools: composer:v2
38+
- run: composer install --no-progress
39+
- run: vendor/bin/phpstan

.github/workflows/testing.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

MAINTENANCE-TERMS.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Maintenance Terms
2+
3+
Current as of 2025
4+
5+
The code, text and data in this repository are provided as-is under
6+
the terms of the repository's LICENSE.md file, as a gift to the commons
7+
and the common good. In providing this software as-is, its author(s)
8+
admit no further obligations from anyone using the software for any reason,
9+
particularly with respect to:
10+
11+
- Response time,
12+
- Change review and integration,
13+
- Disclosure schedules,
14+
- Discretionary, proprietary or otherwise secretive communications, and
15+
- Any other non-contractual obligations or conventions, regardless of
16+
their presumed urgency or severity.
17+
18+
The author(s) hope you find it valuable on those terms.
19+
20+
Terms created by Mike Hoye - mhoye, 2025
21+
22+
Original: https://github.com/mhoye/maintenance-terms

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@ ifeq ($(origin .RECIPEPREFIX), undefined)
1212
endif
1313
.RECIPEPREFIX = >
1414

15-
compose_command = docker-compose run -u $(id -u ${USER}):$(id -g ${USER}) --rm php81
15+
compose_command = docker compose run -u $(id -u ${USER}):$(id -g ${USER}) --rm php81
1616

1717
build: tmp/.docker-built
1818

1919
tmp/.docker-built: docker-compose.yml docker/php/81/Dockerfile
2020
> mkdir -p $(@D) # Makes the tmp directory
21-
> docker-compose build
21+
> docker compose build
2222
> touch $@ # Touches the file that is this target.
2323

2424
shell: build
2525
> $(compose_command) bash
2626
.PHONY: shell
2727

2828
destroy:
29-
> docker-compose down -v
29+
> docker compose down -v
3030
> rm -rf tmp
3131
.PHONY: destroy
3232

docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# Run "docker-compose down -v" to fully wipe everything and start over.
66
# Run "docker-compose run -u $(id -u ${USER}):$(id -g ${USER}) --rm php80 bash" to log into the container to run tests selectively.
77

8-
version: "3"
98
services:
109
php81:
1110
build: ./docker/php/81

0 commit comments

Comments
 (0)