Skip to content

Commit eee3aec

Browse files
committed
removed support for three ... dots
1 parent 87d2601 commit eee3aec

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

src/DI/Config/Adapters/NeonAdapter.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,6 @@ private function removeUnderscoreVisitor(Neon\Node $node)
179179
if ($attr->value instanceof Neon\Node\LiteralNode && $attr->value->value === '_') {
180180
unset($node->attributes[$i]);
181181
$index = true;
182-
183-
} elseif ($attr->value instanceof Neon\Node\LiteralNode && $attr->value->value === '...') {
184-
trigger_error("Replace ... with _ in configuration file '$this->file'.", E_USER_DEPRECATED);
185-
unset($node->attributes[$i]);
186-
$index = true;
187182
}
188183
}
189184
}

tests/DI/NeonAdapter.preprocess.phpt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,6 @@ Assert::equal(
7070
);
7171

7272

73-
// ... deprecated
74-
$data = @$adapter->load(Tester\FileMock::create('
75-
- Class(arg1, ..., [...])
76-
', 'neon'));
77-
78-
Assert::equal(
79-
[new Statement('Class', ['arg1', 2 => ['...']])],
80-
$data,
81-
);
82-
83-
8473
// @ escaping
8574
$data = @$adapter->load(Tester\FileMock::create('
8675
- @@double

0 commit comments

Comments
 (0)