Skip to content

Commit d6adc4e

Browse files
committed
fix php version in tests
1 parent ac19459 commit d6adc4e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/Stubs/MixedWithLegacy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class MixedWithLegacy
2929
/**
3030
* @var int
3131
*/
32-
public int $long;
32+
public $long;
3333

3434
/**
3535
* MixedWithLegacy constructor.

tests/Symfony/SymfonyMessageSerializerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ static function (Author $author): string
248248
*/
249249
public function legacyPropertiesSupport(): void
250250
{
251-
if (\PHP_VERSION_ID >= 7040)
251+
if (\PHP_VERSION_ID >= 70400)
252252
{
253253
$serializer = new SymfonyMessageSerializer();
254254

@@ -274,7 +274,7 @@ public function legacyPropertiesSupport(): void
274274
*/
275275
public function privateMixedPropertiesSupport(): void
276276
{
277-
if (\PHP_VERSION_ID >= 7040)
277+
if (\PHP_VERSION_ID >= 70400)
278278
{
279279
$serializer = new SymfonyMessageSerializer();
280280

0 commit comments

Comments
 (0)