Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coder
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
coder
Commits
eab40e85
There was an error fetching the commit references. Please try again later.
Commit
eab40e85
authored
10 years ago
by
Klaus Purer
Browse files
Options
Downloads
Patches
Plain Diff
Improved README to explain PHPUnit execution.
parent
92543d76
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.txt
+20
-2
20 additions, 2 deletions
README.txt
with
20 additions
and
2 deletions
README.txt
+
20
−
2
View file @
eab40e85
...
...
@@ -6,8 +6,12 @@ review standards.
Built-in support for:
- Drupal Coding Standards - http://drupal.org/node/318
- Handle text in a secure fashion - http://drupal.org/node/28984
- Converting 4.6.x modules to 4.7.x - http://drupal.org/node/22218
- Converting 4.7.x modules to 5.x - http://drupal.org/node/64279
Coder Sniffer
-------------
See the README.txt file in the coder_sniffer directory.
Installation
------------
...
...
@@ -16,6 +20,20 @@ Copy coder.module to your module directory and then enable on the admin
modules page. Enable the modules that admin/config/development/coder/settings
works on, then view the coder results page at coder.
Automated Testing (PHPUnit)
---------------------------
Coder Sniffer comes with a PHPUnit test suite to make sure the sniffs work correctly.
Use Composer to install the dependencies:
composer install
Then execute the tests:
./vendor/bin/phpunit
Author
------
Doug Green
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment