php - Zend Studio formatter uses wrong format -


I am using when I press CTR + Shift + F, code is prepared like this

  $ adapter = $ this- & gt; GetAuthAdapter ($ form- & gt; getValues ​​()); $ Auth = Zend_Auth :: getInstance (); $ Result = $ auth-> Certify ($ Adapter); If (! $ Result-> is invalid ()) {$ form-> Set descriptor ('invalid credentials provided'); $ This- & gt; View- & gt; Form = $ form; Return $ $- & gt; Render ('index'); }   

But I want to be formatted like this

  $ adapter = $ this-> GetAuthAdapter ($ form- & gt; getValues ​​()); $ Auth = Zend_Auth :: getInstance (); $ Result = $ auth-> Certify ($ Adapter); If (! $ Result-> is invalid ()) {$ form-> Setdition ('invalid input'); $ This- & gt; View- & gt; Form = $ form; Return $ $- & gt; Render ('index'); }   

How to configure it?

The format can be configured in the window & gt; Preferences & gt; PHP & gt; Code style & gt; Format & gt; Edit ... & gt; Line wrapping

All settings are selected 'Do not Wrap'.

Comments