Skip to content

Commit 133763e

Browse files
authored
Updates (#37)
* Updates * Remove travis and migrate to GA * Remove infection
1 parent fa7fa05 commit 133763e

File tree

5 files changed

+36
-42
lines changed

5 files changed

+36
-42
lines changed

.github/workflows/tests.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
build:
7+
strategy:
8+
matrix:
9+
dependencies:
10+
- highest
11+
- lowest
12+
php-versions:
13+
- 7.3
14+
- 7.4
15+
- 8.0
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
21+
- name: Setup PHP, with composer and extensions
22+
uses: shivammathur/setup-php@v2
23+
with:
24+
php-version: ${{ matrix.php-versions }}
25+
26+
- name: Install dependencies with Composer
27+
uses: ramsey/composer-install@v1
28+
with:
29+
dependency-versions: ${{ matrix.dependencies }}
30+
31+
- name: Run unit tests
32+
run: vendor/bin/phpunit

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
/vendor/
22
composer.lock
3-
infection.log
43
.phpunit.result.cache

.travis.yml

-22
This file was deleted.

composer.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"psr-11"
1313
],
1414
"require": {
15-
"php": "^7.2",
15+
"php": "^7.3 || ^8.0",
1616
"maximebf/debugbar": "^1.4",
1717
"psr/http-server-handler": "^1.0",
1818
"psr/http-server-middleware": "^1.0",
@@ -22,14 +22,13 @@
2222
"psr/http-factory-implementation": "^1.0"
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit": "^8.5.4 || ^9.1.4",
26-
"mikey179/vfsStream": "^1.6.8",
25+
"phpunit/phpunit": "^9.1.4",
26+
"mikey179/vfsstream": "^1.6.8",
2727
"slim/slim": "^3.0",
2828
"mezzio/mezzio": "^3.0",
2929
"mezzio/mezzio-fastroute": "^3.0.1",
3030
"laminas/laminas-servicemanager": "^3.3.2",
31-
"laminas/laminas-diactoros": "^2.0",
32-
"infection/infection": "^0.13.3"
31+
"laminas/laminas-diactoros": "^2.0"
3332
},
3433
"autoload": {
3534
"psr-4": {

infection.json.dist

-14
This file was deleted.

0 commit comments

Comments
 (0)