Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added PHP CodeSniffer to project (#51)
- Loading branch information
Showing
10 changed files
with
159 additions
and
108 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_style = space | ||
indent_size = 4 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
# .travis.yml | ||
[.travis.yml] | ||
indent_size = 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,10 @@ | ||
<?xml version="1.0"?> | ||
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHPColors" | ||
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd"> | ||
<description>The coding standard for PHPColors.</description> | ||
|
||
<file>./src</file> | ||
<file>./tests</file> | ||
|
||
<rule ref="PSR12"/> | ||
</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
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,19 +1,37 @@ | ||
{ | ||
"name": "mexitek/phpcolors", | ||
"description": "A series of methods that let you manipulate colors. Just incase you ever need different shades of one color on the fly.", | ||
"keywords": ["color", "ui", "css", "frontend", "design"], | ||
"type": "library", | ||
"keywords": [ | ||
"color", | ||
"ui", | ||
"css", | ||
"frontend", | ||
"design" | ||
], | ||
"homepage": "http://mexitek.github.com/phpColors/", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Arlo Carreon", | ||
"homepage": "http://arlocarreon.com", | ||
"role": "creator" | ||
} | ||
], | ||
"support": { | ||
"issues": "https://github.com/mexitek/phpColors/issues", | ||
"source": "https://github.com/mexitek/phpColors" | ||
}, | ||
"require": { | ||
"php": "^7.2" | ||
}, | ||
"require-dev": { | ||
"nette/tester": "^2.3" | ||
"nette/tester": "^2.3", | ||
"squizlabs/php_codesniffer": "^3.5" | ||
}, | ||
"authors" : [ | ||
{ "name": "Arlo Carreon", "homepage":"http://arlocarreon.com", "role" : "creator" } | ||
], | ||
"autoload": { | ||
"classmap": ["src"] | ||
"classmap": [ | ||
"src" | ||
] | ||
} | ||
} |
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
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
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