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