Skip to content

Commit d46c48f

Browse files
authored
Merge pull request #27 from dunglas/mercure-0.10
Compatibility with Mercure 0.10
2 parents 9c5fe6e + e432716 commit d46c48f

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@ jobs:
55
- php: '7.1'
66
- php: '7.2'
77
- php: '7.3'
8+
- php: '7.4'
89
env: lint=1
9-
- php: '7.3'
10+
- php: '7.4'
1011
env: deps=low
1112

1213
cache:
1314
directories:
1415
- $HOME/.composer/cache
1516

1617
before_install:
17-
- if [[ $lint = '1' ]]; then wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.15.1/php-cs-fixer.phar; fi
18-
- if [[ $lint = '1' ]]; then wget https://github.com/phpstan/phpstan/releases/download/0.11.8/phpstan.phar; fi
18+
- if [[ $lint = '1' ]]; then wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.16.3/php-cs-fixer.phar; fi
19+
- if [[ $lint = '1' ]]; then wget https://github.com/phpstan/phpstan/releases/download/0.12.25/phpstan.phar; fi
1920

2021
before_script:
2122
- phpenv config-rm xdebug.ini
@@ -30,4 +31,4 @@ install:
3031
script:
3132
- vendor/bin/simple-phpunit
3233
- if [[ $lint = '1' ]]; then php php-cs-fixer.phar fix --dry-run --diff --no-ansi; fi
33-
- if [[ $lint = '1' ]]; then php phpstan.phar analyse src tests --level=7; fi
34+
- if [[ $lint = '1' ]]; then php phpstan.phar analyse; fi

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
0.2.4
5+
-----
6+
7+
* Compatibility with Mercure 0.10
8+
49
0.2.3
510
-----
611

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"symfony/config": "^4.3.7|^5.0",
2121
"symfony/dependency-injection": "^4.3.7|^5.0",
2222
"symfony/http-kernel": "^4.3.7|^5.0",
23-
"symfony/mercure": "^0.3"
23+
"symfony/mercure": "^0.3|^0.4"
2424
},
2525
"autoload": {
2626
"psr-4": { "Symfony\\Bundle\\MercureBundle\\": "src/" }

phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
parameters:
2+
level: 5
3+
paths:
4+
- src
5+
- tests
26
inferPrivatePropertyTypeFromConstructor: true
37
autoload_files:
48
- vendor/bin/.phpunit/phpunit-8.3-0/vendor/autoload.php

0 commit comments

Comments
 (0)