Skip to content

Commit f618d6c

Browse files
authored
2.x php8 compat (#250)
Fixed PHP 8.1 deprecation notices. Increase min. Drop PHP <7.4 support.
1 parent 70d9b95 commit f618d6c

9 files changed

Lines changed: 1181 additions & 580 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,10 @@ jobs:
2121
strategy:
2222
matrix:
2323
include:
24-
- php: '5.6'
25-
phpunit_config: 'phpunit.xml.dist' # PHPUnit 5.7
26-
- php: '7.0'
27-
phpunit_config: 'phpunit.xml.dist' # PHPUnit 6.5
28-
- php: '7.1'
29-
phpunit_config: 'phpunit7.xml.dist' # PHPUnit 7.5
30-
- php: '7.2'
31-
phpunit_config: 'phpunit7.xml.dist' # PHPUnit 8.5
32-
- php: '7.3'
33-
phpunit_config: 'phpunit9.xml.dist' # PHPUnit 9.6
3424
- php: '7.4'
35-
phpunit_config: 'phpunit9.xml.dist' # PHPUnit 9.6
25+
phpunit_config: 'phpunit.xml.dist' # PHPUnit 9.6
3626
- php: '8.0'
37-
phpunit_config: 'phpunit9.xml.dist' # PHPUnit 9.6
27+
phpunit_config: 'phpunit.xml.dist' # PHPUnit 9.6
3828
- php: '8.1'
3929
phpunit_config: 'phpunit10.xml.dist' # PHPUnit 10.5
4030
- php: '8.2'

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1212
- The `$params` argument of the `Api::getTransitions` method is now optional by [@aik099] (#244).
1313
- The `$start_at = 0` argument of `Api::search` method was renamed into the `$next_page_token = null` to reflect underlying Jira API changes by [@aik099] (#248).
1414
- Improved performance of `Result::getIssuesCount` method by [@aik099] (#248).
15+
- Drop support for PHP <7.4.0 by [@alex-dna] (#250).
1516

1617
### Removed
1718
- The `Api::search` method and the `Walker` class no longer return total issue count, because underlaying Jira API doesn't support this [@aik099] (#248).
@@ -101,3 +102,4 @@ This project adheres to [Semantic Versioning](https://semver.org/).
101102
[@alopex06]: https://github.com/alopex06
102103
[@benPesso]: https://github.com/benPesso
103104
[@danillofb]: https://github.com/danillofb
105+
[@alex-dna]: https://github.com/alex-dna

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=5.6.0"
15+
"php": ">=7.4.0"
1616
},
1717
"require-dev": {
1818
"aik099/coding-standard": "dev-master",

0 commit comments

Comments
 (0)