We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3ee707 commit cb04682Copy full SHA for cb04682
composer.json
@@ -22,7 +22,7 @@
22
}
23
],
24
"require": {
25
- "php": "^7.3"
+ "php": "^7.3 || ^8.0"
26
},
27
"require-dev": {
28
"phpunit/phpunit": "^9",
tests/GitChangelogTest.php
@@ -185,7 +185,10 @@ public function testSetLabelsRaisesNotice()
185
{
186
$changeLog = new GitChangelog();
187
188
- $this->expectNotice();
+ $this->expectNotice(); // PHP version ^7.3
189
+ if (version_compare(PHP_VERSION, '8.0.0') >= 0) {
190
+ $this->expectWarning(); // PHP version ^8
191
+ }
192
$changeLog->setLabels([]);
193
194
0 commit comments