Skip to content

Commit 079ed83

Browse files
authored
Merge pull request #6 from royalphp/refresh-depends
Adds PHP 8.0 support
2 parents 41d1918 + d849ee1 commit 079ed83

13 files changed

+2704
-260
lines changed

.gitattributes

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/.gitattributes export-ignore
33
/.github/ export-ignore
44
/.gitignore export-ignore
5-
/.travis.yml export-ignore
65
/docs/ export-ignore
76
/mkdocs.yml export-ignore
87
/phpcs.xml export-ignore
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: "Continuous Integration"
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- '[0-9]+.[0-9]+.x'
8+
- 'refs/pull/*'
9+
tags:
10+
11+
jobs:
12+
matrix:
13+
name: Generate job matrix
14+
runs-on: ubuntu-latest
15+
outputs:
16+
matrix: ${{ steps.matrix.outputs.matrix }}
17+
steps:
18+
- name: Gather CI configuration
19+
id: matrix
20+
uses: laminas/laminas-ci-matrix-action@v1
21+
22+
qa:
23+
name: QA Checks
24+
needs: [matrix]
25+
runs-on: ${{ matrix.operatingSystem }}
26+
strategy:
27+
fail-fast: false
28+
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
29+
steps:
30+
- name: ${{ matrix.name }}
31+
uses: laminas/laminas-continuous-integration-action@v1
32+
with:
33+
job: ${{ matrix.job }}

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/clover.xml
2-
/composer.lock
32
/coveralls-upload.json
43
/docs/html/
54
/laminas-mkdoc-theme.tgz

.travis.yml

-54
This file was deleted.

CHANGELOG.md

-194
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Mezzio Authorization middleware
22

3-
[![Build Status](https://travis-ci.com/mezzio/mezzio-authorization.svg?branch=master)](https://travis-ci.com/mezzio/mezzio-authorization)
3+
[![Build Status](https://github.com/mezzio/mezzio-authorization/workflows/Continuous%20Integration/badge.svg)](https://github.com/mezzio/mezzio-authorization/actions?query=workflow%3A"Continuous+Integration")
44
[![Coverage Status](https://coveralls.io/repos/github/mezzio/mezzio-authorization/badge.svg?branch=master)](https://coveralls.io/github/mezzio/mezzio-authorization?branch=master)
55

66
Laminas-mezzio-authorization provides middleware for [Mezzio](https://github.com/mezzio/mezzio)

composer.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
}
2929
},
3030
"require": {
31-
"php": "^7.1",
31+
"php": "^7.3 || ~8.0.0",
3232
"laminas/laminas-zendframework-bridge": "^1.0",
3333
"mezzio/mezzio-authentication": "^1.0",
3434
"psr/container": "^1.0",
@@ -37,7 +37,9 @@
3737
},
3838
"require-dev": {
3939
"laminas/laminas-coding-standard": "~1.0.0",
40-
"phpunit/phpunit": "^7.0.2"
40+
"phpspec/prophecy-phpunit": "^2.0",
41+
"phpspec/prophecy": "^1.12",
42+
"phpunit/phpunit": "^9.3"
4143
},
4244
"conflict": {
4345
"container-interop/container-interop": "<1.2.0"

0 commit comments

Comments
 (0)