Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #70 from dingo-d/feature/add-readme
Browse files Browse the repository at this point in the history
Feature/add readme
  • Loading branch information
grappler authored May 26, 2018
2 parents 522502d + 1beeaac commit a0af96a
Showing 1 changed file with 76 additions and 0 deletions.
76 changes: 76 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
=== Theme Sniffer ===
Contributors: rabmalin, grapplerulrich, dingo_bastard
Tags: check, checker, coding standards, theme, tool
Requires at least: 4.4
Tested up to: 4.9.2
Requires PHP: 5.3
Stable tag: 0.1.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Theme Sniffer will help you analyze your theme code, ensuring the PHP and WordPress coding standards compatibility.

== Description ==

Theme Sniffer is a plugin utilizing custom sniffs for [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) that statically analyzes your theme and ensures that it adheres to WordPress coding conventions, as well as checking your code against PHP version compatibility.

== Installation ==

= Installing from WordPress repository: =

1. From the dashboard of your site, navigate to Plugins –> Add New.
2. In the Search type Theme Sniffer
3. Click Install Now
4. When it’s finished, activate the plugin via the prompt. A message will show confirming activation was successful.

Make sure that your server has php version greater or equal to 5.3, otherwise, the plugin won't activate.

= Uploading the .zip file: =

1. From the dashboard of your site, navigate to Plugins –> Add New.
2. Select the Upload option and hit "Choose File."
3. When the pop-up appears select the theme-sniffer.x.x.zip file from your desktop. (The ‘x.x’ will change depending on the current version number).
4. Follow the on-screen instructions and wait as the upload completes.
When it’s finished, activate the plugin via the prompt. A message will show confirming activation was successful.

== Frequently Asked Questions ==

= How to use the plugin? =

* Go to `Appearance` -> `Theme Sniffer`
* Select theme from the drop-down
* Click `GO`

= What options are there? =

* `Select Standard` - Select the standard with which you would like to sniff the theme
* `Hide Warning` - Enable this to hide warnings
* `Raw Output` - Enable this to display sniff report in plain text format. Suitable to copy/paste report to trac ticket
* `PHP version` - Select the minimum PHP Version to check if your theme will work with that version

== Upgrade Notice ==

The latest upgrade mostly with development changes and some minor improvements in sniff handling.

== Changelog ==

= 0.1.5 =
* Change the development process
* Modern JS development workflow

= 0.1.4 =
* Using REST instead of admin-ajax for checks
* Code optimization

= 0.1.3 =
* Update zip link in the readme file

= 0.1.2 =
* Add option to display report in HTML or raw format
* Update to latest sniffs

= 0.1.1 =
* Fix sniffer issues in admin files

= 0.1.0 =
* Initial pre-release

0 comments on commit a0af96a

Please sign in to comment.