php - How to enforce long syntax for array declaration in phpstorm? -



php - How to enforce long syntax for array declaration in phpstorm? -

i quite used using short array syntax [] instead of longer 1 array(). now, forced server environment using longer one.

phpstorm allows enforce shorter syntax arrays in code style > php > array declaration style > forcefulness short declaration style:

now, want accomplish reverse.

having automatically replaced preferred, help mark short declaration style error.

from project settings > php take php language level 5.3 , mark short array syntax error.

php arrays syntax phpstorm

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -