Skip to content

Commit

Permalink
Add support for Codeception v5 (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
iliayatsenko authored Oct 26, 2022
1 parent 10d9401 commit 0648f3d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG-4.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [4.0.0] - 2022-10-19
### Added
- Codeception v5 support.
### Removed
- Drop Codeception v4 support. If you use Codeception v4, please use the previous version from library.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Inspiration comes from [herloct/codeception-slim-module](https://github.com/herl
### Minimal requirements
- php: `^8.0`
- slim/slim: `^4.7`
- codeception/codeception: `^4.0`
- codeception/codeception: `^5.0`

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

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"license": "MIT",
"require": {
"php": "^8.0",
"codeception/codeception": "^4.0",
"codeception/lib-innerbrowser": "^2.0",
"codeception/codeception": "^5.0",
"codeception/lib-innerbrowser": "^3.0",
"slim/psr7": "^1.3",
"slim/slim": "^4.7"
},
"require-dev": {
"ext-json": "*",
"codeception/module-asserts": "^2.0",
"codeception/module-rest": "^2.0"
"codeception/module-asserts": "^3.0",
"codeception/module-rest": "^3.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/Module/Slim.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Slim extends Framework
public $app;

/** @var array */
protected $requiredFields = ['application'];
protected array $requiredFields = ['application'];

/** @var string */
private $applicationPath;
Expand Down

0 comments on commit 0648f3d

Please sign in to comment.