1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-09-08 20:20:40 +02:00

Add LogRecord class, drop PHP <8.1

This commit is contained in:
Jordi Boggiano
2022-02-20 14:39:51 +01:00
parent f2f66cd480
commit 22c8b19358
111 changed files with 501 additions and 361 deletions

View File

@@ -16,17 +16,10 @@ jobs:
strategy:
matrix:
php-version:
- "7.2"
- "7.3"
- "7.4"
- "8.0"
# disabled for now as phpspec/prophecy does not allow 8.1
# - "8.1"
- "8.1"
dependencies: [highest]
include:
- php-version: "7.2"
dependencies: lowest
- php-version: "8.0"
- php-version: "8.1"
dependencies: lowest
steps:

View File

@@ -13,8 +13,7 @@ jobs:
strategy:
matrix:
php-version:
- "7.2"
- "8.0"
- "8.1"
steps:
- name: "Checkout"

View File

@@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.0"
- "8.1"
steps:
- name: "Checkout"
@@ -44,8 +44,7 @@ jobs:
run: 'composer require ${{ env.COMPOSER_FLAGS }} mongodb/mongodb --dev --no-update'
- name: "Install latest dependencies"
# --ignore-platform-req=php here needed as long as elasticsearch/elasticsearch does not support php 8
run: "composer update ${{ env.COMPOSER_FLAGS }} --ignore-platform-req=php"
run: "composer update ${{ env.COMPOSER_FLAGS }}"
- name: Run PHPStan
run: composer phpstan