From fb686d83de23cb862f4ce129dd4918b142bf437b Mon Sep 17 00:00:00 2001 From: Pavel Volokitin Date: Fri, 12 Apr 2013 15:31:52 +0600 Subject: [PATCH] [Yaml] improved boolean naming ($notEOF -> !$EOF) --- src/Symfony/Component/Yaml/Parser.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Component/Yaml/Parser.php b/src/Symfony/Component/Yaml/Parser.php index 8dd9a23c47..1e88f85d4a 100644 --- a/src/Symfony/Component/Yaml/Parser.php +++ b/src/Symfony/Component/Yaml/Parser.php @@ -482,13 +482,13 @@ class Parser private function isNextLineIndented() { $currentIndentation = $this->getCurrentLineIndentation(); - $notEOF = $this->moveToNextLine(); + $EOF = !$this->moveToNextLine(); - while ($notEOF && $this->isCurrentLineEmpty()) { - $notEOF = $this->moveToNextLine(); + while (!$EOF && $this->isCurrentLineEmpty()) { + $EOF = !$this->moveToNextLine(); } - if (false === $notEOF) { + if ($EOF) { return false; }