This repository has been archived by the owner on Aug 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
82f23d6
commit 4d3bc07
Showing
39 changed files
with
385 additions
and
203 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,52 @@ | ||
version: 2.1 | ||
|
||
executors: | ||
php81: | ||
docker: | ||
- image: cimg/php:8.1 | ||
resource_class: small | ||
php82: | ||
docker: | ||
- image: cimg/php:8.2 | ||
resource_class: small | ||
|
||
jobs: | ||
analyse: | ||
executor: php82 | ||
steps: | ||
- checkout | ||
- run: composer update | ||
- run: composer analyse | ||
coverage: | ||
executor: php82 | ||
steps: | ||
- run: sudo pecl install pcov | ||
- checkout | ||
- run: composer update | ||
- run: composer coverage | ||
lint: | ||
executor: php82 | ||
steps: | ||
- checkout | ||
- run: composer update | ||
- run: composer lint | ||
test: | ||
parameters: | ||
php_executor: | ||
type: string | ||
executor: << parameters.php_executor >> | ||
steps: | ||
- checkout | ||
- run: composer update | ||
- run: composer test | ||
|
||
workflows: | ||
analyse_lint_test_coverage: | ||
jobs: | ||
- analyse | ||
- coverage | ||
- lint | ||
- test: | ||
matrix: | ||
parameters: | ||
php_executor: [php81, php82] |
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,20 +1,5 @@ | ||
# composer | ||
/.idea/ | ||
/.php-cs-fixer.cache | ||
/.phpunit.cache/ | ||
/composer.lock | ||
/vendor/ | ||
composer.lock | ||
|
||
# tests | ||
phpunit.xml | ||
clover.xml | ||
coverage* | ||
.phpunit.result.cache | ||
|
||
# system | ||
.DS_Store | ||
|
||
# editors | ||
.idea | ||
*.swp | ||
|
||
# lint | ||
.php_cs.cache | ||
.php_cs |
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,10 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use PhpCsFixer\Config; | ||
use PhpCsFixer\Finder; | ||
|
||
return (new Config()) | ||
->setFinder((new Finder())->in(__DIR__)) | ||
->setRules(['@PSR12' => true]); |
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,46 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
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). | ||
|
||
## [Unreleased] | ||
|
||
## [v2.0.0] - 2023-09-22 | ||
|
||
### Added | ||
|
||
- Added support for Laravel 10. | ||
|
||
### Changed | ||
|
||
- Changed the `HealthEngine` namespace to `Healthengine`. | ||
|
||
### Removed | ||
|
||
- Removed support for Laravel 6. | ||
- Removed support for Laravel 7. | ||
- Removed support for Laravel 8. | ||
- Removed support for Laravel 9. | ||
|
||
## [v1.0.0] - 2021-06-10 | ||
|
||
## [v0.5.0] - 2021-05-21 | ||
|
||
## [v0.4.1] - 2021-04-07 | ||
|
||
## [v0.3.0] - 2021-04-07 | ||
|
||
## [v0.2.0] - 2021-04-07 | ||
|
||
## [v0.1.0] - 2021-04-07 | ||
|
||
[unreleased]: https://github.com/HealthEngineAU/laravel-i18n/compare/v2.0.0...HEAD | ||
[v2.0.0]: https://github.com/HealthEngineAU/laravel-i18n/compare/1.0.0...v2.0.0 | ||
[v1.0.0]: https://github.com/HealthEngineAU/laravel-i18n/compare/0.5.0...1.0.0 | ||
[v0.5.0]: https://github.com/HealthEngineAU/laravel-i18n/compare/0.4.1...0.5.0 | ||
[v0.4.1]: https://github.com/HealthEngineAU/laravel-i18n/compare/0.3.0...0.4.1 | ||
[v0.3.0]: https://github.com/HealthEngineAU/laravel-i18n/compare/0.2.0...0.3.0 | ||
[v0.2.0]: https://github.com/HealthEngineAU/laravel-i18n/compare/0.1.0...0.2.0 | ||
[v0.1.0]: https://github.com/HealthEngineAU/laravel-i18n/releases/tag/0.1.0 |
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,6 @@ | ||
# Upgrade | ||
|
||
## From 1.x to 2.x | ||
|
||
- Replace `HealthEngine\I18n` references with `Healthengine\I18n`. | ||
- Be prepared for invalid configuration/translation files to start throwing exceptions. |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,6 @@ | ||
parameters: | ||
level: 9 | ||
paths: | ||
- src | ||
stubFiles: | ||
- stubs/Illuminate_Contracts_Translation_Translator.stub |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" | ||
bootstrap="vendor/autoload.php" | ||
cacheDirectory=".phpunit.cache" | ||
displayDetailsOnTestsThatTriggerDeprecations="true" | ||
displayDetailsOnTestsThatTriggerErrors="true" | ||
displayDetailsOnTestsThatTriggerNotices="true" | ||
displayDetailsOnTestsThatTriggerWarnings="true" | ||
executionOrder="depends,defects" | ||
requireCoverageMetadata="true" | ||
beStrictAboutCoverageMetadata="true" | ||
beStrictAboutOutputDuringTests="true" | ||
failOnRisky="true" | ||
failOnWarning="true"> | ||
<testsuites> | ||
<testsuite name="default"> | ||
<directory>tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true"> | ||
<include> | ||
<directory>src</directory> | ||
</include> | ||
</source> | ||
</phpunit> |
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
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.