Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 92d0f2e

Browse files
Merge branch '3.4'
* 3.4: fix deps=low
2 parents f5aaf4b + 36a2896 commit 92d0f2e

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Csrf/CsrfToken.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ class CsrfToken
2121
private $id;
2222
private $value;
2323

24-
public function __construct(string $id, string $value)
24+
public function __construct(string $id, ?string $value)
2525
{
2626
$this->id = $id;
27-
$this->value = $value;
27+
$this->value = $value ?? '';
2828
}
2929

3030
/**

Csrf/composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
"symfony/security-core": "~3.4|~4.0"
2121
},
2222
"require-dev": {
23-
"symfony/http-foundation": "~3.4|~4.0"
23+
"symfony/http-foundation": "~3.4-beta5|~4.0-beta5"
24+
},
25+
"conflict": {
26+
"symfony/http-foundation": "<3.4-beta5|~4.0,<4.0-beta5"
2427
},
2528
"suggest": {
2629
"symfony/http-foundation": "For using the class SessionTokenStorage."

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"require": {
1919
"php": "^7.1.3",
2020
"symfony/event-dispatcher": "~3.4|~4.0",
21-
"symfony/http-foundation": "~3.4|~4.0",
21+
"symfony/http-foundation": "~3.4-beta5|~4.0-beta5",
2222
"symfony/http-kernel": "~3.4|~4.0",
2323
"symfony/property-access": "~3.4|~4.0"
2424
},

0 commit comments

Comments
 (0)