Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit 56116b7

Browse files
committed
fix lint
1 parent 3203cab commit 56116b7

13 files changed

+0
-14
lines changed

examples/dorm/CodegenMutator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ public function generate(): void {
6868
->save();
6969
}
7070

71-
7271
private function getDataVar(): CodegenProperty{
7372
// Example of how to generate a class member variable, including
7473
// setting an initial value.

examples/dorm/DormCodegenCLI.hack

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ final class DormCodegenCLI extends \Facebook\CLILib\CLIWithRequiredArguments {
3535
require_once($fname);
3636
$new_classes = Vec\diff(\get_declared_classes(), $classes);
3737

38-
3938
foreach ($new_classes as $class_name) {
4039
$ref = new \ReflectionClass($class_name);
4140
if ($ref->isAbstract()) {

src/CodegenClass.hack

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ final class CodegenClass extends CodegenClassish {
6767
return $this->extendsClass;
6868
}
6969

70-
7170
/** @selfdocumenting */
7271
public function setConstructor(CodegenConstructor $constructor): this {
7372
$this->constructor = $constructor;

src/CodegenFactoryTrait.hack

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ trait CodegenFactoryTrait implements ICodegenFactory {
7272
new CodegenTypeConstant($this->getConfig(), \vsprintf($format, $args));
7373
}
7474

75-
7675
final public function codegenFile(string $file): CodegenFile {
7776
return new CodegenFile($this->getConfig(), $file);
7877
}

src/CodegenFile.hack

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ final class CodegenFile {
180180
return $this->afterTypes;
181181
}
182182

183-
184183
/**
185184
* The absolute path.
186185
*/

src/ICodegenFactory.hack

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ interface ICodegenFactory {
114114
mixed ...$args
115115
): CodegenEnumMember;
116116

117-
118117
/**
119118
* Create a class type constant.
120119
*/

src/PartiallyGeneratedSignedSource.hack

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
namespace Facebook\HackCodegen;
1111

12-
1312
/**
1413
* Similar to SignedSource, but it uses a different header to indicate that the
1514
* file is partially generated

src/SignedSourceBase.hack

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ abstract class SignedSourceBase {
4242
return '@'.static::getTokenName().' '.static::TOKEN;
4343
}
4444

45-
4645
/**
4746
* Sign a source file into which you have previously embedded a signing
4847
* token. Signing modifies only the signing token, so the semantics of

src/key-value-render/HackBuilderCodeRenderer.hack

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
namespace Facebook\HackCodegen\_Private;
1111

12-
1312
use type Facebook\HackCodegen\{
1413
HackBuilder,
1514
IHackBuilderValueRenderer,

src/key-value-render/HackBuilderCodegenRenderer.hack

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
namespace Facebook\HackCodegen\_Private;
1111

12-
1312
use type Facebook\HackCodegen\{
1413
HackBuilder,
1514
ICodeBuilderRenderer,

0 commit comments

Comments
 (0)