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

Commit 333b537

Browse files
committed
Change nuances to nuance for consistency.
1 parent db6c296 commit 333b537

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ Give a try, use the included `testcases.php` to generate a report:
5151
**-t**
5252
```
5353
Types of tests to run.
54-
By default all tests will run. This option allows tests to be selected using a comma delimited list. Allowable values: critical, nuances, and syntax.
55-
*Example: -t="syntax,nuances"*
54+
By default all tests will run. This option allows tests to be selected using a comma delimited list. Allowable values: critical, nuance, and syntax.
55+
*Example: -t="syntax,nuance"*
5656
```
5757

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

69-
##Nuances
69+
##Nuance
7070
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.
7171

7272
##Syntax
73-
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"
73+
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"

classes/options.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ class options {
7070
'option' => self::OPTION_OPTIONAL,
7171
'value' => self::VALUE_REQUIRED,
7272
'comment' => 'Types of tests to run.',
73-
'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.',
74-
'example' => '-t="syntax,nuances"',
73+
'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.',
74+
'example' => '-t="syntax,nuance"',
7575
'allowed' => [
7676
'critical',
77-
'nuances',
77+
'nuance',
7878
'syntax'
7979
]
8080
]

classes/tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class tests {
1919
*/
2020
private $testTypes = [
2121
'critical' => null,
22-
'nuances' => null
22+
'nuance' => null
2323
];
2424

2525
/**

classes/tests/nuances.php renamed to classes/tests/nuance.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* PHP 7 MAR
4-
* MAR Nuances Tests Class
4+
* MAR Nuance Tests Class
55
*
66
* @author Alexia E. Smith <washuu@gmail.com>
77
* @copyright 2015 Alexia E. Smith
@@ -10,13 +10,13 @@
1010

1111
namespace mar\tests;
1212

13-
class nuances {
13+
class nuance {
1414
/**
1515
* What test type this is, should be the same as the class name.
1616
*
1717
* @var string
1818
*/
19-
private $testType = 'nuances';
19+
private $testType = 'nuance';
2020

2121
/**
2222
* Tests to be registered.

0 commit comments

Comments
 (0)