Skip to content

Commit 9a26e71

Browse files
committed
Merge remote-tracking branch 'origin/stable'
2 parents 0e25f4b + b81532d commit 9a26e71

File tree

3 files changed

+30
-20
lines changed

3 files changed

+30
-20
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
if: "!contains(github.event.head_commit.message, '[ci skip]')"
9+
strategy:
10+
matrix:
11+
php: ['7.2', '7.3', '7.4']
12+
name: PHP ${{ matrix.php }}
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Setup PHP
16+
uses: shivammathur/setup-php@2.9.0
17+
with:
18+
php-version: ${{ matrix.php }}
19+
- name: Cache Composer packages
20+
id: composer-cache
21+
uses: actions/cache@v2
22+
with:
23+
path: "~/.composer/cache"
24+
key: "php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}"
25+
restore-keys: "php-${{ matrix.php }}-composer-"
26+
- name: Install dependencies
27+
run: composer install --prefer-dist --no-interaction
28+
- name: Run PHPStan
29+
run: ./vendor/bin/phpstan analyze --no-progress

.travis.yml

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

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"php-64bit": "*"
99
},
1010
"require-dev": {
11-
"phpstan/phpstan": "0.12.40",
11+
"phpstan/phpstan": "0.12.59",
1212
"phpstan/extension-installer": "^1.0",
1313
"phpstan/phpstan-strict-rules": "^0.12.4"
1414
},

0 commit comments

Comments
 (0)