yiisoft/yii — pull request #894 by resurtm (2012-07-01 11:15:40+00:00)
Title: Code indentation fixes and other related minor changes

## I. Overview:

1. Unit tests is working the same way as before changes were applied.

2. Main method of searching was recursive searching inside directories by the `/^\ \ \ \ /` (line begin, space, space, space and space) regular expression.

3. BC, API and other logical stuff were not touched at all.

4. If i've missed something i will add it later.

## II. What was done:

1. Unicode CLDR was updated from the old version (v1.6; July 2, 2008) to the latest one (v21.0.2; June 6, 2012). Note that some CLDR locales were deleted since July 2, 2008. I've deleted them too (from `framework/i18n/data` directory).
Commits: [first](https://github.com/resurtm/yii/commit/48da7f039e366e391f33ddaff736eba1e3f447d8), [second](https://github.com/resurtm/yii/commit/f13a7e08353fad6ab7a92df571c79413f29283d0) and [third](https://github.com/resurtm/yii/commit/60292820fc3d68ad258236c708f7a34fb7c8e486)

2. Files generated by `build cldr` now tab indented. Before changes they're two spaces indented (default behavior of the `var_export`). Take a look at the file `build/commands/CldrCommand.php`, line №202. Commit: https://github.com/resurtm/yii/commit/b63f0662b9bec01078b7db05e65019380e02225d

3. Some spaces→tabs changes inside `requirements` application. Commit: https://github.com/resurtm/yii/commit/372567752b6aa4259ec24ee185939ffe4fe47553

4. `demos` directory. Commit: https://github.com/resurtm/yii/commit/7d2fd4a2b061bb05c60057eea0c4c01e5c3a60ea

5. `build` directory. Commit: https://github.com/resurtm/yii/commit/7ddff14dca6ab2527d6fbb16f416ccbc85c3cae3

6. Removed strange spare closing `

` tag from the `build/commands/lite/protected/views/post/show.php`. Commit: https://github.com/resurtm/yii/commit/74e7c90fb1d79372a3e92986658289c5c0746412

7. `framework` directory. Commits: [1](https://github.com/resurtm/yii/commit/8da7390520444258abac55e62d0cef9f79a3e472), [2](https://github.com/resurtm/yii/commit/c8cb7fa385f4816fd4021756b22373f253e8868b), [3](https://github.com/resurtm/yii/commit/372567752b6aa4259ec24ee185939ffe4fe47553) and [4](https://github.com/resurtm/yii/commit/6a1a52f9ef8679e6401c2ee38e2e9e151153bfed)

## III. What kind of files and directories were not altered:

I've ignored indentation style in the following directories:

* `demos/phonebook/flex`: no need to alter Adobe Flex IDE's settings and project files.
* `framework/vendors`
* `framework/web/js/source`
* `framework/gii/components/Pear`

More:

1. Code samples inside docblocks, *.tex files, documentation files and console output strings.

2. File `build/generate_accessors_phpdoc.php`.

3. Phing build file `build/build.xml`.

4. The whole `docs` directory. There were indentation problems too but i think i will work on it in the future in the separate pull request.

5. The whole `tests` directory. There were a lot of indentation problems. Will work on it in the separate PR too.