File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ public function testAddOptions()
150
150
*
151
151
* @return array set of args and expected parsed values
152
152
*/
153
- public function settingsWithValidOptions ()
153
+ public static function settingsWithValidOptions ()
154
154
{
155
155
return array (
156
156
array (
@@ -173,7 +173,7 @@ public function settingsWithValidOptions()
173
173
*
174
174
* @return array set of args and expected parsed values
175
175
*/
176
- public function settingsWithMissingOptions ()
176
+ public static function settingsWithMissingOptions ()
177
177
{
178
178
return array (
179
179
array (
@@ -192,7 +192,7 @@ public function settingsWithMissingOptions()
192
192
*
193
193
* @return array set of args and expected parsed values
194
194
*/
195
- public function settingsWithMissingOptionsWithDefault ()
195
+ public static function settingsWithMissingOptionsWithDefault ()
196
196
{
197
197
return array (
198
198
array (
@@ -206,7 +206,7 @@ public function settingsWithMissingOptionsWithDefault()
206
206
);
207
207
}
208
208
209
- public function settingsWithNoOptionsWithDefault ()
209
+ public static function settingsWithNoOptionsWithDefault ()
210
210
{
211
211
return array (
212
212
array (
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class Test_Colors extends TestCase {
8
8
/**
9
9
* @dataProvider dataColors
10
10
*/
11
- function testColors ( $ str , $ color ) {
11
+ public function testColors ( $ str , $ color ) {
12
12
// Colors enabled.
13
13
Colors::enable ( true );
14
14
@@ -21,7 +21,7 @@ function testColors( $str, $color ) {
21
21
}
22
22
}
23
23
24
- function dataColors () {
24
+ public static function dataColors () {
25
25
$ ret = array ();
26
26
foreach ( Colors::getColors () as $ str => $ color ) {
27
27
$ ret [] = array ( $ str , $ color );
You can’t perform that action at this time.
0 commit comments