Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop PHP 8.0 #840

Merged
merged 1 commit into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
name: "PHPUnit"
uses: "doctrine/.github/.github/workflows/[email protected]"
with:
php-versions: '["8.0", "8.1", "8.2", "8.3"]'
php-versions: '["8.1", "8.2", "8.3"]'
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
],
"homepage": "http://www.doctrine-project.org/",
"require": {
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"composer-runtime-api": "^2.0",
"composer/semver": "^3.0",
"doctrine/annotations": "^1.13.3 || ^2",
Expand Down
4 changes: 2 additions & 2 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<arg name="cache" value=".phpcs.cache"/>
<arg name="colors"/>

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

<!-- Ignore warnings, show progress of the run and show sniff names -->
<arg value="nps"/>
Expand Down
3 changes: 1 addition & 2 deletions tests/Form/Element/ProxyAwareElementTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@

class ProxyAwareElementTestCase extends TestCase
{
/** @var MockObject&ClassMetadata */
protected $metadata;
protected MockObject&ClassMetadata $metadata;

protected Element $element;

Expand Down
3 changes: 1 addition & 2 deletions tests/Form/Element/ProxyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
*/
class ProxyTest extends TestCase
{
/** @var MockObject&ClassMetadata */
protected $metadata;
protected MockObject&ClassMetadata $metadata;

protected Proxy $proxy;

Expand Down
2 changes: 1 addition & 1 deletion tests/Paginator/Adapter/SelectableAdapterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function testReturnsCorrectCount(): void
static fn (Criteria $criteria) => $criteria->getWhereExpression() === $expression
&& ($criteria->getOrderings() === ['baz' => Criteria::DESC])
&& $criteria->getFirstResult() === null
&& $criteria->getMaxResults() === null
&& $criteria->getMaxResults() === null,
),
)
->will($this->returnValue(new ArrayCollection(range(1, 101))));
Expand Down