Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NETBEANS-5577] Add PHP-CS-Fixer 3.x configuration files #2880

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -36,8 +36,10 @@ public final class ImportantFilesImpl implements ImportantFilesImplementation {
CodeSniffer.DOT_CONFIG_FILE_NAME,
CodeSniffer.DIST_CONFIG_FILE_NAME,
CodeSniffer.DIST_DOT_CONFIG_FILE_NAME,
CodingStandardsFixer.CONFIG_FILE_NAME,
CodingStandardsFixer.DIST_CONFIG_FILE_NAME,
CodingStandardsFixer.CONFIG_FILE_NAME_V2,
CodingStandardsFixer.DIST_CONFIG_FILE_NAME_V2,
CodingStandardsFixer.CONFIG_FILE_NAME_V3,
CodingStandardsFixer.DIST_CONFIG_FILE_NAME_V3,
PHPStan.CONFIG_FILE_NAME,
PHPStan.DIST_CONFIG_FILE_NAME};

Expand Down
Expand Up @@ -87,8 +87,10 @@ public final class CodingStandardsFixer {
NO_INTERACTION_PARAM);

// configuration files
public static final String CONFIG_FILE_NAME = ".php_cs"; // NOI18N
public static final String DIST_CONFIG_FILE_NAME = ".php_cs.dist"; // NOI18N
public static final String CONFIG_FILE_NAME_V2 = ".php_cs"; // NOI18N
public static final String DIST_CONFIG_FILE_NAME_V2 = ".php_cs.dist"; // NOI18N
public static final String CONFIG_FILE_NAME_V3 = ".php-cs-fixer.php"; // NOI18N
public static final String DIST_CONFIG_FILE_NAME_V3 = ".php-cs-fixer.dist.php"; // NOI18N

@org.netbeans.api.annotations.common.SuppressWarnings(value = "MS_MUTABLE_COLLECTION", justification = "It is immutable") // NOI18N
public static final List<String> VERSIONS = Arrays.asList(
Expand Down