Skip to content

Commit 5aae42f

Browse files
committed
PHP 8.1
1 parent 517a819 commit 5aae42f

File tree

13 files changed

+239
-318
lines changed

13 files changed

+239
-318
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ jobs:
66
strategy:
77
matrix:
88
php-version:
9-
- '7.4'
10-
- '8.0'
119
- '8.1'
1210

1311
name: PHP ${{ matrix.php-version }}
@@ -51,7 +49,7 @@ jobs:
5149
- name: Setup PHP, with composer and extensions
5250
uses: shivammathur/setup-php@v2
5351
with:
54-
php-version: 7.4
52+
php-version: 8.1
5553
coverage: none
5654
extensions: bcmath, fileinfo, json, pdo
5755
tools: cs2pr
@@ -78,7 +76,7 @@ jobs:
7876
- name: Setup PHP, with composer and extensions
7977
uses: shivammathur/setup-php@v2
8078
with:
81-
php-version: 7.4
79+
php-version: 8.1
8280
coverage: none
8381
extensions: bcmath, fileinfo, json, pdo
8482

@@ -100,11 +98,13 @@ jobs:
10098
steps:
10199
- name: Checkout
102100
uses: actions/checkout@v2
101+
with:
102+
fetch-depth: 2
103103

104104
- name: Setup PHP, with composer and extensions
105105
uses: shivammathur/setup-php@v2
106106
with:
107-
php-version: 7.4
107+
php-version: 8.1
108108
coverage: pcov
109109
extensions: bcmath, fileinfo, json, pdo
110110

@@ -126,8 +126,8 @@ jobs:
126126

127127
- name: Upload code coverage
128128
run: |
129-
curl -LO https://scrutinizer-ci.com/ocular.phar
130-
php ocular.phar code-coverage:upload --format=php-clover coverage-clover.xml
129+
composer global require scrutinizer/ocular
130+
~/.composer/vendor/bin/ocular code-coverage:upload --format=php-clover coverage-clover.xml
131131
132132
release:
133133
runs-on: ubuntu-latest

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@
3838
}
3939
},
4040
"require": {
41-
"php": "^7.4 || ^8.0",
41+
"php": "^8.1",
4242
"ext-bcmath": "*",
4343
"ext-fileinfo": "*",
4444
"ext-json": "*",
4545
"ext-pdo": "*",
4646
"cakephp/chronos": "^2.3",
47-
"doctrine/dbal": "^2.13",
48-
"doctrine/migrations": "^2.2 || ^3.0",
47+
"doctrine/dbal": "^3.3",
48+
"doctrine/migrations": "^3.4",
4949
"ecodev/graphql-doctrine": "^7.2",
50-
"imagine/imagine": "^1.2",
50+
"imagine/imagine": "dev-develop#60a78ce7973eb6b818f40a2858b85b7b9774a676",
5151
"laminas/laminas-diactoros": "^2.8",
5252
"laminas/laminas-log": "^2.15",
5353
"laminas/laminas-mail": "^2.15",
@@ -56,8 +56,8 @@
5656
"laminas/laminas-validator": "^2.16",
5757
"laminas/laminas-view": "^2.19",
5858
"mezzio/mezzio-session": "^1.6",
59-
"moneyphp/money": "^3.3",
60-
"symfony/cache": "^5.4"
59+
"moneyphp/money": "^4.0",
60+
"symfony/cache": "^6.0"
6161
},
6262
"require-dev": {
6363
"friendsofphp/php-cs-fixer": "@stable",

0 commit comments

Comments
 (0)