Skip to content

Commit 75dc3e4

Browse files
authored
Merge pull request #840 from driehle/drop-php80
Drop PHP 8.0
2 parents 905d493 + 4518100 commit 75dc3e4

File tree

6 files changed

+7
-9
lines changed

6 files changed

+7
-9
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
name: "PHPUnit"
1414
uses: "doctrine/.github/.github/workflows/continuous-integration.yml@2.1.0"
1515
with:
16-
php-versions: '["8.0", "8.1", "8.2", "8.3"]'
16+
php-versions: '["8.1", "8.2", "8.3"]'

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
],
3737
"homepage": "http://www.doctrine-project.org/",
3838
"require": {
39-
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
39+
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
4040
"composer-runtime-api": "^2.0",
4141
"composer/semver": "^3.0",
4242
"doctrine/annotations": "^1.13.3 || ^2",

phpcs.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<arg name="cache" value=".phpcs.cache"/>
77
<arg name="colors"/>
88

9-
<!-- set minimal required PHP version (8.0) -->
10-
<config name="php_version" value="80000"/>
9+
<!-- set minimal required PHP version (8.1) -->
10+
<config name="php_version" value="80100"/>
1111

1212
<!-- Ignore warnings, show progress of the run and show sniff names -->
1313
<arg value="nps"/>

tests/Form/Element/ProxyAwareElementTestCase.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121

2222
class ProxyAwareElementTestCase extends TestCase
2323
{
24-
/** @var MockObject&ClassMetadata */
25-
protected $metadata;
24+
protected MockObject&ClassMetadata $metadata;
2625

2726
protected Element $element;
2827

tests/Form/Element/ProxyTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
*/
2929
class ProxyTest extends TestCase
3030
{
31-
/** @var MockObject&ClassMetadata */
32-
protected $metadata;
31+
protected MockObject&ClassMetadata $metadata;
3332

3433
protected Proxy $proxy;
3534

tests/Paginator/Adapter/SelectableAdapterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public function testReturnsCorrectCount(): void
153153
static fn (Criteria $criteria) => $criteria->getWhereExpression() === $expression
154154
&& ($criteria->getOrderings() === ['baz' => Criteria::DESC])
155155
&& $criteria->getFirstResult() === null
156-
&& $criteria->getMaxResults() === null
156+
&& $criteria->getMaxResults() === null,
157157
),
158158
)
159159
->will($this->returnValue(new ArrayCollection(range(1, 101))));

0 commit comments

Comments
 (0)