Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bd04cda

Browse filesBrowse files
Merge branch '6.3' into 6.4
* 6.3: [Validator] Fix tests [VarDumper] fix test
2 parents 0458c9b + 0f3e24c commit bd04cda
Copy full SHA for bd04cda

File tree

7 files changed

+7
-7
lines changed
Filter options

7 files changed

+7
-7
lines changed

‎src/Symfony/Component/Validator/Tests/Fixtures/Annotation/Entity.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Fixtures/Annotation/Entity.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class Entity extends EntityParent implements EntityInterfaceB
5858
/**
5959
* @Assert\Type("integer")
6060
*/
61-
protected $other;
61+
protected ?int $other;
6262

6363
public function __construct($internal = null)
6464
{

‎src/Symfony/Component/Validator/Tests/Fixtures/Annotation/EntityParent.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Fixtures/Annotation/EntityParent.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class EntityParent implements EntityInterfaceA
2424
/**
2525
* @NotNull
2626
*/
27-
protected $other;
27+
protected ?int $other;
2828

2929
public function getData()
3030
{

‎src/Symfony/Component/Validator/Tests/Fixtures/Attribute/Entity.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Fixtures/Attribute/Entity.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class Entity extends EntityParent implements EntityInterfaceB
5858
public $data = 'Overridden data';
5959
public $initialized = false;
6060
#[Assert\Type('integer')]
61-
protected $other;
61+
protected ?int $other;
6262

6363
public function __construct($internal = null)
6464
{

‎src/Symfony/Component/Validator/Tests/Fixtures/Attribute/EntityParent.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Fixtures/Attribute/EntityParent.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class EntityParent implements EntityInterfaceA
2222
private $child;
2323

2424
#[NotNull]
25-
protected $other;
25+
protected ?int $other;
2626

2727
public function getData()
2828
{

‎src/Symfony/Component/Validator/Tests/Fixtures/NestedAttribute/Entity.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Fixtures/NestedAttribute/Entity.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class Entity extends EntityParent implements EntityInterfaceB
7979
public $data = 'Overridden data';
8080
public $initialized = false;
8181
#[Assert\Type('integer')]
82-
protected $other;
82+
protected ?int $other;
8383

8484
public function __construct($internal = null)
8585
{

‎src/Symfony/Component/Validator/Tests/Fixtures/NestedAttribute/EntityParent.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Fixtures/NestedAttribute/EntityParent.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class EntityParent implements EntityInterfaceA
2222
private $child;
2323

2424
#[NotNull]
25-
protected $other;
25+
protected ?int $other;
2626

2727
public function getData()
2828
{

‎src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public function testCastNonTrailingCharPointer()
213213
\FFI::memcpy($pointer, $actualMessage, $actualLength);
214214

215215
// Remove automatically addition of the trailing "\0" and remove trailing "\0"
216-
$pointer = \FFI::cdef()->cast('char*', \FFI::cast('void*', $pointer));
216+
$pointer = \FFI::cdef()->cast('char*', \FFI::cdef()->cast('void*', $pointer));
217217
$pointer[$actualLength] = "\x01";
218218

219219
$this->assertDumpMatchesFormat(<<<PHP

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.