Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jfilla committed Sep 10, 2020
1 parent 90cec17 commit a2c9a61
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ class SerializeClassConstFetch
public function serialize(ClassConstFetch $classConstFetch): string
{
return self::C . implode(
self::D_CLASS_PART_SEPARATOR,
$this->parts($classConstFetch),
) . self::D_SEPARATOR . $this->name($classConstFetch);
self::D_CLASS_PART_SEPARATOR,
$this->parts($classConstFetch),
) . self::D_SEPARATOR . $this->name($classConstFetch);
}

public function isSerialized(string $string): bool
Expand Down
2 changes: 1 addition & 1 deletion tests/NamespaceTranslatorTests/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ public static function stringToExpr(string $string): Expr
return $ast[0]->expr;
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ public function testError(): void
$this->formatTranslationArray->process(Helpers::stringToExpr("['o'. 'one' => 'two']"));
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ private function classConstFetch(string $string): ClassConstFetch
return Helpers::stringToExpr($string);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ public function test(): void
);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ public function testCorruptedHeader(): void
$this->convertFromLines->process([[]]);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ public function test(): void
$this->assertStringStartsWith('Importing', $output->fetch());
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ public function testRemoveLocale(): void
'one' => [
'cs' => 'Jedna',
],
], '', Neon::FORMAT
],
'',
Neon::FORMAT
)
);
$this->assertFileNotExists($file);
}

}
}
2 changes: 1 addition & 1 deletion tests/NamespaceTranslatorTests/Transfer/LocalesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ public function testWhitelistNotSet(): void
$this->locales->optionalLocales();
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ public function test(): void
);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ public function test(): void
$this->assertFalse($called);
}

}
}

0 comments on commit a2c9a61

Please sign in to comment.