Changeset View
Changeset View
Standalone View
Standalone View
arcanist/linter/FileNameLinter.php
<?php | <?php | ||||
/** | /** | ||||
* Check that source code file names are compliant with naming conventions. | * Check that source code file names are compliant with naming conventions. | ||||
*/ | */ | ||||
final class FileNameLinter extends ArcanistLinter { | final class FileNameLinter extends ArcanistLinter { | ||||
const INVALID_FILENAME_FOUND = 1; | const INVALID_FILENAME_FOUND = 1; | ||||
const EXCEPTIONS = array( | const EXCEPTIONS = array( | ||||
// None so far | "src/test/fuzz/FuzzedDataProvider.h" | ||||
); | ); | ||||
public function getInfoName() { | public function getInfoName() { | ||||
return 'lint-source-filename'; | return 'lint-source-filename'; | ||||
} | } | ||||
public function getInfoDescription() { | public function getInfoDescription() { | ||||
return pht('Check that source code file names are compliant with naming '. | return pht('Check that source code file names are compliant with naming '. | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |