Skip to content

Commit 2afe7d8

Browse files
Merge pull request #97 from Ocramius/feature/#96-update-dependencies-and-allow-php-8
feat: Upgraded to PHP 8, dropped PHP <7.4, upgraded dependencies
2 parents 0e1f13d + 5284731 commit 2afe7d8

File tree

102 files changed

+1947
-1024
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+1947
-1024
lines changed

.travis.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,24 @@ env:
1313

1414
matrix:
1515
include:
16-
- php: 7.2
17-
env:
18-
- DEPS=lowest
19-
- php: 7.2
20-
env:
21-
- DEPS=locked
22-
- CS_CHECK=true
23-
- TEST_COVERAGE=true
24-
- php: 7.2
25-
env:
26-
- DEPS=latest
27-
- php: 7.3
16+
- php: 7.4
2817
env:
2918
- DEPS=lowest
30-
- php: 7.3
19+
- php: 7.4
3120
env:
3221
- DEPS=locked
33-
- php: 7.3
22+
- php: 7.4
3423
env:
3524
- DEPS=latest
36-
- php: 7.4
25+
- php: 8.0
3726
env:
3827
- DEPS=lowest
39-
- php: 7.4
28+
- php: 8.0
4029
env:
4130
- DEPS=locked
42-
- php: 7.4
31+
- CS_CHECK=true
32+
- TEST_COVERAGE=true
33+
- php: 8.0
4334
env:
4435
- DEPS=latest
4536

@@ -71,7 +62,7 @@ deploy:
7162
skip_cleanup: true
7263
on:
7364
tags: true
74-
php: 7.2
65+
php: 7.4
7566

7667
notifications:
7768
email: false

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ All notable changes to this project will be documented in this file, in reverse
66

77
### Added
88

9-
- Nothing.
9+
- [#97](https://github.com/phly/keep-a-changelog/pull/97) adds support for PHP 8.0.
1010

1111
### Changed
1212

13-
- Nothing.
13+
- [#97](https://github.com/phly/keep-a-changelog/pull/97) updates to use the v3 release of knplabs/github-api.
1414

1515
### Deprecated
1616

1717
- Nothing.
1818

1919
### Removed
2020

21-
- Nothing.
21+
- [#97](https://github.com/phly/keep-a-changelog/pull/97) removes support for PHP versions < 7.4.
2222

2323
### Fixed
2424

composer.json

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@
1111
"rss": "https://github.com/phly/keep-a-changelog/releases.atom"
1212
},
1313
"require": {
14-
"php": "^7.2",
15-
"knplabs/github-api": "^2.8",
16-
"m4tthumphrey/php-gitlab-api": "^9.9",
17-
"composer/package-versions-deprecated": "^1.10.99",
18-
"php-http/guzzle6-adapter": "^1.1 || ^2.0.1",
19-
"psr/event-dispatcher": "^1.0",
20-
"symfony/console": "^3.4 || ^4.0 || ^5.0"
14+
"php": "^7.4 || ^8.0",
15+
"knplabs/github-api": "^3.0.0",
16+
"laminas/laminas-diactoros": "^2.4.1",
17+
"m4tthumphrey/php-gitlab-api": "^11.0.0",
18+
"ocramius/package-versions": "^1.5.1 || ^2.1.0",
19+
"php-http/guzzle7-adapter": "^0.1.1",
20+
"psr/event-dispatcher": "^1.0.0",
21+
"symfony/console": "^5.2.1"
2122
},
2223
"require-dev": {
23-
"captainhook/plugin-composer": "^4.0",
24-
"laminas/laminas-coding-standard": "~2.0.1",
25-
"phpunit/phpunit": "^8.4.3"
26-
},
27-
"conflict": {
28-
"phpspec/prophecy": "<1.9.0"
24+
"captainhook/captainhook": "^5.4",
25+
"captainhook/plugin-composer": "^5.2.3",
26+
"laminas/laminas-coding-standard": "^2.1.4",
27+
"phpspec/prophecy-phpunit": "^2.0.1",
28+
"phpunit/phpunit": "^9.5.0"
2929
},
3030
"autoload": {
3131
"psr-4": {
@@ -38,7 +38,10 @@
3838
}
3939
},
4040
"config": {
41-
"sort-packages": true
41+
"sort-packages": true,
42+
"platform": {
43+
"php": "7.4.7"
44+
}
4245
},
4346
"bin": [
4447
"bin/keep-a-changelog"

0 commit comments

Comments
 (0)