Skip to content

Commit 5c946d1

Browse files
committed
Update codebase to PHP 7.4
1 parent 70ed670 commit 5c946d1

File tree

10 files changed

+284
-234
lines changed

10 files changed

+284
-234
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
php: [7.3, 7.4, 8.0]
11+
php: [7.4, 8.0, 8.1]
1212

1313
steps:
1414
- name: Checkout code

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"minimum-stability": "RC",
1919
"require": {
20-
"php": "^7.3 || ^8.0",
20+
"php": "^7.4 || ^8.0",
2121
"ext-dom": "*",
2222
"ext-json": "*",
2323
"ext-mbstring": "*",

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Parent library for all Codeception framework modules and PhpBrowser.
99

1010
## Requirements
1111

12-
* `PHP 7.3` or higher.
12+
* `PHP 7.4` or higher.
1313

1414
## Installation
1515

src/Codeception/Lib/Framework.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ protected function getInternalDomains(): array
1919
return [];
2020
}
2121

22-
/**
23-
* @param array $settings
24-
*/
25-
public function _beforeSuite($settings = [])
22+
public function _beforeSuite(array $settings = []): void
2623
{
2724
/**
2825
* reset internal domains before suite, because each suite can have a different configuration

0 commit comments

Comments
 (0)