Skip to content

Commit 9a0380e

Browse files
committed
Merge branch '8.3' into task/drop-runbare-override
# Conflicts: # Neos.FluidAdaptor/Tests/Functional/View/Fixtures/View/StandaloneView.php
2 parents 7844175 + e7c80d7 commit 9a0380e

File tree

159 files changed

+455
-253
lines changed

Some content is hidden

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

159 files changed

+455
-253
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
php-versions: ['8.0', '8.1', '8.2', '8.3']
23+
php-versions: ['8.0', '8.1', '8.2', '8.3', '8.4']
2424
# see https://mariadb.com/kb/en/mariadb-server-release-dates/
2525
# this should be a current release, e.g. the LTS version
2626
mariadb-versions: ['10.6']
@@ -75,7 +75,7 @@ jobs:
7575
working-directory: .
7676

7777
- name: Checkout
78-
uses: actions/checkout@v2
78+
uses: actions/checkout@v4
7979
with:
8080
path: ${{ env.FLOW_FOLDER }}
8181

@@ -106,7 +106,7 @@ jobs:
106106
mysql root password: 'neos'
107107

108108
- name: Checkout development distribution
109-
uses: actions/checkout@v2
109+
uses: actions/checkout@v4
110110
with:
111111
repository: neos/flow-development-distribution
112112
ref: ${{ env.FLOW_TARGET_VERSION }}
@@ -123,7 +123,7 @@ jobs:
123123
124124
- name: Cache Composer packages
125125
id: composer-cache
126-
uses: actions/cache@v2
126+
uses: actions/cache@v4
127127
with:
128128
path: |
129129
~/.cache/composer

.github/workflows/experimental.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
working-directory: .
8787

8888
- name: Checkout
89-
uses: actions/checkout@v2
89+
uses: actions/checkout@v4
9090
with:
9191
path: ${{ env.FLOW_FOLDER }}
9292

@@ -99,7 +99,7 @@ jobs:
9999
ini-values: date.timezone="Africa/Tunis", opcache.fast_shutdown=0, apc.enable_cli=on
100100

101101
- name: Checkout development distribution
102-
uses: actions/checkout@v2
102+
uses: actions/checkout@v4
103103
with:
104104
repository: neos/flow-development-distribution
105105
ref: ${{ env.FLOW_TARGET_VERSION }}
@@ -116,7 +116,7 @@ jobs:
116116
117117
- name: Cache Composer packages
118118
id: composer-cache
119-
uses: actions/cache@v2
119+
uses: actions/cache@v4
120120
with:
121121
path: |
122122
~/.cache/composer

