-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
251 additions
and
5,041 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"release-prefix": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
service_name: travis-ci | ||
service_name: github-actions | ||
|
||
# for php-coveralls | ||
coverage_clover: build/logs/clover.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Tests | ||
on: | ||
push: | ||
schedule: | ||
- cron: "0 0 * * THU" | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
php-versions: ['8.0', '8.1'] | ||
steps: | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-versions }} | ||
tools: composer:v2 | ||
- uses: actions/checkout@v2 | ||
- uses: php-actions/composer@v6 | ||
with: | ||
php_version: ${{ matrix.php-versions }} | ||
version: 2 | ||
- run: XDEBUG_MODE=coverage ./vendor/bin/phpunit | ||
- name: Upload coverage results to Coveralls | ||
env: | ||
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
composer global require php-coveralls/php-coveralls | ||
php-coveralls --coverage_clover=build/logs/clover.xml -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
$finder = \PhpCsFixer\Finder::create() | ||
->exclude('vendor') | ||
->exclude('.sonarlint') | ||
->in(__DIR__); | ||
|
||
$config = new \PhpCsFixer\Config(); | ||
|
||
return $config->setRules([ | ||
'@Symfony' => true, | ||
'array_syntax' => ['syntax' => 'short'], | ||
'phpdoc_align' => ['align' => 'vertical', 'tags' => ['type', 'var']], | ||
]) | ||
->setFinder($finder); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,36 @@ | ||
CHANGELOG | ||
--------- | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
## 0.0.1-alpha (2020-06-12) | ||
- allow conversion of GPS (WGS84) coordinates from/to CH1903/LV03 (MN03) | ||
- allow conversion of GPS (WGS84) coordinates from/to CH1995/LV95 (MN95) | ||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## 0.0.0 (2020-06-12) | ||
- under heavy development | ||
## [Unreleased] | ||
|
||
## [0.0.1] - 2023-07-12 | ||
### Fixed | ||
- fixed deprecations for development | ||
- fixed deprecations for PHP 8.1 | ||
|
||
### Changed | ||
- update changelog following 'keep a changelog' format | ||
- run code-styles Github Actions on PHP 8.1 | ||
- update symfony checker to use new symfonycorp/security-checker-action | ||
- use assertion with Delta on PHPUnit float values | ||
|
||
### Added | ||
- add run of tests on Github Actions | ||
- add coverage to coveralls | ||
|
||
### Removed | ||
- remove Travis integration for tests | ||
- remove StyleCI integration | ||
- remove support for PHP 7.4 | ||
|
||
## [0.0.1-alpha] - 2020-06-12 | ||
### Added | ||
- allow conversion of GPS (WGS84) coordinates from/to CH1903/LV03 (MN03) | ||
- allow conversion of GPS (WGS84) coordinates from/to CH1995/LV95 (MN95) | ||
|
||
[Unreleased]: https://github.com/antistatique/swisstopo/compare/0.0.1...HEAD | ||
[0.0.1]: https://github.com/antistatique/swisstopo/compare/0.0.1-alpha...v0.0.1 | ||
[0.0.1-alpha]: https://github.com/antistatique/swisstopo/releases/tag/0.0.1-alpha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.0.1-alpha | ||
0.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.