PHP 5 array syntax

This commit is contained in:
nathangray 2018-09-05 09:22:47 -06:00
parent a4b4bae571
commit 91b5782e5f

View File

@ -272,10 +272,10 @@ class PreferencesCommandTest extends CommandBase
*/ */
public function typeDataProvider() { public function typeDataProvider() {
return array( return array(
['default'], Array('default'),
['user'], Array('user'),
//['group'], Not really supported yet //Array('group'), Not really supported yet
['forced'] Array('forced')
); );
} }
@ -286,12 +286,12 @@ class PreferencesCommandTest extends CommandBase
public function typeChangeDataProvider() { public function typeChangeDataProvider() {
$levels = array( $levels = array(
// Change and this should/should not change // Change and this should/should not change
['default', 'user', false], Array('default', 'user', false),
['default', 'forced', false], Array('default', 'forced', false),
['user', 'default', true], Array('user', 'default', true),
['user', 'forced', false], Array('user', 'forced', false),
['forced', 'user', true], Array('forced', 'user', true),
['forced', 'default', true], Array('forced', 'default', true),
); );