-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
40 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,23 @@ | ||
{ | ||
"name": "eighteen73/orbit", | ||
"name": "eighteen73/orbit", | ||
"description": "Opinionated WordPress behaviour overrides", | ||
"type": "wordpress-muplugin", | ||
"license": "MIT", | ||
"autoload": { | ||
"psr-4": { | ||
"Eighteen73\\Orbit\\": "includes/classes/" | ||
} | ||
}, | ||
"minimum-stability": "stable", | ||
"require": { | ||
"php": ">=7.4" | ||
}, | ||
"require-dev": { | ||
"eighteen73/phpcs-composer": "^1.0.0" | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true, | ||
"composer/installers": true | ||
} | ||
}, | ||
"scripts": { | ||
"test": [ | ||
"phpcs" | ||
] | ||
} | ||
"type": "wordpress-muplugin", | ||
"license": "MIT", | ||
"minimum-stability": "stable", | ||
"require": { | ||
"php": ">=8.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Eighteen73\\Orbit\\": "includes/classes/" | ||
} | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
}, | ||
"require-dev": { | ||
"eighteen73/wordpress-coding-standards": "^2.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,5 +88,4 @@ public function show_notice() { | |
] | ||
); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,23 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="Project Rules"> | ||
<rule ref="Eighteen73-WordPress-Default" /> | ||
<ruleset name="Eighteen73-Orbit"> | ||
<description>Eighteen73 Orbit</description> | ||
|
||
<!-- Scan all files in directory --> | ||
<file>.</file> | ||
<exclude-pattern>dist/</exclude-pattern> | ||
<exclude-pattern>lib/packages/</exclude-pattern> | ||
<exclude-pattern>vendor/</exclude-pattern> | ||
<exclude-pattern>tests/</exclude-pattern> | ||
<exclude-pattern type="relative">lib/packages/*</exclude-pattern> | ||
|
||
<!-- Scan only PHP files --> | ||
<arg name="extensions" value="php"/> | ||
|
||
<!-- Show colors in console --> | ||
<arg value="-colors"/> | ||
|
||
<!-- Show sniff codes in all reports --> | ||
<arg value="ns"/> | ||
|
||
<rule ref="Squiz.PHP.EmbeddedPhp"> | ||
<exclude name="Squiz.Commenting.FileComment.Missing"/> | ||
</rule> | ||
|
||
<rule ref="Eighteen73-WordPress-Default" /> | ||
</ruleset> |