Skip to content

Commit e23f6b2

Browse files
committed
[TASK] Deprecate sSpaceAfterListArgumentSeparator being an array
1 parent 35e48cd commit e23f6b2

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1111

1212
### Deprecated
1313

14+
- Deprecate `OutputFormat::sSpaceAfterListArgumentSeparator` being an array
15+
(#876)
1416
- Deprecate `OutputFormat::level()` (#870)
1517

1618
### Removed

src/OutputFormat.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ class OutputFormat
103103
public $sSpaceBeforeListArgumentSeparator = '';
104104

105105
/**
106-
* @var string
106+
* #866 `array` is deprecated in version V8.8.0, will be changed to `string` only in V9.0.0.
107+
*
108+
* @var string|array<string, string>
107109
*/
108110
public $sSpaceAfterListArgumentSeparator = '';
109111

tests/OutputFormatTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ public function spaceAfterListArgumentSeparator()
104104

105105
/**
106106
* @test
107+
*
108+
* @deprecated #866 since 8.8.0, will be removed in 9.0.0.
107109
*/
108110
public function spaceAfterListArgumentSeparatorComplex()
109111
{

0 commit comments

Comments
 (0)