issues
search
xwp
/
WordPress-Coding-Standards
PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions
MIT License
29
stars
3
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Port over checks from VIP Scanner into sniffs
#30
westonruter
closed
11 years ago
1
Error using Wordpress sniffer in Sublime Text
#29
lamakun
opened
11 years ago
1
} else { //Are we allowed to comment here? If not, message is wrong
#28
mwic
closed
11 years ago
3
Unit tests
#27
gedex
closed
11 years ago
7
Extra characters in output of phpcs with WordPress standard
#26
KenCarlson
closed
11 years ago
2
Create sniff to flag failure to properly enqueue scripts and styles
#25
westonruter
closed
11 years ago
1
Provide a script to restrict phpcs to only report on lines modified in the repo
#24
westonruter
closed
11 years ago
1
Create sniff to disallow brace-less blocks, which are prone to break
#23
westonruter
closed
11 years ago
1
Fixes for Issue #19
#22
kucrut
closed
11 years ago
1
Create unit tests for sniffs
#21
westonruter
closed
11 years ago
0
Merge relevant changes (cherry-pick) from other forks
#20
westonruter
closed
11 years ago
1
Clean up code formatting in sniffs themselves
#19
westonruter
closed
11 years ago
0
Ensure compatibility with latest version of PHP_CodeSniffer (1.4.3)
#18
westonruter
closed
11 years ago
1
Create sniff to flag unintentional overrides of WordPress globals
#17
westonruter
closed
11 years ago
1
Make the Escaped Output sniff smarter
#16
c3mdigital
closed
11 years ago
3
Create sniff to make sure that wp_reset_postdata() is called after sub-loop
#15
westonruter
closed
11 years ago
2
Create sniff to enforce registration of scripts and stylesheets
#14
westonruter
closed
11 years ago
2
Create sniff to flag missing PHPDoc comments
#13
westonruter
closed
11 years ago
3
Create sniff to detect lack of namespacing/prefixing on globals
#12
westonruter
closed
11 years ago
1
Create sniff to warn if too much logic is appearing in the template
#11
westonruter
closed
11 years ago
1
Create sniff to flag string-concatenating markup in variables as warnings
#10
westonruter
closed
11 years ago
1
Align sniffs with the WordPress coding conventions
#9
westonruter
closed
11 years ago
1
Analyze repositories for common mistakes and violations from coding conventions
#8
westonruter
closed
11 years ago
1
Integrate Sniffs with WP-CLI
#7
westonruter
closed
11 years ago
7
Add sniff to ensure that $wpdb->query() is passed prepared SQL
#6
westonruter
closed
11 years ago
1
Add sniff to require a $wpdb->prepare() to have a 2nd argument
#5
westonruter
closed
11 years ago
1
Require alternative syntax for control structures in templates
#4
westonruter
closed
11 years ago
1
Enforce consistent style for spacing in control structures
#3
westonruter
closed
11 years ago
1
Fix sniff which requires each line of multi-line arrays to end in commas
#2
westonruter
closed
11 years ago
1
Create sniff to disallow query_posts()
#1
westonruter
closed
11 years ago
6