Skip to content

Commit 825f805

Browse files
authored
Merge pull request #78 from gsteel/wip/ci-psalm
2 parents 466d07d + 132e55c commit 825f805

File tree

6 files changed

+454
-50
lines changed

6 files changed

+454
-50
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: "Continuous Integration"
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- '[0-9]+.[0-9]+.x'
8+
- 'refs/pull/*'
9+
10+
jobs:
11+
matrix:
12+
name: Generate job matrix
13+
runs-on: ubuntu-latest
14+
outputs:
15+
matrix: ${{ steps.matrix.outputs.matrix }}
16+
steps:
17+
- name: Gather CI configuration
18+
id: matrix
19+
uses: laminas/laminas-ci-matrix-action@v1
20+
21+
qa:
22+
name: QA Checks
23+
needs: [matrix]
24+
runs-on: ${{ matrix.operatingSystem }}
25+
strategy:
26+
fail-fast: false
27+
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
28+
steps:
29+
- name: ${{ matrix.name }}
30+
uses: laminas/laminas-continuous-integration-action@v1
31+
with:
32+
job: ${{ matrix.job }}

.travis.yml

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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# laminas-zendframework-bridge
22

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

66
This library provides a custom autoloader that aliases legacy Zend Framework,
77
Apigility, and Expressive classes to their replacements under the Laminas

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@
1515
"forum": "https://discourse.laminas.dev/"
1616
},
1717
"require": {
18-
"php": "^5.6 || ^7.0 || ^8.0"
18+
"php": "^7.3 || ^8.0"
1919
},
2020
"require-dev": {
2121
"phpunit/phpunit": "^5.7 || ^6.5 || ^7.5 || ^8.1 || ^9.3",
22-
"squizlabs/php_codesniffer": "^3.5"
22+
"psalm/plugin-phpunit": "^0.15.1",
23+
"squizlabs/php_codesniffer": "^3.5",
24+
"vimeo/psalm": "^4.6"
2325
},
2426
"autoload": {
2527
"files": [
@@ -52,6 +54,7 @@
5254
"scripts": {
5355
"cs-check": "phpcs",
5456
"cs-fix": "phpcbf",
57+
"static-analysis": "psalm --shepherd --stats",
5558
"test": "phpunit --colors=always",
5659
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
5760
}

0 commit comments

Comments
 (0)