Skip to content

Commit

Permalink
Allow psr/log ^3 (#27)
Browse files Browse the repository at this point in the history
* Allow psr/log ^3

* Only support psr/log 3
  • Loading branch information
alexpott committed Apr 5, 2022
1 parent 3ad08dc commit e95baff
Show file tree
Hide file tree
Showing 5 changed files with 652 additions and 573 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.0
coverage: none

- name: Install dependencies
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.0
coverage: none
extensions: intl

Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
- windows-latest

php-version:
- "7.4"
- "8.0"

php-ini-values:
- assert.exception=1, zend.assertions=1
Expand All @@ -95,14 +95,6 @@ jobs:
- false

include:
- os: ubuntu-latest
php-version: "7.1"
dependencies: lowest

- os: ubuntu-latest
php-version: "7.4"
dependencies: lowest

- os: ubuntu-latest
php-version: "8.0"
dependencies: highest
Expand Down
11 changes: 4 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
}
},
"require": {
"php": ">=7.1.3",
"psr/log": "^1 || ^2",
"symfony/console": "^4 || ^5 || ^6"
"php": ">=8.0.0",
"psr/log": "^3",
"symfony/console": "^5 || ^6"
},
"require-dev": {
"phpunit/phpunit": ">=7.5.20",
Expand Down Expand Up @@ -50,9 +50,6 @@
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.2.28"
}
"sort-packages": true
}
}

0 comments on commit e95baff

Please sign in to comment.