Skip to content

Commit 90c2f91

Browse files
committed
Merge branch 'php-8.5-support'
2 parents 0ef4423 + 7c20801 commit 90c2f91

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1343
-296
lines changed

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@
1111
/docs export-ignore
1212
/phpstan* export-ignore
1313
/phpstan-baseline-7.4.neon linguist-generated
14+
/phpstan-baseline-8.0.neon linguist-generated
15+
/phpstan-baseline-8.1.neon linguist-generated
16+
/phpstan-baseline-8.2.neon linguist-generated
1417
/phpstan-baseline-8.3.neon linguist-generated
18+
/phpstan-baseline-8.4.neon linguist-generated
19+
/phpstan-baseline-8.5.neon linguist-generated
1520
/phpunit* export-ignore
1621
/scripts export-ignore
1722
/src/Toolkit/Cli/CliOptionBuilder.php linguist-generated

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,11 @@ jobs:
5757
- name: Checkout
5858
uses: actions/checkout@v4
5959

60-
# PHP 8.3 is needed to parse DNF types in test fixtures, and
61-
# php-cs-fixer doesn't support PHP 8.4
60+
# PHP 8.3+ is needed to parse DNF types in test fixtures
6261
- name: Setup PHP and Composer
6362
uses: shivammathur/setup-php@v2
6463
with:
65-
php-version: "8.3"
64+
php-version: "8.4"
6665
coverage: none
6766

6867
- name: Get Composer cache directory
@@ -101,7 +100,12 @@ jobs:
101100
matrix:
102101
php-version:
103102
- "8.4"
103+
- "8.3"
104+
- "8.2"
105+
- "8.1"
106+
- "8.0"
104107
- "7.4"
108+
- "8.5"
105109

106110
runs-on: ubuntu-24.04
107111

@@ -169,6 +173,8 @@ jobs:
169173
php-version: "7.4"
170174
- os: windows-latest
171175
php-version: "7.4"
176+
- os: ubuntu-24.04
177+
php-version: "8.5"
172178

173179
runs-on: ${{ matrix.os }}
174180

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup PHP and Composer
2525
uses: shivammathur/setup-php@v2
2626
with:
27-
php-version: "8.3"
27+
php-version: "8.4"
2828
coverage: none
2929

3030
- name: Get Composer cache directory

.phive/phars.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
33
<phar name="lkrms/pretty-php" version="^0.4.48" installed="0.4.94" location="./tools/pretty-php" copy="true"/>
4-
<phar name="php-cs-fixer" version="^3.46.0" installed="3.87.1" location="./tools/php-cs-fixer" copy="true"/>
4+
<phar name="php-cs-fixer" version="^3.46.0" installed="3.89.2" location="./tools/php-cs-fixer" copy="true"/>
55
<phar name="salient-labs/changelog" version="^1.0.5" installed="1.0.8" location="./tools/changelog" copy="true"/>
6-
<phar name="composer-require-checker" version="^4.16.1" installed="4.16.1" location="./tools/composer-require-checker" copy="true"/>
6+
<phar name="composer-require-checker" version="^4.16.1" installed="4.18.0" location="./tools/composer-require-checker" copy="true"/>
77
</phive>

.php-cs-fixer.dist.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<?php
22

33
$customTokens = [
4-
'T_PRIVATE_SET',
5-
'T_PROTECTED_SET',
6-
'T_PUBLIC_SET',
7-
'T_PROPERTY_C',
4+
'T_VOID_CAST',
5+
'T_PIPE',
86
'T_OPEN_BRACE',
97
'T_OPEN_BRACKET',
108
'T_OPEN_PARENTHESIS',
@@ -40,6 +38,7 @@
4038

4139
/** @disregard P1009 */
4240
return (new PhpCsFixer\Config())
41+
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
4342
->setRules([
4443
'fully_qualified_strict_types' => true,
4544
'is_null' => true,

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"require": {
1717
"php": ">=7.4",
1818
"composer-runtime-api": "^2.2",
19-
"lkrms/dice": "^4.1.11",
19+
"lkrms/dice": "^4.1.12",
2020
"psr/container": "^2",
2121
"psr/event-dispatcher": "^1",
2222
"psr/http-client": "^1",
@@ -26,7 +26,7 @@
2626
"psr/simple-cache": "^1 || ^2"
2727
},
2828
"require-dev": {
29-
"adodb/adodb-php": "^5",
29+
"adodb/adodb-php": "dev-master",
3030
"analog/analog": "^1",
3131
"ergebnis/phpunit-slow-test-detector": "^2",
3232
"firebase/php-jwt": "^6",

0 commit comments

Comments
 (0)