Skip to content
Closed
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
21 changes: 5 additions & 16 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,8 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.1]
laravel: [10.*]
exclude:
- php: 8.1
laravel: 10.*
include:
- laravel: 10.*
testbench: 8.*

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

name: PHP 8.2 - Laravel 11.*

steps:
- name: Checkout code
Expand All @@ -31,18 +20,18 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.composer/cache/files
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
key: dependencies-laravel-11-php-8.2-composer-${{ hashFiles('composer.json') }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
php-version: 8.2
extensions: dom, curl, libxml, mbstring, zip
coverage: none

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:11.*" "orchestra/testbench:9.*" --no-interaction --no-update
composer update --prefer-dist --no-interaction --no-progress

- name: Execute tests
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ You can install the package via composer:
composer require pod-point/laravel-configcat
```

For Laravel 10.x

```bash
composer require pod-point/laravel-mail-export:^4.0
```

For Laravel 5.4 up to 9.x

```bash
composer require pod-point/laravel-mail-export:^3.0
```

### Publishing the config file

Next, you should publish the Laravel package configuration file using the `vendor:publish` Artisan command. It will be placed in your application's config directory:
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
}
],
"require": {
"php": ">=8.1",
"php": ">=8.2",
"configcat/configcat-client": "^9.0",
"illuminate/contracts": "^10.0"
"illuminate/contracts": "^11.0"
},
"require-dev": {
"orchestra/testbench": "^8.0",
"phpunit/phpunit": "^9.6",
"orchestra/testbench": "^9.0",
"phpunit/phpunit": "^10.5",
"mockery/mockery": "^1.6.7"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Facades/ConfigCat.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static function fake(array $flagsToFake = []): ConfigCatFake
return $fake;
}

protected static function isFake(): bool
public static function isFake(): bool
{
$name = static::getFacadeAccessor();

Expand Down
Loading