drop php cs fixer

This commit is contained in:
awcodes
2022-09-01 15:26:42 -04:00
parent 845fc39a73
commit 61bf802077
3 changed files with 0 additions and 69 deletions

View File

@@ -29,7 +29,6 @@ $className = ask('Class name', $className);
$description = ask('Package description', "This is my package {$packageSlug}");
$usePhpStan = confirm('Enable PhpStan?', true);
$usePhpCsFixer = confirm('Enable PhpCsFixer?', true);
$usePint = confirm('Enable Pint?', true);
$useUpdateChangelogWorkflow = confirm('Use automatic changelog updater workflow?', true);
@@ -83,11 +82,6 @@ foreach ($files as $file) {
};
}
if (! $usePhpCsFixer) {
safeUnlink(__DIR__ . '/.php_cs.dist.php');
safeUnlink(__DIR__ . '/.github/workflows/php-cs-fixer.yml');
}
if (! $usePint) {
safeUnlink(__DIR__ . '/pint.json');
safeUnlink(__DIR__ . '/.github/workflows/pint.yml');