Skip to content

Commit efd01a9

Browse files
Added support for PHP 8.3
1 parent 35ed067 commit efd01a9

File tree

8 files changed

+674
-582
lines changed

8 files changed

+674
-582
lines changed

.github/workflows/run-tests.yml

Lines changed: 555 additions & 555 deletions
Large diffs are not rendered by default.

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77

88

9+
## [0.1.7] - 2023-12-01
10+
11+
### Added
12+
- Added support for PHP 8.3
13+
14+
15+
916
## [0.1.6] - 2022-12-19
1017

1118
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Fluent dotenv
22

33
[![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)
4-
![PHP Version](https://img.shields.io/badge/PHP-7.0%20to%208.2-blue?style=flat-square)
4+
![PHP Version](https://img.shields.io/badge/PHP-7.0%20to%208.3-blue?style=flat-square)
55
![vlucas/phpdotenv](https://img.shields.io/badge/vlucas%2Fphpdotenv-1+-blue?style=flat-square)
66
![symfony/dotenv](https://img.shields.io/badge/symfony%2Fdotenv-3.3+-blue?style=flat-square)
77
[![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)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525
],
2626
"require": {
27-
"php": "7.0.* | 7.1.* | 7.2.* | 7.3.* | 7.4.* | 8.0.* | 8.1.* | 8.2.*",
27+
"php": "7.0.* | 7.1.* | 7.2.* | 7.3.* | 7.4.* | 8.0.* | 8.1.* | 8.2.* | 8.3.*",
2828
"ext-mbstring": "*",
2929
"vlucas/phpdotenv": "^1.0 | ^2.0 | ^3.0 | ^4.0 | ^5.0"
3030
},
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
5+
backupGlobals="true"
6+
backupStaticAttributes="true"
7+
beStrictAboutOutputDuringTests="true"
8+
bootstrap="vendor/autoload.php"
9+
colors="false"
10+
convertDeprecationsToExceptions="false"
11+
convertErrorsToExceptions="true"
12+
convertNoticesToExceptions="true"
13+
convertWarningsToExceptions="true"
14+
failOnIncomplete="true"
15+
failOnRisky="true"
16+
failOnSkipped="true"
17+
failOnWarning="true"
18+
stopOnDefect="true"
19+
stopOnError="true"
20+
stopOnFailure="true"
21+
stopOnIncomplete="true"
22+
stopOnRisky="true"
23+
stopOnSkipped="true"
24+
stopOnWarning="true"
25+
verbose="true"
26+
>
27+
<testsuites>
28+
<testsuite name="Unit">
29+
<directory suffix="Test.php">./tests/Unit</directory>
30+
</testsuite>
31+
</testsuites>
32+
</phpunit>

phpunit.github-actions.xml.dist

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd"
5+
backupGlobals="true"
6+
backupStaticProperties="true"
7+
beStrictAboutChangesToGlobalState="false"
8+
beStrictAboutOutputDuringTests="true"
9+
beStrictAboutTestsThatDoNotTestAnything="true"
10+
beStrictAboutCoverageMetadata="false"
11+
bootstrap="vendor/autoload.php"
12+
cacheDirectory="phpunit/cache"
13+
cacheResult="false"
14+
colors="false"
15+
displayDetailsOnTestsThatTriggerDeprecations="false"
16+
displayDetailsOnTestsThatTriggerNotices="true"
17+
displayDetailsOnTestsThatTriggerErrors="true"
18+
displayDetailsOnTestsThatTriggerWarnings="true"
19+
displayDetailsOnIncompleteTests="true"
20+
displayDetailsOnSkippedTests="true"
21+
failOnDeprecation="false"
22+
failOnIncomplete="true"
23+
failOnEmptyTestSuite="true"
24+
failOnNotice="true"
25+
failOnRisky="true"
26+
failOnSkipped="true"
27+
failOnWarning="true"
28+
stopOnDefect="true"
29+
stopOnDeprecation="false"
30+
stopOnError="true"
31+
stopOnFailure="true"
32+
stopOnIncomplete="true"
33+
stopOnNotice="true"
34+
stopOnRisky="true"
35+
stopOnSkipped="true"
36+
stopOnWarning="true"
37+
>
38+
<testsuites>
39+
<testsuite name="Unit">
40+
<directory suffix="Test.php">./tests/Unit</directory>
41+
</testsuite>
42+
</testsuites>
43+
<source>
44+
<include>
45+
<directory suffix=".php">./src</directory>
46+
</include>
47+
</source>
48+
</phpunit>

phpunit.up-to-9.xml.dist

Lines changed: 0 additions & 24 deletions
This file was deleted.

phpunit.xml.dist

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,38 @@
22
<phpunit
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd"
5+
backupGlobals="true"
6+
backupStaticProperties="true"
7+
beStrictAboutChangesToGlobalState="false"
8+
beStrictAboutOutputDuringTests="true"
9+
beStrictAboutTestsThatDoNotTestAnything="true"
10+
beStrictAboutCoverageMetadata="false"
511
bootstrap="vendor/autoload.php"
6-
colors="true"
712
cacheDirectory="phpunit/cache"
13+
cacheResult="true"
14+
colors="true"
15+
displayDetailsOnTestsThatTriggerDeprecations="true"
16+
displayDetailsOnTestsThatTriggerNotices="true"
17+
displayDetailsOnTestsThatTriggerErrors="true"
18+
displayDetailsOnTestsThatTriggerWarnings="true"
19+
displayDetailsOnIncompleteTests="true"
20+
displayDetailsOnSkippedTests="true"
21+
failOnDeprecation="true"
22+
failOnIncomplete="true"
23+
failOnEmptyTestSuite="true"
24+
failOnNotice="true"
25+
failOnRisky="true"
26+
failOnSkipped="true"
27+
failOnWarning="true"
28+
stopOnDefect="true"
29+
stopOnDeprecation="true"
30+
stopOnError="true"
31+
stopOnFailure="true"
32+
stopOnIncomplete="true"
33+
stopOnNotice="true"
34+
stopOnRisky="true"
35+
stopOnSkipped="true"
36+
stopOnWarning="true"
837
>
938
<testsuites>
1039
<testsuite name="Unit">

0 commit comments

Comments
 (0)