symfony/symfony — pull request #4263 by Ringosan (2012-05-11 15:43:12+00:00)
Title: [check_cs] Fixed and optimized the coding standard script

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: ~
Todo: ~
License of the code: MIT
Documentation PR: ~

Minor optimizations and fixes for the coding standard script. Fixes paths to skipped files which have now been moved.

[check_cs] Optimized coding standards script

* Defined skipped files array outside of foreach loop
* Reduced calls to $file->getRealPath() to one

[check_cs] Fixed skipped file paths

Paths to skipped files have changed since test files have been moved
into individual components

[check_cs] Optimized coding standards script

* Removed nested foreach loop

[check_cs] Minor formatting change