- Add CloudronStack/output/CloudronPackages-Artifacts/tirreno/ directory and its contents - Includes package manifest, Dockerfile, source code, documentation, and build artifacts - Add tirreno-1761840148.tar.gz as a build artifact - Add tirreno-cloudron-package-1761841304.tar.gz as the Cloudron package - Include all necessary files for the tirreno Cloudron package This adds the complete tirreno Cloudron package artifacts to the repository.
54 lines
2.1 KiB
XML
54 lines
2.1 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset name="PHPCodingStandards">
|
|
<description>PHP coding standards.</description>
|
|
|
|
<file>app/</file>
|
|
<file>sensor/</file>
|
|
<file>install/</file>
|
|
<exclude-pattern>vendor/</exclude-pattern>
|
|
<exclude-pattern>sensor/vendor/</exclude-pattern>
|
|
|
|
<!-- Extend a base coding standard, such as PSR12 -->
|
|
<rule ref="PSR12"/>
|
|
|
|
<!-- Disallow Yoda conditions -->
|
|
<rule ref="Generic.ControlStructures.DisallowYodaConditions"/>
|
|
|
|
<!-- Enforce brace placement for function declarations -->
|
|
<rule ref="PSR12">
|
|
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine" />
|
|
</rule>
|
|
<rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie"/>
|
|
|
|
<!-- Enforce brace placement for class declarations -->
|
|
<rule ref="PSR12">
|
|
<exclude name="PSR2.Classes.ClassDeclaration.OpenBraceNewLine" />
|
|
</rule>
|
|
<rule ref="Generic.Classes.OpeningBraceSameLine"/>
|
|
|
|
<!-- Prevent alignment sniffs from flagging aligned code -->
|
|
<rule ref="PSR12">
|
|
<exclude name="Generic.Files.LineLength.TooLong"/>
|
|
</rule>
|
|
|
|
<!-- Enforce camelCase for local variables -->
|
|
<rule ref="Squiz.NamingConventions.ValidFunctionName"/>
|
|
<rule ref="Squiz.NamingConventions.ValidVariableName"/>
|
|
|
|
<rule ref="PSR12">
|
|
<exclude name="Squiz.NamingConventions.ValidVariableName.PublicHasUnderscore"/>
|
|
<exclude name="Squiz.NamingConventions.ValidVariableName.PrivateNoUnderscore"/>
|
|
<exclude name="Squiz.NamingConventions.ValidFunctionName.PublicHasUnderscor"/>
|
|
<exclude name="Squiz.NamingConventions.ValidFunctionName.PrivateNoUnderscore"/>
|
|
<exclude name="Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps"/>
|
|
<exclude name="Generic.NamingConventions.UpperCaseConstantName.ClassConstantNotUpperCase"/>
|
|
</rule>
|
|
|
|
<!-- Enforce no spaces after `[/(` and before `]/)` -->
|
|
<rule ref="Squiz.Arrays.ArrayBracketSpacing"/>
|
|
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing"/>
|
|
|
|
<!-- Name php, js and html files in CamelCase -->
|
|
|
|
</ruleset>
|