This repository has been archived by the owner on Aug 29, 2024. It is now read-only.
forked from Superbalist/laravel-prometheus-exporter
-
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.
- Added support for Laravel 10. - Added support for PHP 8.2. - Removed support for Laravel 8. - Removed support for Laravel 9. - Removed support for PHP 8.0.
- Loading branch information
1 parent
8a7969e
commit fee3a4b
Showing
12 changed files
with
222 additions
and
213 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 |
---|---|---|
@@ -1,48 +1,51 @@ | ||
version: 2.1 | ||
|
||
executors: | ||
php80: | ||
docker: | ||
- image: cimg/php:8.0 | ||
php81: | ||
docker: | ||
- image: cimg/php:8.1 | ||
php82: | ||
docker: | ||
- image: cimg/php:8.2 | ||
|
||
jobs: | ||
lint: | ||
executor: php82 | ||
steps: | ||
- checkout | ||
- run: composer update | ||
- run: composer lint | ||
test: | ||
parameters: | ||
php-executor: | ||
php_executor: | ||
type: string | ||
executor: << parameters.php-executor >> | ||
executor: << parameters.php_executor >> | ||
steps: | ||
- checkout | ||
- run: printf "\n" | sudo pecl install apcu redis | ||
- run: echo 'apc.enable_cli=1' | sudo tee -a /etc/php.d/circleci.ini | ||
- restore_cache: | ||
keys: | ||
- v1-<< parameters.php-executor >>-dependencies-lowest-{{ checksum "composer.json" }} | ||
- v1-<< parameters.php-executor >>-dependencies-lowest- | ||
- run: composer update --prefer-lowest | ||
- save_cache: | ||
key: v1-<< parameters.php-executor >>-dependencies-lowest-{{ checksum "composer.json" }} | ||
paths: | ||
- ./vendor | ||
- run: composer test | ||
- restore_cache: | ||
keys: | ||
- v1-<< parameters.php-executor >>-dependencies-highest-{{ checksum "composer.json" }} | ||
- v1-<< parameters.php-executor >>-dependencies-highest- | ||
- run: composer update | ||
- save_cache: | ||
key: v1-<< parameters.php-executor >>-dependencies-highest-{{ checksum "composer.json" }} | ||
paths: | ||
- ./vendor | ||
- run: composer test | ||
coverage: | ||
executor: php82 | ||
steps: | ||
- run: printf "\n" | sudo pecl install apcu redis | ||
- run: echo 'apc.enable_cli=1' | sudo tee -a /etc/php.d/circleci.ini | ||
- run: sudo -E pecl install pcov && sudo -E docker-php-ext-enable pcov | ||
- checkout | ||
- run: composer update | ||
- run: composer coverage | ||
|
||
workflows: | ||
all-tests: | ||
lint_test_coverage: | ||
jobs: | ||
- lint | ||
- test: | ||
matrix: | ||
parameters: | ||
php-executor: [php80, php81] | ||
php_executor: [php81, php82] | ||
- coverage: | ||
requires: | ||
- test |
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 @@ | ||
root = true | ||
|
||
[*] | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.yml] | ||
indent_size = 2 |
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,5 @@ | ||
.idea | ||
.php-cs-fixer.cache | ||
.phpunit.cache | ||
composer.lock | ||
phpunit.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
return (new PhpCsFixer\Config()) | ||
->setRules(['@PSR12' => true]) | ||
->setFinder( | ||
PhpCsFixer\Finder::create() | ||
->in(__DIR__) | ||
->exclude('vendor') | ||
); |
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,97 @@ | ||
# 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.1.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [v4.0.0] - 2023-09-11 | ||
|
||
### Added | ||
|
||
- Added support for Laravel 10. | ||
- Added support for PHP 8.2. | ||
|
||
### Removed | ||
|
||
- Removed support for Laravel 8. | ||
- Removed support for Laravel 9. | ||
- Removed support for PHP 8.0. | ||
|
||
## [v3.0.0] - 2023-02-10 | ||
|
||
### Added | ||
|
||
- Add support for Laravel 9. | ||
- Add support for PHP 8.1. | ||
|
||
### Changed | ||
|
||
- Swap build provider from Travis CI to Circle CI. | ||
|
||
### Removed | ||
|
||
- Drop support for PHP 7.4. | ||
- Drop support for Laravel 7. | ||
- Remove `orchestra/testbench` from development dependencies. | ||
|
||
## [v2.0.1] - 2022-02-10 | ||
|
||
## [v2.0.0] - 2022-02-10 | ||
|
||
## [v2.0.0-BETA1] - 2022-02-10 | ||
|
||
## [v2.0] - 2022-02-10 | ||
|
||
## [v1.0.6] - 2022-01-12 | ||
|
||
## [v1.0.5] - 2020-03-16 | ||
|
||
### Changed | ||
|
||
- Update call to array_get helper to use the Illuminate\Support\Arr class | ||
- Enable Laravel 7 compatability | ||
|
||
## [v1.0.4] - 2019-10-17 | ||
|
||
### Changed | ||
|
||
- Enable Laravel 6.0 compatability | ||
|
||
## [v1.0.3] - 2019-02-11 | ||
|
||
### Changed | ||
|
||
- Enable package discovery for laravel 5.5+ | ||
|
||
## [v1.0.2] - 2019-01-16 | ||
|
||
### Added | ||
|
||
- Add compatability with Laravel Lumen (make named route configurable) | ||
|
||
## [v1.0.1] - 2017-08-30 | ||
|
||
### Fixed | ||
|
||
- Fix config retrieval of `prometheus.storage_adapters` | ||
|
||
## [v1.0.0] - 2017-07-27 | ||
|
||
### Added | ||
|
||
- Initial release | ||
|
||
[v4.0.0]: https://github.com/HealthEngineAU/laravel-prometheus-exporter/compare/v3.0.0...v4.0.0 | ||
[v3.0.0]: https://github.com/HealthEngineAU/laravel-prometheus-exporter/compare/v2.0.1...v3.0.0 | ||
[v2.0.1]: https://github.com/HealthEngineAU/laravel-prometheus-exporter/compare/v2.0.0...v2.0.1 | ||
[v2.0.0]: https://github.com/HealthEngineAU/laravel-prometheus-exporter/compare/v2.0.0-BETA1...v2.0.0 | ||
[v2.0.0-BETA1]: https://github.com/HealthEngineAU/laravel-prometheus-exporter/compare/v2.0...v2.0.0-BETA1 | ||
[v2.0]: https://github.com/HealthEngineAU/laravel-prometheus-exporter/compare/1.0.6...v2.0 | ||
[v1.0.6]: https://github.com/HealthEngineAU/laravel-prometheus-exporter/compare/1.0.5...1.0.6 | ||
[v1.0.5]: https://github.com/HealthEngineAU/laravel-prometheus-exporter/compare/1.0.4...1.0.5 | ||
[v1.0.4]: https://github.com/HealthEngineAU/laravel-prometheus-exporter/compare/1.0.3...1.0.4 | ||
[v1.0.3]: https://github.com/HealthEngineAU/laravel-prometheus-exporter/compare/1.0.2...1.0.3 | ||
[v1.0.2]: https://github.com/HealthEngineAU/laravel-prometheus-exporter/compare/1.0.1...1.0.2 | ||
[v1.0.1]: https://github.com/HealthEngineAU/laravel-prometheus-exporter/compare/1.0.0...1.0.1 | ||
[v1.0.0]: https://github.com/HealthEngineAU/laravel-prometheus-exporter/releases/tag/1.0.0 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.