symfony/symfony — pull request #7891 by alexpods (2013-05-01 06:48:10+00:00)
Title: [FrameworkBundle] Place initialization of $bundlesDir out of the foreach loop.

Code enhancement. $bundlesDir variable doesn't need any bundle information for initialization. So it must be placed out of the loop to not process unnecessary operations.