Skip to content

Commit 19458e7

Browse files
authored
remove useless comment
remove useless comment
1 parent a2d9c0b commit 19458e7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Util/YamlSourceManipulator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,6 @@ private function updateContents(string $newContents, array $newData, int $newPos
638638
$parsedContentsData = $this->normalizeSequences($parsedContentsData);
639639
$newData = $this->normalizeSequences($newData);
640640
if ($parsedContentsData !== $newData) {
641-
//var_dump(Yaml::parse($newContents), $newData, $newContents);die;
642641
throw new YamlManipulationFailedException(sprintf('Content was updated, but updated content does not match expected data. Original source: "%s", updated source: "%s", updated data: %s', $this->contents, $newContents, var_export($newData, true)));
643642
}
644643
} catch (ParseException $e) {
@@ -1102,7 +1101,6 @@ private function isPreviousLineComment(int $position): bool
11021101

11031102
private function getPreviousLine(int $position)
11041103
{
1105-
//var_dump(substr($this->contents, $position, 10), $this->contents);die;
11061104
// find the previous \n by finding the last one in the content up to the position
11071105
$endPos = strrpos(substr($this->contents, 0, $position), "\n");
11081106
if (false === $endPos) {

0 commit comments

Comments
 (0)