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

Commit

Permalink
Change nuances to nuance for consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexia committed May 22, 2015
1 parent db6c296 commit 333b537
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -51,8 +51,8 @@ Give a try, use the included `testcases.php` to generate a report:
**-t**
```
Types of tests to run.
By default all tests will run. This option allows tests to be selected using a comma delimited list. Allowable values: critical, nuances, and syntax.
*Example: -t="syntax,nuances"*
By default all tests will run. This option allows tests to be selected using a comma delimited list. Allowable values: critical, nuance, and syntax.
*Example: -t="syntax,nuance"*
```

**--php**
Expand All @@ -66,8 +66,8 @@ Give a try, use the included `testcases.php` to generate a report:
##Critical
Critical tests look for issues that will cause broken code, compilation errors, or otherwise create code that works in unintended manors.

##Nuances
##Nuance
Nuance tests look for issues that might cause silent underisable code behavior. These tests can report many false positives as they can not determine the intent of the code being checked.

##Syntax
A basic command line based syntax checker that checks all files for standard syntax issues. This is useful for double checking work after making many mass find and replace operations. Please note that syntax checking adds a significant increase to processing time especially for large code bases. To run without syntax checking use the -t option and omit syntax; -t="critical,nuances"
A basic command line based syntax checker that checks all files for standard syntax issues. This is useful for double checking work after making many mass find and replace operations. Please note that syntax checking adds a significant increase to processing time especially for large code bases. To run without syntax checking use the -t option and omit syntax; -t="critical,nuance"
6 changes: 3 additions & 3 deletions classes/options.php
Expand Up @@ -70,11 +70,11 @@ class options {
'option' => self::OPTION_OPTIONAL,
'value' => self::VALUE_REQUIRED,
'comment' => 'Types of tests to run.',
'description' => 'By default all tests will run. This option allows tests to be selected using a comma delimited list. Allowable values: critical, nuances, and syntax.',
'example' => '-t="syntax,nuances"',
'description' => 'By default all tests will run. This option allows tests to be selected using a comma delimited list. Allowable values: critical, nuance, and syntax.',
'example' => '-t="syntax,nuance"',
'allowed' => [
'critical',
'nuances',
'nuance',
'syntax'
]
]
Expand Down
2 changes: 1 addition & 1 deletion classes/tests.php
Expand Up @@ -19,7 +19,7 @@ class tests {
*/
private $testTypes = [
'critical' => null,
'nuances' => null
'nuance' => null
];

/**
Expand Down
6 changes: 3 additions & 3 deletions classes/tests/nuances.php → classes/tests/nuance.php
@@ -1,7 +1,7 @@
<?php
/**
* PHP 7 MAR
* MAR Nuances Tests Class
* MAR Nuance Tests Class
*
* @author Alexia E. Smith <washuu@gmail.com>
* @copyright 2015 Alexia E. Smith
Expand All @@ -10,13 +10,13 @@

namespace mar\tests;

class nuances {
class nuance {
/**
* What test type this is, should be the same as the class name.
*
* @var string
*/
private $testType = 'nuances';
private $testType = 'nuance';

/**
* Tests to be registered.
Expand Down

0 comments on commit 333b537

Please sign in to comment.