Merge "Gallery: Don't fire wikipage.content hook twice during init"
[lhc/web/wiklou.git] / tests / parser / TestFileReader.php
index 8a11b4c..307bbb6 100644 (file)
@@ -155,7 +155,7 @@ class TestFileReader {
        }
 
        private function execute() {
-               while ( false !== ( $line = fgets( $this->fh ) ) ) {
+               while ( ( $line = fgets( $this->fh ) ) !== false ) {
                        $this->lineNum++;
                        $matches = [];