Skip to content

Commit c9646d2

Browse files
authored
test: Fix the PHP version ID used (#1038)
This is purely informative to avoid confusion;
1 parent ccf574d commit c9646d2

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

tests/SpecFrameworkTest/Fixtures/complete-spec-file.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
'meta' => new Meta(
2020
title: 'Example of simple spec file',
2121
prefix: 'Humbug',
22-
minPhpVersion: 72_000,
23-
maxPhpVersion: 83_000,
22+
minPhpVersion: 70_200,
23+
maxPhpVersion: 80_300,
2424
exposeGlobalConstants: true,
2525
exposeGlobalClasses: true,
2626
exposeGlobalFunctions: true,
@@ -60,8 +60,8 @@
6060

6161
'Spec with overridden meta values' => SpecWithConfig::create(
6262
prefix: 'AnotherPrefix',
63-
minPhpVersion: 73_000,
64-
maxPhpVersion: 82_000,
63+
minPhpVersion: 70_300,
64+
maxPhpVersion: 80_200,
6565
exposeGlobalConstants: false,
6666
exposeGlobalClasses: false,
6767
exposeGlobalFunctions: false,

tests/SpecFrameworkTest/SpecParserTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ public static function specProvider(): iterable
106106
self::FIXTURE_DIR.'/complete-spec-file.php',
107107
[
108108
'Fixtures/complete-spec-file.php: Spec with default meta values' => new SpecScenario(
109-
72_000,
110-
83_000,
109+
70_200,
110+
80_300,
111111
'Fixtures/complete-spec-file.php:39',
112112
'[Example of simple spec file] Spec with default meta values',
113113
$specCode,
@@ -130,8 +130,8 @@ public static function specProvider(): iterable
130130
['Acme\recorded_function', 'Humbug\Acme\recorded_function'],
131131
),
132132
'Fixtures/complete-spec-file.php: Spec with the more verbose form' => new SpecScenario(
133-
72_000,
134-
83_000,
133+
70_200,
134+
80_300,
135135
'Fixtures/complete-spec-file.php:49',
136136
'[Example of simple spec file] Spec with the more verbose form',
137137
$specCode,
@@ -154,8 +154,8 @@ public static function specProvider(): iterable
154154
['Acme\recorded_function', 'Humbug\Acme\recorded_function'],
155155
),
156156
'Fixtures/complete-spec-file.php: Spec with overridden meta values' => new SpecScenario(
157-
73_000,
158-
82_000,
157+
70_300,
158+
80_200,
159159
'Fixtures/complete-spec-file.php:61',
160160
'[Example of simple spec file] Spec with overridden meta values',
161161
$specCode,

tests/SpecFrameworkTest/SpecPrinterTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ public static function scenarioProvider(): iterable
137137

138138
yield 'complete scenario without symbols' => [
139139
new SpecScenario(
140-
72_000,
141-
83_000,
140+
70_200,
141+
80_300,
142142
'Fixtures/complete-spec-file.php',
143143
'[Example of simple spec file] Spec with the more verbose form',
144144
$specCode,
@@ -217,8 +217,8 @@ public static function scenarioProvider(): iterable
217217

218218
yield 'complete scenario with multiple items without symbols' => [
219219
new SpecScenario(
220-
72_000,
221-
83_000,
220+
70_200,
221+
80_300,
222222
'Fixtures/complete-spec-file.php',
223223
'[Example of simple spec file] Spec with the more verbose form',
224224
$specCode,

0 commit comments

Comments
 (0)