ZF-11157: Two instructions in one line in Zend_Search_Lucene_Storage_Directory_Filesystem


Class: {{Zend_Search_Lucene_Storage_Directory_Filesystem}}

Method: {{deleteFile}}

Line: 209

Contents: {{$trackErrors = ini_get('track_errors'); ini_set('track_errors', '1');}}

Should be {{$trackErrors = ini_get('track_errors');}} {{ini_set('track_errors', '1');}}


As far as I can see, there is nothing in the ZF Coding Standards document that disallows this sort of construct. In my opinion it does make code harder to read, so I am inclined to agree that it should be changed.

Fixed in trunk r23906

Merged to release branch 1.11 r23964