move to new array syntax in php 5.4 for owncloud 8

@PVince81 @nickvergessen @MorrisJobke