Skip to content

Commit 884e24d

Browse files
authored
v1.2.1 - Merge pull request #4 from JoryHogeveen/dev
v1.2.1
2 parents b7bc11a + eb24178 commit 884e24d

File tree

6 files changed

+258
-87
lines changed

6 files changed

+258
-87
lines changed

.codeclimate.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
---
2+
engines:
3+
duplication:
4+
enabled: true
5+
config:
6+
languages:
7+
- php
8+
fixme:
9+
enabled: true
10+
phpmd:
11+
enabled: true
12+
config:
13+
rulesets: "tests/phpmd.xml"
14+
phpcodesniffer:
15+
enabled: true
16+
config:
17+
standard: "Wordpress-Extra"
18+
checks:
19+
# Disable: Member variable "" is not in valid snake_case format
20+
WordPress NamingConventions ValidVariableName MemberNotSnakeCase:
21+
enabled: false
22+
# Disable: Object property "" is not in valid snake_case format
23+
WordPress NamingConventions ValidVariableName NotSnakeCaseMemberVar:
24+
enabled: false
25+
# Disable: Method name "" in class "" is not in snake case format, try ""
26+
WordPress NamingConventions ValidFunctionName MethodNameInvalid:
27+
enabled: false
28+
# Disable: Opening brace should be on the same line as the declaration for class
29+
WordPress Classes ClassOpeningStatement BraceOnNewLine:
30+
enabled: false
31+
# Disable: Overriding WordPress globals is prohibited
32+
WordPress Variables GlobalVariables OverrideProhibited:
33+
enabled: false
34+
# Disable: Expected # space before "!"; # found
35+
WordPress WhiteSpace OperatorSpacing SpacingBefore:
36+
enabled: false
37+
# Disable: Blank line found after control structure
38+
WordPress WhiteSpace ControlStructureSpacing BlankLineAfterEnd:
39+
enabled: false
40+
# Disable: The $domain arg should be single a string literal, not "".
41+
WordPress WP I18n NonSingularStringLiteralDomain:
42+
enabled: false
43+
# Disable: Expected next thing to be an escaping function (see Codex for 'Data Validation'), not ''
44+
WordPress XSS EscapeOutput OutputNotEscaped:
45+
enabled: false
46+
# Disable: The use of function "" is discouraged
47+
WordPress PHP DiscouragedFunctions Discouraged:
48+
enabled: false
49+
# Disable: Expected # spaces after parameter type; # found
50+
Squiz Commenting FunctionComment SpacingAfterParamType:
51+
enabled: false
52+
# Disable: This comment is #% valid code; is this commented out code?
53+
Squiz PHP CommentedOutCode Found:
54+
enabled: false
55+
# Disable: String "" does not require double quotes; use single quotes instead
56+
Squiz Strings DoubleQuoteUsage NotRequired:
57+
enabled: false
58+
# Disable: Expected 1 space after closing brace; newline found
59+
Squiz ControlStructures ControlSignature SpaceAfterCloseBrace:
60+
enabled: false
61+
# Disable: There must be exactly one blank line before the tags in a doc comment
62+
Generic Commenting DocComment SpacingBeforeTags:
63+
enabled: false
64+
# Disable: Inline control structures are not allowed
65+
Generic ControlStructures InlineControlStructure NotAllowed:
66+
enabled: false
67+
# Disable: Line indented incorrectly; expected at least # tabs, found #
68+
Generic WhiteSpace ScopeIndent Incorrect:
69+
enabled: false
70+
Generic WhiteSpace ScopeIndent IncorrectExact:
71+
enabled: false
72+
ratings:
73+
paths:
74+
- "**.css"
75+
- "**.js"
76+
- "**.jsx"
77+
- "**.module"
78+
- "**.php"
79+
exclude_paths:
80+
- tests/*
81+
- bin/*

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Adds Genesis (old bootstrap) column classes to widgets.
66
[![WordPress Plugin downloads](https://img.shields.io/wordpress/plugin/dt/genesis-widget-column-classes.svg?style=flat)](https://wordpress.org/plugins/genesis-widget-column-classes/)
77
[![WordPress Plugin rating](https://img.shields.io/wordpress/plugin/r/genesis-widget-column-classes.svg?style=flat)](https://wordpress.org/plugins/genesis-widget-column-classes/)
88
[![Travis](https://secure.travis-ci.org/JoryHogeveen/genesis-widget-column-classes.png?branch=master)](http://travis-ci.org/JoryHogeveen/genesis-widget-column-classes)
9+
[![Code Climate](https://codeclimate.com/github/JoryHogeveen/genesis-widget-column-classes/badges/gpa.svg)](https://codeclimate.com/github/JoryHogeveen/genesis-widget-column-classes)
910
[![License](https://img.shields.io/badge/license-GPL--2.0%2B-green.svg)](https://github.com/JoryHogeveen/genesis-widget-column-classes/blob/master/license.txt)
1011
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=YGPLMLU7XQ9E8&lc=NL&item_name=Genesis%20Widget%20Column%20Classes&item_number=JWPP%2dGWCC&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
1112

@@ -20,7 +21,7 @@ I've built this plugin for the Genesis Framework, though it will work with any t
2021
#### `genesis_widget_column_classes`
2122
Allows you to change the available column classes
2223

23-
**Parameters:** array (default column classes)
24+
**Parameters:** `array` (default column classes)
2425

2526
## Installation
2627

0 commit comments

Comments
 (0)