Skip to content

Commit 344a181

Browse files
committed
minor #564 remove useless comment (zairigimad)
This PR was merged into the 1.0-dev branch. Discussion ---------- remove useless comment remove useless comment Commits ------- 19458e7 remove useless comment
2 parents 2600f5a + 19458e7 commit 344a181

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)