php-cs-fixer: enforce EOF newlines

This commit is contained in:
Dylan K. Taylor 2022-01-07 20:12:21 +00:00
parent e8893dd91f
commit ed2145b6a4
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D
7 changed files with 7 additions and 6 deletions

View File

@ -75,6 +75,7 @@ return (new PhpCsFixer\Config)
'return_type_declaration' => [
'space_before' => 'one'
],
'single_blank_line_at_eof' => true,
'single_import_per_statement' => true,
'strict_param' => true,
'unary_operator_spaces' => true,

View File

@ -25,4 +25,4 @@ namespace pocketmine\entity;
final class InvalidSkinException extends \InvalidArgumentException{
}
}

View File

@ -74,4 +74,4 @@ final class PersonaSkinPiece{
public function getProductId() : string{
return $this->productId;
}
}
}

View File

@ -86,4 +86,4 @@ class SubChunkPacketHeightMapInfo{
}
return true;
}
}
}

View File

@ -29,4 +29,4 @@ final class SubChunkPacketHeightMapType{
public const DATA = 1;
public const ALL_TOO_HIGH = 2;
public const ALL_TOO_LOW = 3;
}
}

View File

@ -31,4 +31,4 @@ final class SubChunkRequestResult{
public const WRONG_DIMENSION = 3;
public const NULL_PLAYER = 4;
public const Y_INDEX_OUT_OF_BOUNDS = 5;
}
}

View File

@ -45,4 +45,4 @@ trait SingletonTrait{
public static function reset() : void{
self::$instance = null;
}
}
}