Skip to content

Commit

Permalink
Chunk constants into smaller files for PHP versions that support it
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Aug 18, 2024
1 parent 8590ae6 commit 1ad806c
Show file tree
Hide file tree
Showing 12 changed files with 81,195 additions and 40,580 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## [Unreleased]

## [5.9.2] - 2024-08-18
### Changed
- Split declaration of the `Projected::EPSG_*` constants into multiple files internally to aid with static analysis
in IDEs (there are so many, the file defining them was over the max file size analysis threshold for Intelephense)

## [5.9.1] - 2024-08-15
### Changed
- Updates to data for USA and WGS84
Expand Down Expand Up @@ -335,9 +340,11 @@ Initial release of this fork (based off of v2.3 of original)
- Eastings and northings are rounded to 1m, and lat/long to 5dp (approx 1m) to avoid any misconceptions that precision is the same thing as accuracy.
- When calculating surface distances, a more accurate mean radius is now used rather than that derived from historical definitions of a nautical mile

[Unreleased]: https://github.com/dvdoug/PHPCoord/compare/v5.9.0..master
[Unreleased]: https://github.com/dvdoug/PHPCoord/compare/v5.9.2..master

[5.9.0]: https://github.com/dvdoug/PHPCoord/compare/v5.7.0..v5.9.0
[5.9.2]: https://github.com/dvdoug/PHPCoord/compare/v5.9.1..v5.9.2
[5.9.1]: https://github.com/dvdoug/PHPCoord/compare/v5.9.0..v5.9.1
[5.9.0]: https://github.com/dvdoug/PHPCoord/compare/v5.8.0..v5.9.0
[5.8.0]: https://github.com/dvdoug/PHPCoord/compare/v5.7.0..v5.8.0
[5.7.0]: https://github.com/dvdoug/PHPCoord/compare/v5.6.0..v5.7.0
[5.6.0]: https://github.com/dvdoug/PHPCoord/compare/v5.5.0..v5.6.0
Expand Down
4 changes: 2 additions & 2 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ parameters:
path: src/CoordinateOperation/NADCON5Grid.php

-
message: "#^Method PHPCoord\\\\CoordinateReferenceSystem\\\\Projected\\:\\:getDerivingConversion\\(\\) should return string but returns string\\|null\\.$#"
message: "#^Method PHPCoord\\\\CoordinateReferenceSystem\\\\ProjectedBase\\:\\:getDerivingConversion\\(\\) should return string but returns string\\|null\\.$#"
count: 1
path: src/CoordinateReferenceSystem/Projected.php
path: src/CoordinateReferenceSystem/ProjectedBase.php

-
message: "#^Method PHPCoord\\\\Datum\\\\Datum\\:\\:getEllipsoid\\(\\) should return PHPCoord\\\\Datum\\\\Ellipsoid but returns PHPCoord\\\\Datum\\\\Ellipsoid\\|null\\.$#"
Expand Down
Loading

0 comments on commit 1ad806c

Please sign in to comment.