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

Update from original repo #1

Open
wants to merge 73 commits into
base: master
Choose a base branch
from

Conversation

michiel-van-den-anker
Copy link
Owner

No description provided.

trin4ik and others added 30 commits December 12, 2022 17:41
* create geometry from array (serialized geometry)

* fromArray method, tests

* documentation, move tests, typo fix, etc
* Add a manual casting function, fixes #69

* Requested changes for #70

* Update .run/Test.run.xml

Co-authored-by: Matan Yadaev <[email protected]>

* Update API.md

Co-authored-by: Matan Yadaev <[email protected]>

* Update tests/Objects/GeometryTest.php

Co-authored-by: Matan Yadaev <[email protected]>

* Update tests/Objects/GeometryTest.php

Co-authored-by: Matan Yadaev <[email protected]>

* Use expression generator in cast and builder, see #70

Co-authored-by: Matan Yadaev <[email protected]>
* Reusable trait rather than adding a method

* corrections from PR review
- update readme instruction
- restore phpdoc ide hint
- trailing newline for phpcs

* Add HasSpatial trait #75
- typo & cs-fixer fix

* Update README.md

Co-authored-by: Matan Yadaev <[email protected]>
* add php8.2 to workflows

* make php-cs-fixer work on php8.2

Co-authored-by: Matan Yadaev <[email protected]>
* Bump dependencies for Laravel 10

* Update GitHub Actions for Laravel 10

* Format composer.json

* Fix for Laravel 10

* Drop support for Laravel 8 and php 8.0

* fixes

* fixes

* Fix test

* Support Laravel 9

* Support Laravel 10 only

* Use getters

---------

Co-authored-by: Shift <[email protected]>
Co-authored-by: Matan Yadaev <[email protected]>
…hods (#76)

* Add Expression typehint to support DB::raw

* Support DB::raw & geometry everywhere, add tests

* Update tests for laravel 10

* Update docs, fix style
* add test

* Fix

---------

Co-authored-by: Matan Yadaev <[email protected]>
* Add SRID Enum

* update enum definitions

* Change namespace

* Rename to Srid

* Remove doc block
* upgrade to pest 2

* Fix PHPStan

---------

Co-authored-by: Matan Yadaev <[email protected]>
yinx and others added 30 commits January 18, 2024 15:37
* Allow srid enum as srid property aside from integer

* Updated class signatures in API.md

* Update to API.md + changes api function signature to allow srid enum

* fix linting

---------

Co-authored-by: Philippe Damen <[email protected]>
* Add php 8.3 support

* Fix faker deprecation issue
* wip

* wip

* fix postgres ci

* fixes

* backward compatibility

* fixes

* fixes

* fixes

* fixes

* fixes

* fix ci

* fix ci

* fixes

* fix ci

* fix coverage

* fixes

* reduce ci jobs

* fix mariadb

* fix postgres

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* fix ci

* ci test

* ci test

* fix tests

* fix tests

* fixes

* fixes

* fixes

* ci test

* ci test

* ci test

* ci test

* ci test

* ci test

* ci test

* ci test

* ci test

* ci test

* ci test

* ci test

* ci test
* migration

* automated fixes
* add laravel 11 to the ci

* add version-specific migrations

* ignore doctrine on laravel 11

* support testing mariadb locally

* update readme

* use DatabaseTransactions

* change files to 4 spaces

* ci fixes

* ci fixes

* ci fixes

* ci fixes

* ci fixes

* ci fixes

* ci fixes

* ci fixes

* ci fixes

* ci fixes

* ci fixes

* ci fixes

* ci fixes
* add ability to extend the geometry classes with custom geometry classes

* added tests

* fix phpstan issues

* updated readme

* updated readme with custom class for casts

* fixed pint issues

* added migration for L10

* fixes

* fixes

---------

Co-authored-by: Matan Yadaev <[email protected]>
* fix geometry types

* fixes
* Add test case to illustrate problems with regex to convert WKT to geometry

* Adjust GeometryCast regex to support geometry expression without SRID

* Formatting
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.