-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test if they run now * switch phpcs action to php 8.2 * phpcs config * phpcs dependencies * phpcs dependencies * fix namespaces * fix phpcs * psalm * wip * psalm * remove cache for phpunit action * test php version * test php version matrix * test php version matrix * test php version matrix * fixing / disable some tests * cs
- Loading branch information
1 parent
900ddda
commit 087d2cc
Showing
28 changed files
with
842 additions
and
760 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
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 |
---|---|---|
@@ -1,14 +1,63 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="ExcelWriter"> | ||
<description>The coding standard of ExcelWriter package</description> | ||
<arg value="p" /> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<config name="ignore_warnings_on_exit" value="1" /> | ||
<config name="ignore_errors_on_exit" value="1" /> | ||
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
name="PHP_CodeSniffer" | ||
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"> | ||
<description>Fastbolt coding standard</description> | ||
|
||
<arg name="colors" /> | ||
<arg value="s" /> | ||
<file>src</file> | ||
<file>tests</file> | ||
|
||
<!-- Use the PSR2 Standard--> | ||
<rule ref="PSR2" /> | ||
</ruleset> | ||
<arg name="basepath" value="."/> | ||
<arg name="colors"/> | ||
<arg name="parallel" value="75"/> | ||
<arg value="np"/> | ||
|
||
<config name="installed_paths" | ||
value="vendor/fig-r/psr2r-sniffer,vendor/slevomat/coding-standard,vendor/spryker/code-sniffer"/> | ||
|
||
<!-- Don't hide tokenizer exceptions --> | ||
<rule ref="Internal.Tokenizer.Exception"> | ||
<type>error</type> | ||
</rule> | ||
|
||
<rule ref="PSR12"> | ||
<exclude name="Generic.WhiteSpace.ScopeIndent"/> | ||
<exclude name="Generic.Files.LineEndings"/> | ||
<exclude name="PSR2.Methods.FunctionCallSignature"/> | ||
<exclude name="Squiz.ControlStructures.ControlSignature.NewlineAfterClosingBrace"/> | ||
<exclude name="PSR2.Classes.ClassDeclaration.CloseBraceAfterBody"/> | ||
</rule> | ||
|
||
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"> | ||
<properties> | ||
<property name="ignoreBlankLines" value="true"/> | ||
</properties> | ||
</rule> | ||
|
||
<rule ref="SlevomatCodingStandard.Classes.ClassConstantVisibility"/> | ||
|
||
<rule ref="SlevomatCodingStandard.Namespaces.DisallowGroupUse"/> | ||
<rule ref="SlevomatCodingStandard.Namespaces.UselessAlias"/> | ||
<rule ref="SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash"/> | ||
|
||
<rule ref="SlevomatCodingStandard.PHP.DisallowDirectMagicInvokeCall"/> | ||
<rule ref="SlevomatCodingStandard.PHP.ShortList"/> | ||
<rule ref="SlevomatCodingStandard.PHP.TypeCast"/> | ||
<rule ref="SlevomatCodingStandard.PHP.UselessSemicolon"/> | ||
|
||
<rule ref="SlevomatCodingStandard.TypeHints.LongTypeHints"/> | ||
<rule ref="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue"/> | ||
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing"/> | ||
<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHintSpacing"/> | ||
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing"/> | ||
|
||
<rule ref="PSR2R.Namespaces.UnusedUseStatement"/> | ||
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses"> | ||
<properties> | ||
<property name="searchAnnotations" value="true"/> | ||
</properties> | ||
</rule> | ||
|
||
<rule ref="Spryker.Commenting.FileDocBlock"/> | ||
</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
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
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
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.