Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/cartforge.co/vendor/braintree/braintree_php/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/cartforge.co/vendor/braintree/braintree_php/phpcs.xml
<?xml version="1.0"?>
<ruleset name="MyRuleset">
    <description>Coding standard based on internal Braintree coding practices.</description>

    <!-- PSR-12 is the latest PHP published standard for code style.
         This ruleset includes PSR1 & 2 -->
		<rule ref="PSR12"/>

    <!-- Exclude some rules -->
    <!-- This rule pops up for Braintree.php and test files,
         and aren't really that smelly for those instances -->
    <rule ref="PSR1">
      <exclude-pattern>tests/*</exclude-pattern>
        <exclude name="PSR1.Files.SideEffects"/>
    </rule>

    <!-- Our tests use a syntax `methodname_doesAThingWeTest` so let's ignore -->
    <rule ref="PSR1.Methods.CamelCapsMethodName">
      <exclude-pattern>tests/*</exclude-pattern>
    </rule>

    <rule ref="Generic.Files.LineLength">
      <exclude name="Generic.Files.LineLength.TooLong"/>
    </rule>

    <!-- We mark internal properties and methods with `_`
         so let's ignore these two rules to save ignore comment lines -->
    <rule ref="PSR2.Classes.PropertyDeclaration">
        <exclude name="PSR2.Classes.PropertyDeclaration"/>
    </rule>

    <rule ref="PSR2.Methods.MethodDeclaration">
        <exclude name="PSR2.Methods.MethodDeclaration"/>
    </rule>

		<!-- NEXT_MAJOR_VERSION remove this rule and add visibility modifiers,
				 https://www.php.net/manual/en/language.oop5.constants.php -->
    <rule ref="PSR12.Properties.ConstantVisibility">
        <exclude name="PSR12.Properties.ConstantVisibility"/>
    </rule>

    <!-- scan for missing phpDoc -->
    <rule ref="Generic.Commenting">
      <exclude-pattern>tests/*</exclude-pattern>
      <exclude-pattern>lib/Braintree/Test/*</exclude-pattern>
			<exclude name="Generic.Commenting.DocComment.ShortNotCapital"/>
			<exclude name="Generic.Commenting.DocComment.LongNotCapital"/>
    </rule>

    <!-- NEXT_MAJOR_VERSION there are a number of public functions that are marked to ignore the rule
      PEAR.Commenting.FunctionComment.Missing in their class files. This is because they're public functions
      that aren't meant to be used by merchants as standalone functions. -->
    <rule ref="PEAR.Commenting">
			<properties>
				<property name="minimumVisibility" value="public" />
			</properties>
      <exclude-pattern>tests/*</exclude-pattern>
      <exclude-pattern>lib/Braintree/Test/*</exclude-pattern>
      <exclude name="PEAR.Commenting.FileComment.Missing"/>
      <exclude name="PEAR.Commenting.ClassComment.MissingCategoryTag"/>
      <exclude name="PEAR.Commenting.ClassComment.MissingAuthorTag"/>
      <exclude name="PEAR.Commenting.ClassComment.MissingLicenseTag"/>
      <exclude name="PEAR.Commenting.ClassComment.MissingLinkTag"/>
      <exclude name="PEAR.Commenting.ClassComment.CategoryTagOrder"/>
      <exclude name="PEAR.Commenting.ClassComment.PackageTagOrder"/>
      <exclude name="PEAR.Commenting.ClassComment.MissingPackageTag"/>
      <exclude name="PEAR.Commenting.FunctionComment.WrongStyle"/>
      <exclude name="PEAR.Commenting.FileComment.WrongStyle"/>
    </rule>
</ruleset>

Spamworldpro Mini