File: 0001-Drop-last-data-set-causing-tests-to-fail-on-32-bit-a.patch

package info (click to toggle)
php-phpstan-phpdoc-parser 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,476 kB
  • sloc: php: 21,156; makefile: 50; xml: 42; sh: 17
file content (24 lines) | stat: -rw-r--r-- 783 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Sat, 29 Oct 2022 10:47:52 +0200
Subject: Drop last data set causing tests to fail on 32-bit arch

---
 tests/PHPStan/Parser/ConstExprParserTest.php | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tests/PHPStan/Parser/ConstExprParserTest.php b/tests/PHPStan/Parser/ConstExprParserTest.php
index 18922e8..f823674 100644
--- a/tests/PHPStan/Parser/ConstExprParserTest.php
+++ b/tests/PHPStan/Parser/ConstExprParserTest.php
@@ -333,11 +333,6 @@ class ConstExprParserTest extends TestCase
 			'"\u{1f601}"',
 			new ConstExprStringNode("\u{1f601}", ConstExprStringNode::DOUBLE_QUOTED),
 		];
-
-		yield [
-			'"\u{ffffffff}"',
-			new ConstExprStringNode("\u{fffd}", ConstExprStringNode::DOUBLE_QUOTED),
-		];
 	}