File: code-sniffer-ruleset-tests.xml

package info (click to toggle)
php-phpseclib 2.0.42-1%2Bdeb12u2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,416 kB
  • sloc: php: 11,867; sh: 66; xml: 49; makefile: 25
file content (17 lines) | stat: -rw-r--r-- 629 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0"?>
<ruleset name="phpseclib Test Standard">

 <description>phpseclib coding standard for tests</description>

 <!-- In general rules that apply to library code also apply to tests. -->
 <rule ref="./code-sniffer-ruleset.xml">
  <!-- Exceptions to the library coding standard follow. -->

  <!-- Test classes do not have to be namespaced but may use pseudo-namespacing
       using underscore. -->
  <exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace" />
  <exclude name="Squiz.Classes.ValidClassName.NotCamelCaps" />
  <exclude name="PSR1.Files.SideEffects.FoundWithSymbols" />
 </rule>

</ruleset>