-
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.
Merge pull request #8 from level-level/wider-cc-version-support
Wider cc version support
- Loading branch information
Showing
4 changed files
with
48 additions
and
5 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
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,13 +1,31 @@ | ||
{ | ||
"name": "level-level/clarkson-404", | ||
"type": "wordpress-muplugin", | ||
"license": "MIT", | ||
"description": "A plugin to set a custom page as 404 for using with Clarkson.", | ||
"authors": [ | ||
{ | ||
"name": "Level Level", | ||
"homepage": "https://level-level.com" | ||
} | ||
], | ||
"require-dev": { | ||
"wp-coding-standards/wpcs": "^2.3", | ||
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2" | ||
}, | ||
"scripts": { | ||
"fix" : [ | ||
"phpcbf" | ||
], | ||
"test": [ | ||
"composer validate", | ||
"phpcs" | ||
], | ||
"phpunit":[ | ||
"phpunit" | ||
] | ||
}, | ||
"require": { | ||
"level-level/clarkson-core": "^1.0.0" | ||
"level-level/clarkson-core": "^1 | ^2" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="clarkson_core"> | ||
<description>Level Level Clarkson Core ruleset</description> | ||
|
||
<file>./clarkson-404.php</file> | ||
|
||
<!--<arg name="report" value="summary"/>--> | ||
<arg name="colors"/> | ||
<arg value="sp"/> | ||
|
||
<rule ref="Squiz.PHP.CommentedOutCode"/> | ||
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/> | ||
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/> | ||
<rule ref="Generic.Commenting.Todo"/> | ||
<rule ref="Generic.ControlStructures.InlineControlStructure"/> | ||
|
||
<rule ref="WordPress-Core"> | ||
<exclude name="WordPress.Files.FileName.InvalidClassFileName" /> | ||
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.Found" /> | ||
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase" /> | ||
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.FoundBeforeLastUsed" /> | ||
</rule> | ||
</ruleset> |
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