Repository navigation
Migrate legacy EWKT tests, document decoding, and support curved geometries - #46
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #46 +/- ##
=========================================
Coverage 99.43% 99.43%
Complexity 252 252
=========================================
Files 31 31
Lines 534 534
=========================================
Hits 531 531
Misses 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Independent review — CHANGES REQUIREDReviewed revision: BLOCKING findings
Verification and pre-merge Definition of Done
NON-BLOCKING observationThe PR description says story #14 is Blocked, but GitHub Projects currently shows In review. Update that statement for accuracy. Final outcome: CHANGES REQUIRED. This is a review outcome, not an Issue status or declaration of Done. |
929dceb to
ab77f0a
Compare
Independent review — READY FOR MERGEReviewed and rechecked remote HEAD: No blocking finding or unresolved gate remains for the current PR diff and the Product Owner's approved decisions. This review supersedes my earlier CHANGES REQUIRED assessment of older revisions. Acceptance criteria and approved decisions
Independent validation
The working tree was clean before and after verification, and local HEAD matched remote HEAD. Checks were run without applying code fixes. Local PHPMD dependencies emit PHP 8.5 deprecation notices but return success. The applicable pre-merge Definition of Done has been considered: acceptance criteria with the explicit approved lexical exception, compatibility scope, automated coverage, required quality checks, CI, documentation, independent review and final revision correspondence are satisfied. Governance, architecture, serialization and spatial standards guidance were applied; this remaining diff introduces no new spatial semantics. Non-blocking observationThe PR description still describes older failures, the old legacy directory, production changes now in main, and a Blocked project status. It should be refreshed for accuracy; current story status is In review. This does not change the verified implementation result. Final outcome: READY FOR MERGE. This is not a declaration that story #14 is Done. Alexandre's merge decision and post-merge Definition of Done verification remain outstanding. No merge was performed. |
…and improve exception message assertions tests: update exception messages for WKT parsing and geometry validation tests: update exception messages for unimplemented spatial types in legacy tests feat: decode CircularString in WKT and EWKT tests: update legacy tests to maintain float values and improve exception messages feat: decode CircularString in WKT and EWKT tests: update legacy exception tests to reflect implemented geometry types refactor: update type hints for coordinates to include float in legacy tests refactor: update exception handling in SpecificTestCase to use custom InvalidCoordinateException refactor: enhance test cases with detailed descriptions and setup/teardown methods docs: explain historical EWKT test adaptations docs: update legacy EWKT test expectations and exception handling descriptions refactor: suppress PHPMD warning for excessive method length in tokenData method
b65a864 to
95102b9
Compare
This migrates legacy EWKT parser scenarios to the public decoder API and documents decoding capabilities. The branch also adds CircularString and CompoundCurve decoding for WKT/EWKT, corrects WKT collection dimension inheritance, and updates spatial-types to 1.0.0-beta.
Closes #14.
Changes
tests/Legacy/, included by the standard PHPUnit suite.Validation
composer test: passed, 652 tests and 4,389 assertions (PHP 8.5.11).git diff --check: passed.composer quality: failed. PHP CS Fixer identified formatting changes in eight legacy files; PHPStan then reported six errors intests/Legacy/CircularStringTest.phpandtests/Legacy/Utils/SpecificTestCase.php. Later quality steps were not reached. Automatic formatting edits from this verification were reverted so the published branch remains unchanged.Items for independent review
tests/Legacy/EwktParser/, whereas this branch usestests/Legacy/.The PR is published for independent assessment; it is not a claim that the pre-merge Definition of Done is satisfied.