squizlabs/PHP_CodeSniffer — pull request #157 by alexanderzimmermann (2013-09-24 18:41:51+00:00)
Title: Fixing the token pointer for all closing and opening curly and square brackets tokens

When T_LIST and or T_BREAK tokens exist in a css file, they are merged. The value for array indexes bracket_opener, bracket_closer has to be fixed. The code so far was ok. But if you have more than one T_LIST or T_BREAK it was not correct for the future tokens, after the tokens were merged. Not only the future bracket closer had to be fixed, also the future bracket opener when multiple css list-styles or *-break-* are defined.
I also added test cases for this behaviour.