Index: trunk/tools/code-utils/stylize.php |
— | — | @@ -118,7 +118,6 @@ |
119 | 119 | '^', |
120 | 120 | // '&', can be unary, we have a special case for =& |
121 | 121 | '*', |
122 | | - '-', |
123 | 122 | '=', |
124 | 123 | '+', |
125 | 124 | '|', |
— | — | @@ -130,7 +129,8 @@ |
131 | 130 | '?', |
132 | 131 | ); |
133 | 132 | static $spaceBefore = array( |
134 | | - ')' |
| 133 | + ')', |
| 134 | + '-', // $foo = -1; shouldn't change to $foo = - 1; |
135 | 135 | ); |
136 | 136 | static $spaceAfter = array( |
137 | 137 | '(', |