many phpcs fixes
fix php5.4 array syntax