Skip to content

Commit ef4a270

Browse files
authored
Update codebase to PHP 7.4 (#17)
1 parent 7e1e8fd commit ef4a270

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

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

1313
steps:
1414
- name: Checkout code

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
],
2020
"minimum-stability": "RC",
2121
"require": {
22-
"php": "^7.1 || ^8.0",
22+
"php": "^7.4 || ^8.0",
2323
"codeception/lib-asserts": "^1.13.1",
2424
"codeception/codeception": "*@dev"
2525
},

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A Codeception module containing various assertions.
99

1010
## Requirements
1111

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

1414
## Installation
1515

tests/unit/Codeception/Module/AssertsTest.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515

1616
final class AssertsTest extends TestCase
1717
{
18-
/** @var Asserts */
19-
protected $module;
18+
protected ?Asserts $module = null;
2019

2120
public function _setUp()
2221
{

0 commit comments

Comments
 (0)