From af6bd5da4679b66fdd753f86b643fbc3969dd396 Mon Sep 17 00:00:00 2001 From: Stefanos Psarras Date: Thu, 7 Dec 2023 21:33:39 +0200 Subject: [PATCH 1/3] Remove redundant PHPdoc line --- EnvVarProcessorInterface.php | 1 - 1 file changed, 1 deletion(-) diff --git a/EnvVarProcessorInterface.php b/EnvVarProcessorInterface.php index fecd47407..3cda63934 100644 --- a/EnvVarProcessorInterface.php +++ b/EnvVarProcessorInterface.php @@ -23,7 +23,6 @@ interface EnvVarProcessorInterface /** * Returns the value of the given variable as managed by the current instance. * - * @param string $prefix The namespace of the variable * @param string $prefix The namespace of the variable; when the empty string is passed, null values should be kept as is * @param string $name The name of the variable within the namespace * @param \Closure(string): mixed $getEnv A closure that allows fetching more env vars From f118b39bf1d128907d03d22e929bd96858c0465c Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 19 Dec 2023 10:31:47 +0100 Subject: [PATCH 2/3] remove unneeded @requires PHP from tests --- Tests/Dumper/YamlDumperTest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/Tests/Dumper/YamlDumperTest.php b/Tests/Dumper/YamlDumperTest.php index 0b5c125be..3cf0f3d97 100644 --- a/Tests/Dumper/YamlDumperTest.php +++ b/Tests/Dumper/YamlDumperTest.php @@ -167,8 +167,6 @@ public function testDumpHandlesEnumeration() } /** - * @requires PHP 8.1 - * * @dataProvider provideDefaultClasses */ public function testDumpHandlesDefaultAttribute($class, $expectedFile) From 75d568165a65fa7d8124869ec7c3a90424352e6c Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 28 Dec 2023 10:31:38 +0100 Subject: [PATCH 3/3] Update a test --- Tests/Fixtures/containers/container8.php | 2 +- Tests/Fixtures/php/services8.php | 2 +- Tests/Fixtures/xml/services8.xml | 2 +- Tests/Fixtures/yaml/services8.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tests/Fixtures/containers/container8.php b/Tests/Fixtures/containers/container8.php index 0caa0fe3e..18c78746e 100644 --- a/Tests/Fixtures/containers/container8.php +++ b/Tests/Fixtures/containers/container8.php @@ -12,7 +12,7 @@ 'utf-8 valid string' => "\u{021b}\u{1b56}\ttest", 'binary' => "\xf0\xf0\xf0\xf0", 'binary-control-char' => "This is a Bell char \x07", - 'console banner' => "\e[37;44m#StandWith\e[30;43mUkraine\e[0m", + 'console banner' => "\e[37;44mHello\e[30;43mWorld\e[0m", 'null string' => 'null', 'string of digits' => '123', 'string of digits prefixed with minus character' => '-123', diff --git a/Tests/Fixtures/php/services8.php b/Tests/Fixtures/php/services8.php index 840bab52a..feca8339f 100644 --- a/Tests/Fixtures/php/services8.php +++ b/Tests/Fixtures/php/services8.php @@ -109,7 +109,7 @@ protected function getDefaultParameters(): array 'utf-8 valid string' => 'ț᭖ test', 'binary' => 'ðððð', 'binary-control-char' => 'This is a Bell char ', - 'console banner' => '#StandWithUkraine', + 'console banner' => 'HelloWorld', 'null string' => 'null', 'string of digits' => '123', 'string of digits prefixed with minus character' => '-123', diff --git a/Tests/Fixtures/xml/services8.xml b/Tests/Fixtures/xml/services8.xml index 8e095e711..7c93e8bd3 100644 --- a/Tests/Fixtures/xml/services8.xml +++ b/Tests/Fixtures/xml/services8.xml @@ -21,7 +21,7 @@ ț᭖ test 8PDw8A== VGhpcyBpcyBhIEJlbGwgY2hhciAH - G1szNzs0NG0jU3RhbmRXaXRoG1szMDs0M21Va3JhaW5lG1swbQ== + G1szNzs0NG1IZWxsbxtbMzA7NDNtV29ybGQbWzBt null 123 -123 diff --git a/Tests/Fixtures/yaml/services8.yml b/Tests/Fixtures/yaml/services8.yml index ef9782f0a..241a91cb0 100644 --- a/Tests/Fixtures/yaml/services8.yml +++ b/Tests/Fixtures/yaml/services8.yml @@ -7,7 +7,7 @@ parameters: utf-8 valid string: "ț᭖\ttest" binary: !!binary 8PDw8A== binary-control-char: !!binary VGhpcyBpcyBhIEJlbGwgY2hhciAH - console banner: "\e[37;44m#StandWith\e[30;43mUkraine\e[0m" + console banner: "\e[37;44mHello\e[30;43mWorld\e[0m" null string: 'null' string of digits: '123' string of digits prefixed with minus character: '-123'