-
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
Showing
55 changed files
with
1,657 additions
and
1,177 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,10 +1,6 @@ | ||
language: php | ||
php: | ||
- 7.1 | ||
- 7.2 | ||
- 7.3 | ||
- 7.4 | ||
- 8.0snapshot | ||
- 8.0 | ||
|
||
before_install: | ||
- sudo apt-get -qq update | ||
|
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,19 +1,50 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
This project adheres to [Semantic Versioning] (http://semver.org/). | ||
For change log format, use [Keep a Changelog] (http://keepachangelog.com/). | ||
|
||
All notable changes to this project will be documented in this file. This project adheres | ||
to [Semantic Versioning] (http://semver.org/). For change log format, | ||
use [Keep a Changelog] (http://keepachangelog.com/). | ||
|
||
## [2.0.0-alpha1] | ||
|
||
### Added | ||
|
||
- Adapter concept | ||
- Config object to manage adapters | ||
- Dependency with `colinodell/json5` library to parse JSON5 syntax | ||
- New adapter IniAdapter (INI string and files) | ||
- New adapter ArrayAdapter (PHP array) | ||
|
||
### Changed | ||
|
||
- Refactoring | ||
- Bump compatibility to PHP 8 minimum | ||
- Actions replaced by functions | ||
- Encapsulation of functions | ||
- Functions must be alone in value of configuration key | ||
|
||
### Removed | ||
|
||
- Remove usage of `@extends` spacial key in configuration | ||
- Remove merging of configurations, replaced by multiple config objects prioritized | ||
|
||
## [1.2.0] - 2020-11-05 | ||
|
||
### Added | ||
|
||
- PHP 8 compatibility | ||
|
||
## [1.1.1] - 2020-09-23 | ||
|
||
### Changed | ||
|
||
- Fix variable replacement by null with empty string | ||
|
||
## [1.1.0] - 2020-04-17 | ||
|
||
### Added | ||
|
||
- New `const` action to get constant value | ||
|
||
## [1.0.0] - 2020-02-17 | ||
|
||
First version |
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,13 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit bootstrap="./tests/bootstrap.php" colors="true"> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
bootstrap="./tests/bootstrap.php" | ||
colors="true" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> | ||
<coverage processUncoveredFiles="true"> | ||
<include> | ||
<directory suffix=".php">src</directory> | ||
</include> | ||
</coverage> | ||
<testsuites> | ||
<testsuite name="Berlioz Framework Config test suite"> | ||
<directory suffix="Test.php">./tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist processUncoveredFilesFromWhitelist="true"> | ||
<directory suffix=".php">src</directory> | ||
</whitelist> | ||
</filter> | ||
</phpunit> | ||
</phpunit> |
Oops, something went wrong.