incorrect php indentation

when i turn on php mode, the line is always auto-indented when i hit return, like some sort if smart indent but i didnt set anything about indentation. this is my setting:

var options = {
  lineNumbers: true,
  theme: 'base16-light',
  mode: 'text/x-php',
  autoCloseTags: true,
  autoCloseBrackets: true,
  styleActiveLine: true


anyone know how to fix this?

There is nothing incorrect about this. See this option and its stated default in the manual.

thanks. and please forgive my ignorance.