File tree Expand file tree Collapse file tree 4 files changed +22
-5
lines changed Expand file tree Collapse file tree 4 files changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.
4
4
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com ) , and this project adheres to [ Semantic Versioning] ( https://semver.org ) .
6
6
7
+ ## [ Unreleased]
8
+ ### Added
9
+ * * Nothing*
10
+
11
+ ### Changed
12
+ * Update shlinkio coding standard to v2.4
13
+
14
+ ### Deprecated
15
+ * * Nothing*
16
+
17
+ ### Removed
18
+ * * Nothing*
19
+
20
+ ### Fixed
21
+ * * Nothing*
22
+
23
+
7
24
## [ 3.3.0] - 2024-10-24
8
25
### Added
9
26
* * Nothing*
Original file line number Diff line number Diff line change 22
22
"require-dev" : {
23
23
"cuyz/valinor" : " ^1.12" ,
24
24
"devster/ubench" : " ^2.1" ,
25
- "phpstan/phpstan" : " ^1.11 " ,
26
- "phpunit/phpunit" : " ^11.3 " ,
25
+ "phpstan/phpstan" : " ^1.12 " ,
26
+ "phpunit/phpunit" : " ^11.4 " ,
27
27
"psr/simple-cache" : " ^2.0" ,
28
28
"roave/security-advisories" : " dev-master" ,
29
- "shlinkio/php-coding-standard" : " ~2.3 .0" ,
29
+ "shlinkio/php-coding-standard" : " ~2.4 .0" ,
30
30
"symfony/var-dumper" : " ^7.1"
31
31
},
32
32
"autoload" : {
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ function formatEnvVarValue(string|int|bool|array|null $value): string
73
73
/**
74
74
* Loads config from $configPath, then puts all its values as env vars if they are not yet defined
75
75
*/
76
- function loadEnvVarsFromConfig (string $ configPath , ? array $ allowedEnvVars = null ): void
76
+ function loadEnvVarsFromConfig (string $ configPath , array | null $ allowedEnvVars = null ): void
77
77
{
78
78
$ config = loadConfigFromGlob ($ configPath );
79
79
foreach ($ config as $ envVar => $ value ) {
Original file line number Diff line number Diff line change 9
9
/** @deprecated Use loadEnvVarsFromConfig instead */
10
10
class EnvVarLoaderProvider
11
11
{
12
- public function __construct (private readonly string $ configPath , private readonly ? array $ allowedEnvVars = null )
12
+ public function __construct (private readonly string $ configPath , private readonly array | null $ allowedEnvVars = null )
13
13
{
14
14
}
15
15
You can’t perform that action at this time.
0 commit comments