Skip to content

Commit 0648f3d

Browse files
authored
Add support for Codeception v5 (#22)
1 parent 10d9401 commit 0648f3d

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

CHANGELOG-4.0.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6+
7+
## [4.0.0] - 2022-10-19
8+
### Added
9+
- Codeception v5 support.
10+
### Removed
11+
- Drop Codeception v4 support. If you use Codeception v4, please use the previous version from library.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Inspiration comes from [herloct/codeception-slim-module](https://github.com/herl
1313
### Minimal requirements
1414
- php: `^8.0`
1515
- slim/slim: `^4.7`
16-
- codeception/codeception: `^4.0`
16+
- codeception/codeception: `^5.0`
1717

1818
If you don't know Codeception, please check [Quickstart Guide](https://codeception.com/quickstart) first.
1919

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
"license": "MIT",
1111
"require": {
1212
"php": "^8.0",
13-
"codeception/codeception": "^4.0",
14-
"codeception/lib-innerbrowser": "^2.0",
13+
"codeception/codeception": "^5.0",
14+
"codeception/lib-innerbrowser": "^3.0",
1515
"slim/psr7": "^1.3",
1616
"slim/slim": "^4.7"
1717
},
1818
"require-dev": {
1919
"ext-json": "*",
20-
"codeception/module-asserts": "^2.0",
21-
"codeception/module-rest": "^2.0"
20+
"codeception/module-asserts": "^3.0",
21+
"codeception/module-rest": "^3.0"
2222
},
2323
"autoload": {
2424
"psr-4": {

src/Module/Slim.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Slim extends Framework
5353
public $app;
5454

5555
/** @var array */
56-
protected $requiredFields = ['application'];
56+
protected array $requiredFields = ['application'];
5757

5858
/** @var string */
5959
private $applicationPath;

0 commit comments

Comments
 (0)