Skip to content

Commit

Permalink
Remove trailing slash from URLs (#515)
Browse files Browse the repository at this point in the history
* fix: deprecation notice - explicit 200 OK

* tweak: force removal of trailing slash
closes #512

* tweak: Do not remove slash from top-level URI

* tweak: Only test when there are unit tests

* quality: fix phpstan
  • Loading branch information
g105b committed Mar 15, 2022
1 parent 637eeb7 commit 83adb8b
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 232 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/ci.yml
Expand Up @@ -26,26 +26,26 @@ jobs:
name: build-artifact
path: /tmp/github-actions

phpunit:
runs-on: ubuntu-latest
needs: [composer]

steps:
- uses: actions/download-artifact@v2
with:
name: build-artifact
path: /tmp/github-actions

- name: Extract build archive
run: tar -xvf /tmp/github-actions/build.tar ./

- name: PHP Unit tests
uses: php-actions/phpunit@v3
with:
php_version: 8.0
php_extensions: xdebug
configuration: test/phpunit/phpunit.xml
bootstrap: vendor/autoload.php
# phpunit:
# runs-on: ubuntu-latest
# needs: [composer]
#
# steps:
# - uses: actions/download-artifact@v2
# with:
# name: build-artifact
# path: /tmp/github-actions
#
# - name: Extract build archive
# run: tar -xvf /tmp/github-actions/build.tar ./
#
# - name: PHP Unit tests
# uses: php-actions/phpunit@v3
# with:
# php_version: 8.0
# php_extensions: xdebug
# configuration: test/phpunit/phpunit.xml
# bootstrap: vendor/autoload.php

phpstan:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 83adb8b

Please sign in to comment.