Skip to content

Commit 825aa60

Browse files
authored
Merge pull request hoogi91#569 from hoogi91/develop
Bugfix Release 4.0.1
2 parents 14d06b5 + ac43aad commit 825aa60

23 files changed

Lines changed: 3498 additions & 3396 deletions

.devcontainer/devcontainer.json

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

.devcontainer/postCreate.sh

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

.github/workflows/coding-standards.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
dependencies:
1616
- "locked"
1717
php-version:
18-
- "8.2"
18+
- "8.3"
1919
operating-system:
2020
- "ubuntu-latest"
2121

2222
steps:
2323
- name: "Checkout"
24-
uses: "actions/checkout@v3"
24+
uses: "actions/checkout@v4"
2525

2626
- name: "Composer install"
2727
uses: ./.github/actions/composer

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
with:
1414
ref: ${{ github.event.inputs.commit }}
1515
- uses: tomasnorre/typo3-upload-ter@v2

.github/workflows/npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
steps:
2929
- name: "Checkout"
30-
uses: "actions/checkout@v3"
30+
uses: "actions/checkout@v4"
3131

3232
- name: "Composer install"
3333
uses: ./.github/actions/npm

.github/workflows/phpstan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
dependencies:
1616
- "locked"
1717
php-version:
18-
- "8.2"
18+
- "8.3"
1919
operating-system:
2020
- "ubuntu-latest"
2121

2222
steps:
2323
- name: "Checkout"
24-
uses: "actions/checkout@v3"
24+
uses: "actions/checkout@v4"
2525

2626
- name: "Composer install"
2727
uses: ./.github/actions/composer

.github/workflows/phpunit.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- "lowest"
2525
- "highest"
2626
php-version:
27+
- "8.3"
2728
- "8.2"
2829
- "8.1"
2930
operating-system:
@@ -32,7 +33,7 @@ jobs:
3233
- "false"
3334
include:
3435
- dependencies: "locked"
35-
php-version: "8.2"
36+
php-version: "8.3"
3637
operating-system: "ubuntu-latest"
3738
coverage: "true"
3839

@@ -50,7 +51,7 @@ jobs:
5051

5152
steps:
5253
- name: "Checkout"
53-
uses: "actions/checkout@v3"
54+
uses: "actions/checkout@v4"
5455

5556
- name: "Composer install"
5657
uses: ./.github/actions/composer
@@ -66,7 +67,7 @@ jobs:
6667
coverage-folder: ./coverage/
6768

6869
- name: "Upload coverage"
69-
uses: codecov/codecov-action@v3
70+
uses: codecov/codecov-action@v4
7071
if: matrix.coverage == 'true'
7172
with:
7273
token: '${{ secrets.CODECOV_TOKEN }}'

.github/workflows/psalm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
dependencies:
1818
- "locked"
1919
php-version:
20-
- "8.2"
20+
- "8.3"
2121
operating-system:
2222
- "ubuntu-latest"
2323

2424
steps:
2525
- name: "Checkout"
26-
uses: "actions/checkout@v3"
26+
uses: "actions/checkout@v4"
2727

2828
- name: "Composer install"
2929
uses: ./.github/actions/composer
@@ -36,6 +36,6 @@ jobs:
3636
run: .Build/bin/psalm --output-format=github --report=results.sarif
3737

3838
- name: "Upload Security Analysis results to GitHub"
39-
uses: github/codeql-action/upload-sarif@v2
39+
uses: github/codeql-action/upload-sarif@v3
4040
with:
4141
sarif_file: results.sarif

Classes/Form/Element/DataInputElement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function __construct(NodeFactory $nodeFactory, array $data)
4646

4747
$this->view = GeneralUtility::makeInstance(StandaloneView::class);
4848
$this->view->setTemplatePathAndFilename($this->getTemplatePath());
49-
$this->view->assign('inputSize', (int)$this->config['size'] ?: 0);
49+
$this->view->assign('inputSize', (int)($this->config['size'] ?? 0));
5050
}
5151

5252
/**

Classes/Service/CellService.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,10 @@ private function formatString(mixed $value, Cell $cell): string
126126
setlocale(LC_NUMERIC, $currentLocale);
127127
}
128128

129-
return (string)$value;
129+
return $value;
130130
}
131131

132-
return (string)NumberFormat::toFormattedString($value, NumberFormat::FORMAT_GENERAL);
132+
/** @var bool|float|int|RichText|string|null $value */
133+
return NumberFormat::toFormattedString($value, NumberFormat::FORMAT_GENERAL);
133134
}
134135
}

0 commit comments

Comments
 (0)