Skip to content

Commit

Permalink
Added support for PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
code-distortion committed Dec 6, 2023
1 parent 35ed067 commit efd01a9
Show file tree
Hide file tree
Showing 8 changed files with 674 additions and 582 deletions.
1,110 changes: 555 additions & 555 deletions .github/workflows/run-tests.yml

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),



## [0.1.7] - 2023-12-01

### Added
- Added support for PHP 8.3



## [0.1.6] - 2022-12-19

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Fluent dotenv

[![Latest Version on Packagist](https://img.shields.io/packagist/v/code-distortion/fluent-dotenv.svg?style=flat-square)](https://packagist.org/packages/code-distortion/fluent-dotenv)
![PHP Version](https://img.shields.io/badge/PHP-7.0%20to%208.2-blue?style=flat-square)
![PHP Version](https://img.shields.io/badge/PHP-7.0%20to%208.3-blue?style=flat-square)
![vlucas/phpdotenv](https://img.shields.io/badge/vlucas%2Fphpdotenv-1+-blue?style=flat-square)
![symfony/dotenv](https://img.shields.io/badge/symfony%2Fdotenv-3.3+-blue?style=flat-square)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/code-distortion/fluent-dotenv/run-tests.yml?branch=master&style=flat-square)](https://github.com/code-distortion/fluent-dotenv/actions)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
],
"require": {
"php": "7.0.* | 7.1.* | 7.2.* | 7.3.* | 7.4.* | 8.0.* | 8.1.* | 8.2.*",
"php": "7.0.* | 7.1.* | 7.2.* | 7.3.* | 7.4.* | 8.0.* | 8.1.* | 8.2.* | 8.3.*",
"ext-mbstring": "*",
"vlucas/phpdotenv": "^1.0 | ^2.0 | ^3.0 | ^4.0 | ^5.0"
},
Expand Down
32 changes: 32 additions & 0 deletions phpunit.github-actions.up-to-9.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="true"
backupStaticAttributes="true"
beStrictAboutOutputDuringTests="true"
bootstrap="vendor/autoload.php"
colors="false"
convertDeprecationsToExceptions="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
failOnIncomplete="true"
failOnRisky="true"
failOnSkipped="true"
failOnWarning="true"
stopOnDefect="true"
stopOnError="true"
stopOnFailure="true"
stopOnIncomplete="true"
stopOnRisky="true"
stopOnSkipped="true"
stopOnWarning="true"
verbose="true"
>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
</testsuites>
</phpunit>
48 changes: 48 additions & 0 deletions phpunit.github-actions.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd"
backupGlobals="true"
backupStaticProperties="true"
beStrictAboutChangesToGlobalState="false"
beStrictAboutOutputDuringTests="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutCoverageMetadata="false"
bootstrap="vendor/autoload.php"
cacheDirectory="phpunit/cache"
cacheResult="false"
colors="false"
displayDetailsOnTestsThatTriggerDeprecations="false"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnIncompleteTests="true"
displayDetailsOnSkippedTests="true"
failOnDeprecation="false"
failOnIncomplete="true"
failOnEmptyTestSuite="true"
failOnNotice="true"
failOnRisky="true"
failOnSkipped="true"
failOnWarning="true"
stopOnDefect="true"
stopOnDeprecation="false"
stopOnError="true"
stopOnFailure="true"
stopOnIncomplete="true"
stopOnNotice="true"
stopOnRisky="true"
stopOnSkipped="true"
stopOnWarning="true"
>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>
24 changes: 0 additions & 24 deletions phpunit.up-to-9.xml.dist

This file was deleted.

31 changes: 30 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,38 @@
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd"
backupGlobals="true"
backupStaticProperties="true"
beStrictAboutChangesToGlobalState="false"
beStrictAboutOutputDuringTests="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutCoverageMetadata="false"
bootstrap="vendor/autoload.php"
colors="true"
cacheDirectory="phpunit/cache"
cacheResult="true"
colors="true"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnIncompleteTests="true"
displayDetailsOnSkippedTests="true"
failOnDeprecation="true"
failOnIncomplete="true"
failOnEmptyTestSuite="true"
failOnNotice="true"
failOnRisky="true"
failOnSkipped="true"
failOnWarning="true"
stopOnDefect="true"
stopOnDeprecation="true"
stopOnError="true"
stopOnFailure="true"
stopOnIncomplete="true"
stopOnNotice="true"
stopOnRisky="true"
stopOnSkipped="true"
stopOnWarning="true"
>
<testsuites>
<testsuite name="Unit">
Expand Down

0 comments on commit efd01a9

Please sign in to comment.