GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — TrayDigita-Posts-Module/phpcs.xml at master · ArrayAccess/TrayDigita-Posts-Module

Expand file tree

/

phpcs.xml

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
66 lines (64 loc) · 2.69 KB
/

phpcs.xml

Copy path

File metadata and controls

66 lines (64 loc) · 2.69 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="UTF-8"?>
<!--suppress XmlPathReference -->
<ruleset name="TrayDigita Coding Standard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<description>TrayDigita Educational Module Coding Standard</description>
<!-- Display Progress -->
<arg value="p"/>
<!-- Show Ruleset -->
<arg value="s"/>
<!-- Encoding -->
<arg name="encoding" value="UTF-8"/>
<!-- Extension -->
<arg name="extensions" value="php"/>
<!-- parallel -->
<arg name="parallel" value="200"/>
<!-- Use Colorized Output -->
<arg name="colors"/>
<!-- Rule Set -->
<rule ref="PSR2"/>
<!-- preventing duplicate class name -->
<rule ref="Generic.Classes.DuplicateClassName"/>
<!-- must have line ending -->
<rule ref="Generic.Files.LineEndings"/>
<!-- array must be use short syntax array() == [] -->
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<!-- Path To Check -->
<file>.</file>
<exclude-pattern>vendor/</exclude-pattern>
<!-- constant visibility -->
<rule ref="PSR12.Properties">
<properties>
<property name="UseSpacing" value="1"/>
<property name="ConstantVisibility" value="1"/>
</properties>
</rule>
<!-- Slevomat Ruleset -->
<config name="installed_paths" value="vendor/slevomat/coding-standard/SlevomatCodingStandard"/>
<!-- detect spacing -->
<rule ref="SlevomatCodingStandard.Namespaces.UseSpacing">
<properties>
<property name="linesCountAfterLastUse" value="1"/>
<property name="linesCountBeforeFirstUse" value="1"/>
<property name="linesCountAfterLastUse" value="1"/>
<property name="linesCountBetweenUseTypes" value="0"/>
</properties>
</rule>
<!-- Require presence of declare(strict_types=1) & lines ruleset -->
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
<properties>
<property name="declareOnFirstLine" value="false"/>
<property name="spacesCountAroundEqualsSign" value="0"/>
<property name="linesCountAfterDeclare" value="1"/>
<property name="linesCountBeforeDeclare" value="0"/>
</properties>
</rule>
<!-- detect unused variables -->
<rule ref="SlevomatCodingStandard.Variables.UnusedVariable">
<properties>
<property name="ignoreUnusedValuesWhenOnlyKeysAreUsedInForeach" value="true"/>
</properties>
</rule>
<!-- we use strict! disallow equal operator, use identical for better code -->
<rule ref="SlevomatCodingStandard.Operators.DisallowEqualOperators"/>
</ruleset>
<!-- end -->
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.