Skip to content

Commit d97f9ab

Browse files
committed
Merge branch '4.3' into 4.4
2 parents 64eaf7e + 205cd7a commit d97f9ab

File tree

7 files changed

+8
-22
lines changed

7 files changed

+8
-22
lines changed

UPGRADE-4.3.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,19 +234,19 @@ Workflow
234234
```yaml
235235
framework:
236236
workflows:
237-
type: workflow
238237
article:
238+
type: workflow
239239
marking_store:
240-
type: multiple
240+
type: multiple_state
241241
arguments: states
242242
```
243243

244244
After:
245245
```yaml
246246
framework:
247247
workflows:
248-
type: workflow
249248
article:
249+
type: workflow
250250
marking_store:
251251
type: method
252252
property: states
@@ -267,8 +267,8 @@ Workflow
267267
```yaml
268268
framework:
269269
workflows:
270-
type: state_machine
271270
article:
271+
type: state_machine
272272
marking_store:
273273
type: method
274274
property: state

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@
100100
use Symfony\Component\Serializer\Encoder\EncoderInterface;
101101
use Symfony\Component\Serializer\Mapping\ClassDiscriminatorFromClassMetadata;
102102
use Symfony\Component\Serializer\Normalizer\ConstraintViolationListNormalizer;
103-
use Symfony\Component\Serializer\Normalizer\DateIntervalNormalizer;
104103
use Symfony\Component\Serializer\Normalizer\DenormalizerInterface;
105104
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
106105
use Symfony\Component\Stopwatch\Stopwatch;
@@ -227,7 +226,7 @@ public function load(array $configs, ContainerBuilder $container)
227226

228227
if ($this->isConfigEnabled($container, $config['session'])) {
229228
if (!\extension_loaded('session')) {
230-
throw new \LogicException('PHP extension "session" is required.');
229+
throw new LogicException('Session support cannot be enabled as the session extension is not installed. See https://www.php.net/session.installation for instructions.');
231230
}
232231

233232
$this->sessionConfigEnabled = true;
@@ -1435,10 +1434,6 @@ private function registerSerializerConfiguration(array $config, ContainerBuilder
14351434
{
14361435
$loader->load('serializer.xml');
14371436

1438-
if (!class_exists(DateIntervalNormalizer::class)) {
1439-
$container->removeDefinition('serializer.normalizer.dateinterval');
1440-
}
1441-
14421437
if (!class_exists(ConstraintViolationListNormalizer::class)) {
14431438
$container->removeDefinition('serializer.normalizer.constraint_violation_list');
14441439
}

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,10 +1199,6 @@ public function testDataUriNormalizerRegistered()
11991199

12001200
public function testDateIntervalNormalizerRegistered()
12011201
{
1202-
if (!class_exists(DateIntervalNormalizer::class)) {
1203-
$this->markTestSkipped('The DateIntervalNormalizer has been introduced in the Serializer Component version 3.4.');
1204-
}
1205-
12061202
$container = $this->createContainerFromFile('full');
12071203

12081204
$definition = $container->getDefinition('serializer.normalizer.dateinterval');

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Fixtures/php/merge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
$this->load('merge_import.php', $container);
3+
$this->load('merge_import.php');
44

55
$container->loadFromExtension('security', [
66
'providers' => [

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Fixtures/php/sodium_encoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
$this->load('container1.php', $container);
3+
$this->load('container1.php');
44

55
$container->loadFromExtension('security', [
66
'encoders' => [

src/Symfony/Component/Security/Guard/AbstractGuardAuthenticator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ abstract class AbstractGuardAuthenticator implements AuthenticatorInterface
2525
* Shortcut to create a PostAuthenticationGuardToken for you, if you don't really
2626
* care about which authenticated token you're using.
2727
*
28-
* @param UserInterface $user
29-
* @param string $providerKey
28+
* @param string $providerKey
3029
*
3130
* @return PostAuthenticationGuardToken
3231
*/

src/Symfony/Component/Security/Guard/AuthenticatorInterface.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ interface AuthenticatorInterface extends AuthenticationEntryPointInterface
3737
*
3838
* If this returns false, the authenticator will be skipped.
3939
*
40-
* @param Request $request
41-
*
4240
* @return bool
4341
*/
4442
public function supports(Request $request);
@@ -60,8 +58,6 @@ public function supports(Request $request);
6058
*
6159
* return ['api_key' => $request->headers->get('X-API-TOKEN')];
6260
*
63-
* @param Request $request
64-
*
6561
* @return mixed Any non-null value
6662
*
6763
* @throws \UnexpectedValueException If null is returned

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy