Skip to content

Commit f0bba96

Browse files
committed
Bump to PHP 7.2
1 parent 2a77c81 commit f0bba96

File tree

4 files changed

+33
-16
lines changed

4 files changed

+33
-16
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
.idea
1+
/.idea
22
/vendor
3-
composer.lock
3+
/composer.lock
4+
/.phpunit.result.cache

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
language: php
22

33
php:
4-
- 7.1
54
- 7.2
65
- 7.3
76

87
install: composer install --dev --no-interaction
98

109
script:
1110
- vendor/bin/phpunit --coverage-clover=coverage.xml
12-
- composer stan
11+
- vendor/bin/phpstan analyse --memory-limit=2048M
1312

1413
after_success:
1514
- bash <(curl -s https://codecov.io/bash)

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
You can find and compare releases at the [GitHub release page](https://github.com/nuwave/lighthouse/releases).
9+
10+
## Unreleased
11+
12+
## 3.0.0
13+
14+
### Changed
15+
16+
- Bump dependencies of various packages
17+
18+
### Removed
19+
20+
- Remove support for PHP 7.1

composer.json

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,18 @@
1111
}
1212
],
1313
"require": {
14-
"php": ">=7.1",
15-
"webonyx/graphql-php": "^0.13",
16-
"spatie/regex": "^1.3",
17-
"egulias/email-validator": "^2.1",
18-
"thecodingmachine/safe": "^0.1.14"
14+
"php": ">=7.2",
15+
"webonyx/graphql-php": "^0.13.8",
16+
"spatie/regex": "^1.4.1",
17+
"egulias/email-validator": "^2.1.17",
18+
"thecodingmachine/safe": "^1.0.3"
1919
},
2020
"require-dev": {
2121
"ext-json": "*",
22-
"phpunit/phpunit": "^7.3",
23-
"psy/psysh": "^0.9.8",
24-
"phpstan/phpstan": "^0.11.15"
22+
"phpunit/phpunit": "^8.5.2",
23+
"psy/psysh": "^0.9.12",
24+
"phpstan/phpstan": "^0.12.11",
25+
"thecodingmachine/phpstan-safe-rule": "^1.0.0"
2526
},
2627
"autoload": {
2728
"files": [
@@ -35,9 +36,5 @@
3536
"psr-4": {
3637
"Tests\\": "tests/"
3738
}
38-
},
39-
"scripts": {
40-
"test": "phpunit",
41-
"stan": "phpstan analyse"
4239
}
4340
}

0 commit comments

Comments
 (0)