Skip to content

Commit 442466c

Browse files
Merge pull request #7763 from getkirby/release/5.2.0
5.2.0
2 parents 2278dae + 6f33d71 commit 442466c

File tree

388 files changed

+4759
-2203
lines changed

Some content is hidden

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

388 files changed

+4759
-2203
lines changed

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@
66
# tests
77
.codecov.yml export-ignore
88
.php-cs-fixer.dist.php export-ignore
9-
phpbench.json export-ignore
109
phpmd.xml.dist export-ignore
1110
phpunit.ci.xml export-ignore
1211
phpunit.dist.xml export-ignore
1312
psalm.xml.dist export-ignore
14-
bench/ export-ignore
1513
tests/ export-ignore
1614

1715
# panel

.github/workflows/backend.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
timeout-minutes: 5
5858
strategy:
5959
matrix:
60-
php: ["8.2", "8.3", "8.4"]
60+
php: ["8.2", "8.3", "8.4", "8.5"]
6161
env:
6262
extensions: mbstring, ctype, curl, gd, apcu, memcached, redis
6363
ini: apc.enabled=1, apc.enable_cli=1, pcov.directory=., "pcov.exclude=\"~(vendor|tests)~\""
@@ -104,7 +104,7 @@ jobs:
104104
extensions: ${{ env.extensions }}
105105
ini-values: ${{ env.ini }}
106106
coverage: pcov
107-
tools: phpunit:10.5.38, psalm:5.26.1
107+
tools: phpunit:11.5.44, psalm:6.13.1
108108

109109
- name: Setup problem matchers
110110
run: |
@@ -127,7 +127,7 @@ jobs:
127127
run: phpunit -c phpunit.ci.xml --coverage-clover ${{ github.workspace }}/clover.xml
128128

129129
- name: Statically analyze using Psalm
130-
if: always() && steps.finishPrepare.outcome == 'success' && matrix.php != '8.4'
130+
if: always() && steps.finishPrepare.outcome == 'success' && matrix.php != '8.5'
131131
run: psalm --output-format=github --php-version=${{ matrix.php }} --report=sarif/psalm.sarif --report-show-info=false
132132

133133
- name: Upload coverage results to Codecov
@@ -144,7 +144,7 @@ jobs:
144144
env_vars: PHP
145145

146146
- name: Upload code scanning results to GitHub
147-
if: always() && steps.finishPrepare.outcome == 'success' && github.repository == 'getkirby/kirby' && matrix.php != '8.4'
147+
if: always() && steps.finishPrepare.outcome == 'success' && github.repository == 'getkirby/kirby' && matrix.php != '8.5'
148148
uses: github/codeql-action/upload-sarif@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # pin@v3
149149
with:
150150
sarif_file: sarif
@@ -205,8 +205,8 @@ jobs:
205205
extensions: ${{ env.extensions }}
206206
coverage: none
207207
tools: |
208-
composer:2.4.4, composer-normalize:2.28.3, composer-require-checker:4.1.0,
209-
composer-unused:0.7.12, phpmd:2.13.0
208+
composer:2.9.1, composer-normalize:2.48.2, composer-require-checker:4.18.0,
209+
composer-unused:0.9.5, phpmd:2.15.0
210210
211211
- name: Validate composer.json/composer.lock
212212
if: always() && steps.finishPrepare.outcome == 'success'
@@ -264,7 +264,7 @@ jobs:
264264
with:
265265
php-version: ${{ env.php }}
266266
coverage: none
267-
tools: php-cs-fixer:3.65.0
267+
tools: php-cs-fixer:3.90.0
268268

269269
- name: Cache analysis data
270270
id: finishPrepare

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
/.idea
1616

1717
# tests
18-
.phpbench
1918
.phpunit.cache
2019
phpunit.xml
2120
/tests/coverage

.php-cs-fixer.dist.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
<?php
22

3-
$finder = PhpCsFixer\Finder::create()
3+
use PhpCsFixer\Finder;
4+
use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;
5+
6+
$finder = Finder::create()
47
->exclude('dependencies')
58
->exclude('panel/node_modules')
69
->in(__DIR__);
710

8-
$config = new PhpCsFixer\Config();
9-
return $config
11+
return (new PhpCsFixer\Config())
12+
->setParallelConfig(ParallelConfigFactory::detect())
1013
->setRules([
1114
'@PSR12' => true,
1215
'align_multiline_comment' => ['comment_type' => 'all_multiline'],

LICENSE.md

Lines changed: 3 additions & 7 deletions

bench/Filesystem/DirBench.php

Lines changed: 0 additions & 87 deletions
This file was deleted.

bench/Filesystem/fixtures/inventory/models/a.txt

Whitespace-only changes.

bench/Filesystem/fixtures/inventory/models/a/a.txt

Whitespace-only changes.

bench/Filesystem/fixtures/inventory/models/a/bar.png

Whitespace-only changes.

bench/Filesystem/fixtures/inventory/models/a/bar.png.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)