Skip to content

Commit

Permalink
Update PHPCS shared ruleset path
Browse files Browse the repository at this point in the history
  • Loading branch information
thelovekesh committed May 24, 2024
1 parent 99aa683 commit 9b0bcac
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion phpcs.xml.dist
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<ruleset name="WPP">
<description>WordPress Coding Standards for the Performance Features.</description>
<rule ref="bin/phpcs/phpcs.ruleset.xml"/>
<rule ref="tools/phpcs/phpcs.ruleset.xml"/>

<config name="text_domain" value="performance-lab,default"/>

Expand Down
2 changes: 1 addition & 1 deletion plugins/auto-sizes/phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ruleset name="WPP-AutoSizes">
<description>WordPress Coding Standards for Auto-sizes for Lazy-loaded Images Plugin</description>

<rule ref="../../bin/phpcs/phpcs.ruleset.xml"/>
<rule ref="../../tools/phpcs/phpcs.ruleset.xml"/>

<config name="text_domain" value="auto-sizes"/>

Expand Down
2 changes: 1 addition & 1 deletion plugins/dominant-color-images/phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ruleset name="WPP-DominantColorImages">
<description>WordPress Coding Standards for Image Placeholders Plugin</description>

<rule ref="../../bin/phpcs/phpcs.ruleset.xml"/>
<rule ref="../../tools/phpcs/phpcs.ruleset.xml"/>

<config name="text_domain" value="dominant-color-images,default"/>

Expand Down
2 changes: 1 addition & 1 deletion plugins/embed-optimizer/phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ruleset name="WPP-EmbedOptimizer">
<description>WordPress Coding Standards for Embed Optimizer Plugin</description>

<rule ref="../../bin/phpcs/phpcs.ruleset.xml"/>
<rule ref="../../tools/phpcs/phpcs.ruleset.xml"/>

<config name="text_domain" value="embed-optimizer"/>

Expand Down
2 changes: 1 addition & 1 deletion plugins/optimization-detective/phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ruleset name="WPP-OptimizationDetective">
<description>WordPress Coding Standards for Optimization Detective Plugin</description>

<rule ref="../../bin/phpcs/phpcs.ruleset.xml"/>
<rule ref="../../tools/phpcs/phpcs.ruleset.xml"/>

<config name="text_domain" value="optimization-detective"/>

Expand Down
2 changes: 1 addition & 1 deletion plugins/performance-lab/phpcs.xml.dist
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<ruleset name="WPP-PerformanceLab">
<description>WordPress Coding Standards for the Performance Lab Plugin</description>
<rule ref="bin/phpcs/phpcs.ruleset.xml"/>
<rule ref="../../tools/phpcs/phpcs.ruleset.xml"/>

<config name="text_domain" value="performance-lab,default"/>

Expand Down
2 changes: 1 addition & 1 deletion plugins/speculation-rules/phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ruleset name="WPP-SpeculationRules">
<description>WordPress Coding Standards for Speculative Loading Plugin</description>

<rule ref="../../bin/phpcs/phpcs.ruleset.xml"/>
<rule ref="../../tools/phpcs/phpcs.ruleset.xml"/>

<config name="text_domain" value="speculation-rules"/>

Expand Down
2 changes: 1 addition & 1 deletion plugins/webp-uploads/phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ruleset name="WPP-WebPUploads">
<description>WordPress Coding Standards for Modern Image Formats Plugin</description>

<rule ref="../../bin/phpcs/phpcs.ruleset.xml"/>
<rule ref="../../tools/phpcs/phpcs.ruleset.xml"/>

<config name="text_domain" value="webp-uploads"/>

Expand Down

0 comments on commit 9b0bcac

Please sign in to comment.