FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cortext/phpcs.xml.dist at main · Automattic/cortext · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
Automattic
/
cortext
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
47
Code
Issues
49
Pull requests
8
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cortext
/
phpcs.xml.dist
Copy path
More file actions
More file actions
Latest commit
History
History
History
38 lines (31 loc) · 1.21 KB
Breadcrumbs
cortext
/
phpcs.xml.dist
Copy path
File metadata and controls
38 lines (31 loc) · 1.21 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
<?
xml
version
=
"
1.0
"
?>
<
ruleset
name
=
"
Cortext
"
>
<
description
>Cortext coding standards.</
description
>
<
file
>cortext.php</
file
>
<
file
>includes/</
file
>
<
exclude-pattern
>*/node_modules/*</
exclude-pattern
>
<
exclude-pattern
>*/vendor/*</
exclude-pattern
>
<
exclude-pattern
>*/build/*</
exclude-pattern
>
<
arg
name
=
"
extensions
"
value
=
"
php
"
/>
<
arg
name
=
"
colors
"
/>
<
arg
value
=
"
sp
"
/>
<
config
name
=
"
minimum_wp_version
"
value
=
"
7.0
"
/>
<
config
name
=
"
testVersion
"
value
=
"
8.1-
"
/>
<
rule
ref
=
"
WordPress
"
>
<!--
Project uses PSR-4 autoloading (Foo.php), not WPCS's class-foo.php convention.
-->
<
exclude
name
=
"
WordPress.Files.FileName
"
/>
<!--
PHP 8 strict types + self-explanatory names make docblocks redundant.
-->
<!--
Docblocks that do exist still need to be well-formed (Generic.Commenting.*).
-->
<
exclude
name
=
"
Squiz.Commenting.ClassComment.Missing
"
/>
<
exclude
name
=
"
Squiz.Commenting.FunctionComment.Missing
"
/>
<
exclude
name
=
"
Squiz.Commenting.FunctionComment.MissingParamComment
"
/>
<
exclude
name
=
"
Squiz.Commenting.VariableComment.Missing
"
/>
</
rule
>
<
rule
ref
=
"
WordPress.WP.I18n
"
>
<
properties
>
<
property
name
=
"
text_domain
"
type
=
"
array
"
>
<
element
value
=
"
cortext
"
/>
</
property
>
</
properties
>
</
rule
>
</
ruleset
>
Back
|
FazBrowse Home
|
New Git URL