Magento 2 module testing tools gives error "short array syntax not allowed",
we do code like following
public function toOptionArray()
{
return [
['value' => 0, 'label' => __('Disable')],
['value' => 1, 'label' => __('Enable')],
];
}
Here is screenshot
Can any one tell me how can i solve this?