-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
1,519 additions
and
688 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,4 @@ setupLocalTest.sh | |
vendor | ||
.DS_Store | ||
.php_cs.cache | ||
.phpunit.result.cache |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="Einsatzverwaltung"> | ||
<description>Custom ruleset for the Einsatzverwaltung plugin.</description> | ||
|
||
<!-- For help in understanding this file: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml --> | ||
<!-- For help in using PHPCS: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage --> | ||
|
||
<!-- What to scan --> | ||
<file>.</file> | ||
<exclude-pattern>/.idea/*</exclude-pattern> | ||
<exclude-pattern>/vendor/*</exclude-pattern> | ||
<exclude-pattern>/src/backcompat.php</exclude-pattern> | ||
|
||
<!-- How to scan --> | ||
<arg value="sp"/> <!-- Show sniff and progress --> | ||
<arg name="colors"/> <!-- Show results with colors --> | ||
<arg name="basepath" value="."/> <!-- Strip the file paths down to the relevant bit --> | ||
<arg name="extensions" value="php"/> <!-- Limit to PHP files --> | ||
|
||
<!-- PHPCompatibility standard with adjustments for WordPress --> | ||
<rule ref="PHPCompatibilityWP"/> | ||
|
||
<!-- The PHP version range to test --> | ||
<config name="testVersion" value="7.1-"/> | ||
|
||
<!-- For now, continue to use the PSR2 standard. This requires to deactivate the line length sniff, because gettext calls cannot be wrapped --> | ||
<rule ref="PSR2"> | ||
<exclude name="Generic.Files.LineLength"/> | ||
</rule> | ||
|
||
<!-- For help in understanding these custom sniff properties: | ||
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties --> | ||
<config name="minimum_supported_wp_version" value="5.1"/> | ||
|
||
<rule ref="WordPress.WP.I18n"> | ||
<properties> | ||
<property name="text_domain" type="array"> | ||
<element value="einsatzverwaltung"/> | ||
<element value="default"/> | ||
</property> | ||
</properties> | ||
</rule> | ||
|
||
<rule ref="WordPress.NamingConventions.PrefixAllGlobals"> | ||
<properties> | ||
<property name="prefixes" type="array"> | ||
<element value="einsatzverwaltung"/> | ||
<element value="abrain\Einsatzverwaltung"/> | ||
</property> | ||
</properties> | ||
</rule> | ||
</ruleset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.