Skip to content

Codeception 5 support #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:

strategy:
matrix:
php: [7.4, 8.0]
laravel: [6, 8]
php: [8.0, 8.1]
laravel: [8]

steps:
- name: Checkout code
Expand All @@ -23,14 +23,6 @@ jobs:
extensions: ctype, iconv, intl, json, mbstring, pdo, pdo_sqlite
coverage: none

- name: Checkout Laravel 6 Sample
if: matrix.laravel == 6
uses: actions/checkout@v2
with:
repository: codeception/laravel-module-tests
path: framework-tests
ref: 6.x

- name: Checkout Laravel 8 Sample
if: matrix.laravel == 8
uses: actions/checkout@v2
Expand All @@ -51,9 +43,7 @@ jobs:
restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer-

- name: Install dependencies
run: |
composer require laravel/framework=${{ matrix.laravel }} --ignore-platform-req=php --no-update
composer install --prefer-dist --no-progress --ignore-platform-req=php
run: composer install --prefer-dist --no-progress

- name: Validate composer.json and composer.lock
run: composer validate
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
],
"minimum-stability": "RC",
"require": {
"php": "^7.4 | ^8.0",
"php": "^8.0",
"ext-json": "*",
"codeception/lib-innerbrowser": "^2.0",
"codeception/codeception": "^4.1"
"codeception/lib-innerbrowser": "^3.1",
"codeception/codeception": "^5.0.0-RC2"
},
"require-dev": {
"codeception/module-asserts": "^2.0",
"codeception/module-rest": "^2.0",
"laravel/framework": "^6.0 | ^7.0 | ^8.0",
"vlucas/phpdotenv": "^3.6 | ^4.1 | ^5.2"
"codeception/module-asserts": "^3.0",
"codeception/module-rest": "^3.1",
"laravel/framework": "^8.0",
"vlucas/phpdotenv": "^5.3"
},
"autoload": {
"classmap": ["src/"]
Expand Down
2 changes: 1 addition & 1 deletion src/Codeception/Module/Laravel.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class Laravel extends Framework implements ActiveRecord, PartedModule
/**
* @var array
*/
public $config = [];
public array $config = [];

public function __construct(ModuleContainer $moduleContainer, ?array $config = null)
{
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy