Skip to content

Commit fe93049

Browse files
committed
Drop support for PHP 7.1, update to recoil/dev 0.4.0.
1 parent 8ce973e commit fe93049

7 files changed

Lines changed: 911 additions & 313 deletions

File tree

.php_cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ return PhpCsFixer\Config::create()
6161
'phpdoc_types' => true,
6262
'pre_increment' => true,
6363
'return_type_declaration' => true,
64+
'self_accessor' => true,
6465
'short_scalar_cast' => true,
6566
'single_blank_line_before_namespace' => true,
6667
'single_quote' => true,

.travis.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
1-
sudo: false
21
language: php
32
php:
4-
- '7.1'
53
- '7.2'
64
- '7.3'
7-
- '7.4snapshot'
8-
- 'nightly'
9-
matrix:
10-
fast_finish: true
11-
allow_failures:
12-
- php: 'nightly'
5+
- '7.4'
136
before_install:
147
- phpenv config-rm xdebug.ini || true
158
- "[[ $GITHUB_TOKEN ]] && composer config --global github-oauth.github.com $GITHUB_TOKEN"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ coverage-open: artifacts/tests/coverage/index.html
1010

1111
lint: $(SOURCE) | vendor
1212
@mkdir -p artifacts/
13-
vendor/bin/php-cs-fixer fix
13+
vendor/bin/php-cs-fixer fix --allow-risky=yes
1414

1515
prepare: lint coverage
1616
composer validate

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "recoil/react",
33
"description": "Integrate Recoil with ReactPHP.",
44
"require": {
5-
"php": "^7.1",
5+
"php": "^7.2",
66
"react/event-loop": "^1.0 || ^0.5 || ^0.4",
77
"react/promise": "^2",
88
"recoil/api": "^1",
@@ -15,7 +15,7 @@
1515
"peridot-php/leo": "^1",
1616
"peridot-php/peridot-code-coverage-reporters": "^2",
1717
"peridot-php/peridot": "^1",
18-
"recoil/dev": "^0.3.5"
18+
"recoil/dev": "^0.4"
1919
},
2020
"autoload": { "psr-4": { "Recoil\\React\\": "src" } },
2121
"autoload-dev": {
@@ -48,7 +48,7 @@
4848
"config": {
4949
"sort-packages": true,
5050
"platform": {
51-
"php": "7.1"
51+
"php": "7.2"
5252
}
5353
}
5454
}

0 commit comments

Comments
 (0)