Neos.Cache/Classes/Backend/AbstractBackend.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ abstract class AbstractBackend implements BackendInterface
6161
* @param array $options Configuration options - depends on the actual backend
6262
* @api
6363
*/
64-
public function __construct(EnvironmentConfiguration $environmentConfiguration = null, array $options = [])
64+
public function __construct(?EnvironmentConfiguration $environmentConfiguration = null, array $options = [])
6565
{
6666
$this->environmentConfiguration = $environmentConfiguration;
6767

@@ -144,7 +144,7 @@ public function setDefaultLifetime($defaultLifetime): void
144144
* @param integer $lifetime The lifetime in seconds
145145
* @return \DateTime The expiry time
146146
*/
147-
protected function calculateExpiryTime(int $lifetime = null): \DateTime
147+
protected function calculateExpiryTime(?int $lifetime = null): \DateTime
148148
{
149149
if ($lifetime === self::UNLIMITED_LIFETIME || ($lifetime === null && $this->defaultLifetime === self::UNLIMITED_LIFETIME)) {
150150
return new \DateTime(self::DATETIME_EXPIRYTIME_UNLIMITED, new \DateTimeZone('UTC'));

Neos.Cache/Classes/Backend/ApcuBackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function getPrefixedIdentifier(string $entryIdentifier): string
117117
* @throws \InvalidArgumentException if the identifier is not valid
118118
* @api
119119
*/
120-
public function set(string $entryIdentifier, string $data, array $tags = [], int $lifetime = null): void
120+
public function set(string $entryIdentifier, string $data, array $tags = [], ?int $lifetime = null): void
121121
{
122122
if (!$this->cache instanceof FrontendInterface) {
123123
throw new Exception('No cache frontend has been set yet via setCache().', 1232986818);

Neos.Cache/Classes/Backend/BackendInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function getPrefixedIdentifier(string $entryIdentifier): string;
5757
* @throws \InvalidArgumentException if the identifier is not valid
5858
* @api
5959
*/
60-
public function set(string $entryIdentifier, string $data, array $tags = [], int $lifetime = null): void;
60+
public function set(string $entryIdentifier, string $data, array $tags = [], ?int $lifetime = null): void;
6161

6262
/**
6363
* Loads data from the cache.

Neos.Cache/Classes/Backend/FileBackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function setCache(FrontendInterface $cache): void
148148
* @throws \InvalidArgumentException
149149
* @api
150150
*/
151-
public function set(string $entryIdentifier, string $data, array $tags = [], int $lifetime = null): void
151+
public function set(string $entryIdentifier, string $data, array $tags = [], ?int $lifetime = null): void
152152
{
153153
if ($entryIdentifier !== basename($entryIdentifier)) {
154154
throw new \InvalidArgumentException('The specified entry identifier must not contain a path segment.', 1282073032);

Neos.Cache/Classes/Backend/MemcachedBackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public function getPrefixedIdentifier(string $entryIdentifier): string
199199
* @throws \InvalidArgumentException if the identifier is not valid or the final memcached key is longer than 250 characters
200200
* @api
201201
*/
202-
public function set(string $entryIdentifier, string $data, array $tags = [], int $lifetime = null): void
202+
public function set(string $entryIdentifier, string $data, array $tags = [], ?int $lifetime = null): void
203203
{
204204
if (strlen($this->getPrefixedIdentifier($entryIdentifier)) > 250) {
205205
throw new \InvalidArgumentException('Could not set value. Key more than 250 characters (' . $this->getPrefixedIdentifier($entryIdentifier) . ').', 1232969508);

Neos.Cache/Classes/Backend/MultiBackend.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class MultiBackend extends AbstractBackend
4141
protected ?LoggerInterface $logger = null;
4242
protected ?ThrowableStorageInterface $throwableStorage = null;
4343

44-
public function __construct(EnvironmentConfiguration $environmentConfiguration = null, array $options = [])
44+
public function __construct(?EnvironmentConfiguration $environmentConfiguration = null, array $options = [])
4545
{
4646
parent::__construct($environmentConfiguration, $options);
4747

@@ -96,7 +96,7 @@ protected function buildSubBackend(string $backendClassName, array $backendOptio
9696
/**
9797
* @throws Throwable
9898
*/
99-
public function set(string $entryIdentifier, string $data, array $tags = [], int $lifetime = null): void
99+
public function set(string $entryIdentifier, string $data, array $tags = [], ?int $lifetime = null): void
100100
{
101101
$this->prepareBackends();
102102
foreach ($this->backends as $backend) {

Neos.Cache/Classes/Backend/NullBackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ protected function setProperty(string $propertyName, $propertyValue) : bool
4646
* @return void
4747
* @api
4848
*/
49-
public function set(string $entryIdentifier, string $data, array $tags = [], int $lifetime = null): void
49+
public function set(string $entryIdentifier, string $data, array $tags = [], ?int $lifetime = null): void
5050
{
5151
}
5252

Neos.Cache/Classes/Backend/PdoBackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ protected function setBatchSize(int $batchSize): void
182182
* @throws FilesException
183183
* @api
184184
*/
185-
public function set(string $entryIdentifier, string $data, array $tags = [], int $lifetime = null): void
185+
public function set(string $entryIdentifier, string $data, array $tags = [], ?int $lifetime = null): void
186186
{
187187
$this->connect();
188188

0 commit comments

Comments
 (0)