Skip to content

Require PHP 8.1 and Upgrade to PHPUnit 10 - #47

Open
GromNaN wants to merge 9 commits into
jmikola:masterfrom
GromNaN:modernize
Open

Require PHP 8.1 and Upgrade to PHPUnit 10#47
GromNaN wants to merge 9 commits into
jmikola:masterfrom
GromNaN:modernize

Conversation

@GromNaN

@GromNaN GromNaN commented Oct 15, 2025

Copy link
Copy Markdown

No description provided.

Comment thread tests/CoordinateReferenceSystem/LinkedTest.php Outdated
Comment thread tests/Geometry/PointTest.php
Comment thread tests/BoundingBoxTest.php Outdated
Comment thread src/CoordinateReferenceSystem/CoordinateReferenceSystem.php
use GeoJson\CoordinateReferenceSystem\Linked;
use GeoJson\Exception\UnserializationException;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\Group;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Group actually needed for anything? Likewise in the other test files, as I see it was added but not referenced.

@GromNaN GromNaN Jan 12, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, they were there before I removed the attributes, so I deleted the unnecessary use statements. I tried using SlevomatCodingStandard.Namespaces.UnusedUses, but it also removes use statements that correspond to PHPdoc types.

PHPCS <rule ref=SlevomatCodingStandard.Namespaces.UnusedUses /> is too agressive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants