Skip to content

Commit d6d0b56

Browse files
authored
Drop 7.3 and run 8.1 and 8.2 in the pipeline (#1023)
* Bump min php version to 7.4 * Fix JSON tests * Removing dynamic properties * Fix test case * Fixed badly named abstract test case * Fix dynamic propeerty * Drop 7.3 in github actions * Aply CS fixer * Drupl phpunit 8.5 * Update CL
1 parent 532fdc8 commit d6d0b56

42 files changed

Lines changed: 213 additions & 38 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yaml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
php-version:
23-
- '7.3'
23+
- '7.4'
2424

2525
steps:
2626
-
@@ -34,7 +34,6 @@ jobs:
3434
coverage: "none"
3535
php-version: "${{ matrix.php-version }}"
3636
tools: composer:v2
37-
3837
-
3938
name: "Validate composer.json"
4039
run: "composer validate --strict --no-check-lock"
@@ -50,7 +49,7 @@ jobs:
5049
strategy:
5150
matrix:
5251
php-version:
53-
- '7.3'
52+
- '7.4'
5453

5554
steps:
5655
-
@@ -87,7 +86,7 @@ jobs:
8786
strategy:
8887
matrix:
8988
php-version:
90-
- '7.3'
89+
- '7.4'
9190

9291
steps:
9392
-
@@ -126,26 +125,21 @@ jobs:
126125
strategy:
127126
matrix:
128127
php-version:
129-
- '7.3'
130128
- '7.4'
131129
- '8.0'
130+
- '8.1'
131+
- '8.2'
132132
dependency:
133133
- 'lowest'
134134
- 'highest'
135135
with-examples: ['yes']
136136
allow-failures: [false]
137137
include:
138-
- php-version: '7.3'
138+
- php-version: '7.4'
139139
dependency: 'lowest'
140140
with-examples: 'no'
141141
allow-failures: false
142142
coverage: xdebug
143-
- php-version: '8.1'
144-
dependency: 'highest'
145-
with-examples: 'no'
146-
allow-failures: true
147-
coverage: xdebug
148-
skip_xdebug_tests: "true"
149143

150144
steps:
151145
- name: "Checkout code"

.github/workflows/release-phar.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
with:
1616
fetch-depth: 0
1717

18-
- name: Set PHP 7.3
18+
- name: Set PHP 7.4
1919
uses: shivammathur/setup-php@v2
2020
with:
21-
php-version: '7.3'
21+
php-version: '7.4'
2222

2323
-
2424
name: "Composer install"

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ Bug fixes:
88

99
- Fix PHP 8.2 deprecation warning #1022
1010

11+
Improvements:
12+
13+
- Drop support for 7.3 and support for 8.1 and 8.2 in the pipeline.
14+
1115
1.2.8
1216
-----
1317

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"minimum-stability": "stable",
1212
"prefer-stable": true,
1313
"require": {
14-
"php": "^7.3 || ^8.0",
14+
"php": "^7.4 || ^8.0",
1515
"ext-dom": "*",
1616
"ext-json": "*",
1717
"ext-pcre": "*",
@@ -38,7 +38,7 @@
3838
"phpstan/phpstan-phpunit": "^1.0",
3939
"jangregor/phpstan-prophecy": "^1.0",
4040
"phpstan/extension-installer": "^1.1",
41-
"phpunit/phpunit": "^8.5.8 || ^9.0",
41+
"phpunit/phpunit": "^9.0",
4242
"symfony/error-handler": "^5.2 || ^6.0",
4343
"symfony/var-dumper": "^4.0 || ^5.0 || ^6.0"
4444
},

lib/Benchmark/Metadata/Annotations/AbstractArrayAnnotation.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
/**
1616
* @Attributes({
17+
*
1718
* @Attribute("extend", required = true, type="boolean"),
1819
* })
1920
*/

lib/Benchmark/Metadata/Annotations/AbstractMethodsAnnotation.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414

1515
/**
1616
* @Taget({"METHOD", "CLASS"})
17+
*
1718
* @Attributes({
19+
*
1820
* @Attribute("value", required = true, type = "array"),
1921
* })
2022
*/

lib/Benchmark/Metadata/Annotations/Assert.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
* @Annotation
1717
*
1818
* @Taget({"METHOD", "CLASS"})
19+
*
1920
* @Attributes({
21+
*
2022
* @Attribute("value", required = true, type="string")
2123
* })
2224
*/

lib/Benchmark/Metadata/Annotations/BeforeClassMethods.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
* @Annotation
1717
*
1818
* @Taget({"CLASS"})
19+
*
1920
* @Attributes({
21+
*
2022
* @Attribute("value", required = true, type = "array"),
2123
* })
2224
*/

lib/Benchmark/Metadata/Annotations/Groups.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
* @Annotation
1717
*
1818
* @Taget({"METHOD", "CLASS"})
19+
*
1920
* @Attributes({
21+
*
2022
* @Attribute("value", required = true, type="array"),
2123
* })
2224
*/

lib/Benchmark/Metadata/Annotations/Iterations.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
* @Annotation
1717
*
1818
* @Taget({"METHOD", "CLASS"})
19+
*
1920
* @Attributes({
21+
*
2022
* @Attribute("value", required = true, type="mixed")
2123
* })
2224
*/

0 commit comments

Comments
 (0)