diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index eeba8df..4029088 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -26,6 +26,7 @@ jobs:
matrix:
php: [7.4, '8.0', 8.1]
lib:
+ - { laravel: ^10.0 }
- { laravel: ^9.0 }
- { laravel: ^8.0 }
- { laravel: ^7.0 }
@@ -35,8 +36,11 @@ jobs:
- { php: 8.1, lib: { laravel: ^7.0 } }
- { php: 8.1, lib: { laravel: ^6.0 } }
- { php: 8.1, lib: { laravel: ^6.0, flags: --prefer-lowest } }
+ - { php: 8.0, lib: { laravel: ^10.0 } }
+ - { php: 7.4, lib: { laravel: ^10.0 } }
- { php: 7.4, lib: { laravel: ^9.0 } }
include:
+ - { php: 8.1, lib: { laravel: ^10.0 }, phpstan: '1' }
- { php: 8.1, lib: { laravel: ^9.0 }, phpstan: '1' }
- { php: 8.1, lib: { laravel: ^8.0 }, phpstan: '1' }
- { php: '8.0', lib: { laravel: ^9.0 }, phpstan: '1' }
diff --git a/.scrutinizer.yml b/.scrutinizer.yml
index a40aeee..da641d7 100644
--- a/.scrutinizer.yml
+++ b/.scrutinizer.yml
@@ -10,6 +10,8 @@ filter:
build:
+ image: default-bionic
+
nodes:
analysis:
tests:
@@ -28,7 +30,7 @@ build:
- 3306
environment:
- php: '7.4'
+ php: '8.1.8'
docker: true
dependencies:
diff --git a/README.md b/README.md
index a5c59b3..0ff0656 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@ A tiny extension of `MySqlConnection` that manages **session** system variables
| Package | Version | Mandatory |
|:---|:---|:---:|
| PHP | ^7.4 || ^8.0
| ✅ |
-| Laravel | ^6.0 || ^7.0 || ^8.0 || ^9.0
| ✅ |
+| Laravel | ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0
| ✅ |
| PHPStan | >=1.1
| |
## Installing
diff --git a/docker-compose.yml b/compose.yml
similarity index 51%
rename from docker-compose.yml
rename to compose.yml
index 54d1eff..b00fa46 100644
--- a/docker-compose.yml
+++ b/compose.yml
@@ -1,22 +1,20 @@
-version: '3'
+version: 'Compose-Spec'
services:
php:
- image: circleci/php:7.4
+ image: joseluisq/php-fpm:8.1
volumes:
- .:/code:cached
- command:
- sh -c '
- sudo docker-php-ext-install pdo_mysql;
- cd /code;
- tail -F /dev/null;
- '
+ working_dir: /code
+ entrypoint: ['tail', '-f', '/dev/null']
+ command: []
mysql:
- image: mysql:5.7
+ image: mysql:8.0
environment:
MYSQL_DATABASE: testing
MYSQL_USER: testing
MYSQL_PASSWORD: testing
MYSQL_ROOT_PASSWORD: testing
+
\ No newline at end of file
diff --git a/composer.json b/composer.json
index ea5ea69..064643b 100644
--- a/composer.json
+++ b/composer.json
@@ -24,8 +24,8 @@
"require": {
"php": "^7.4 || ^8.0",
"ext-pdo": "*",
- "illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0",
- "illuminate/database": "^6.0 || ^7.0 || ^8.0 || ^9.0",
+ "illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0",
+ "illuminate/database": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0",
"mpyw/unclosure": "^3.0",
"mpyw/laravel-pdo-emulation-control": "^2.0.2"
},
@@ -35,7 +35,7 @@
"phpunit/phpunit": ">=9.5",
"phpstan/phpstan": ">=1.1",
"phpstan/extension-installer": ">=1.1",
- "nunomaduro/larastan": "^1.0"
+ "nunomaduro/larastan": ">=1.0"
},
"scripts": {
"test": "vendor/bin/phpunit",
@@ -49,5 +49,10 @@
"extension.neon"
]
}
+ },
+ "config": {
+ "allow-plugins": {
+ "phpstan/extension-installer": true
+ }
}
}