Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions .github/workflows/phpstan.yaml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/quality-assurance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Quality assurance
on:
push:
branches: ['master']
pull_request: ~

jobs:
phpunit:
name: PHPUnit tests on ${{ matrix.php }} ${{ matrix.composer-flags }}
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2', '8.3', '8.4', '8.5' ]
phpunit-flags: [ '--coverage-text' ]
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug
tools: composer:v2
- run: composer install --no-progress
- run: vendor/bin/phpunit ${{ matrix.phpunit-flags }}
phpstan:
name: PHPStan checks on ${{ matrix.php }}
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2', '8.3', '8.4', '8.5' ]
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug
tools: composer:v2
- run: composer install --no-progress
- run: vendor/bin/phpstan
24 changes: 0 additions & 24 deletions .github/workflows/testing.yaml

This file was deleted.

22 changes: 22 additions & 0 deletions MAINTENANCE-TERMS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Maintenance Terms

Current as of 2025

The code, text and data in this repository are provided as-is under
the terms of the repository's LICENSE.md file, as a gift to the commons
and the common good. In providing this software as-is, its author(s)
admit no further obligations from anyone using the software for any reason,
particularly with respect to:

- Response time,
- Change review and integration,
- Disclosure schedules,
- Discretionary, proprietary or otherwise secretive communications, and
- Any other non-contractual obligations or conventions, regardless of
their presumed urgency or severity.

The author(s) hope you find it valuable on those terms.

Terms created by Mike Hoye - mhoye, 2025

Original: https://github.com/mhoye/maintenance-terms
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ ifeq ($(origin .RECIPEPREFIX), undefined)
endif
.RECIPEPREFIX = >

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

build: tmp/.docker-built

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

shell: build
> $(compose_command) bash
.PHONY: shell

destroy:
> docker-compose down -v
> docker compose down -v
> rm -rf tmp
.PHONY: destroy

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

version: "3"
services:
php81:
build: ./docker/php/81
Expand Down