Skip to content

Commit 3da3a08

Browse files
author
addwiki-ci
committed
PHP 8 (#45)
* "php": ">=7.2" * RELEASENOTES for PHP8 installability * Run multiple php versions in composer_test CI * "php": ">=7.3" We can't test in CI with 7.2 Also it is no longer supported anyway... * Fix 1 failing test in PHP8 * Fix .github/workflows/composer_test.yaml * Some slightly better Github Action names * Require guzzle 6.3+ in order to make tests pass
1 parent 86f05f0 commit 3da3a08

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

RELEASENOTES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release Notes
22

3+
## Version 2.8 (16 February 2021)
4+
5+
- Installable with 7.3+ (including PHP8)
6+
- Installable with `guzzlehttp/guzzle` `~6.3|~7.0`
7+
38
## Version 2.7 (15 February 2021)
49

510
- Installable with `guzzlehttp/guzzle` `~6.0|~7.0`

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
]
2424
},
2525
"require": {
26-
"php": "^7.2",
27-
"guzzlehttp/guzzle": "~6.0|~7.0",
26+
"php": ">=7.3",
27+
"guzzlehttp/guzzle": "~6.3|~7.0",
2828
"guzzlehttp/promises": "~1.0",
2929
"psr/log": "~1.0"
3030
},

tests/unit/MediawikiApiTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,6 @@ public function testLogWarningsWithWarningsDeeperInTheArray() {
364364
$method = $reflection->getMethod( 'logWarnings' );
365365
$method->setAccessible( true );
366366

367-
$method->invokeArgs( $api, $input );
367+
$method->invokeArgs( $api, [ $input ] );
368368
}
369369
}

0 commit comments

Comments
 (0)