17 Commits

Author SHA1 Message Date
Gregor Harlan 1ecb64f0c2 CS: Pre incrementation/decrementation should be used if possible 2015-04-07 19:54:22 +02:00
Graham Campbell 2f8a6f96e2 [2.3] CS Fixes 2014-12-21 15:56:12 +01:00
Christian Flothmann 47b66544f8 define constant only if it wasn't defined before 2014-11-29 13:36:20 +01:00
Christian Flothmann 4993c270bb compare version using PHP_VERSION_ID
To let opcode caches optimize cached code, the `PHP_VERSION_ID`
constant is used to detect the current PHP version instead of calling
`version_compare()` with `PHP_VERSION`.
2014-11-17 17:27:42 +01:00
Christian Flothmann ea9e58e776 don't override internal PHP constants 2014-11-16 18:59:41 +01:00
Disquedur 46754025d0 Remove aligned '=>' and '=' 2014-10-26 08:30:58 +01:00
Fabien Potencier 39a9bc391d fixed CS 2014-09-22 10:32:35 +02:00
Fabien Potencier b321e4830b [ClassLoader] fixed PHP warning on PHP 5.3 2014-06-26 10:33:01 +02:00
Fabien Potencier e5f3ef7ebd Merge branch '2.2' into 2.3
* 2.2:
  Fix some annotates
  [FrameworkBundle] made sure that the debug event dispatcher is used everywhere
  [HttpKernel] remove unneeded strtoupper
  updated the composer install command to reflect changes in Composer

Conflicts:
	src/Symfony/Component/Console/Application.php
	src/Symfony/Component/Console/Command/Command.php
	src/Symfony/Component/Console/Input/InputDefinition.php
	src/Symfony/Component/CssSelector/Node/CombinedSelectorNode.php
	src/Symfony/Component/Form/Form.php
	src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php
	src/Symfony/Component/HttpKernel/DependencyInjection/RegisterListenersPass.php
	src/Symfony/Component/HttpKernel/Tests/DependencyInjection/RegisterListenersPassTest.php
	src/Symfony/Component/Locale/Locale.php
	src/Symfony/Component/Locale/README.md
	src/Symfony/Component/Locale/Stub/DateFormat/FullTransformer.php
2013-09-19 11:45:20 +02:00
bronze1man 77f69969b1 Fix some annotates 2013-09-19 11:36:05 +02:00
Dariusz Górecki d1e0a27c9c [CS Fix] Consistent coding-style of concatenation operator usage 2013-04-02 10:39:57 +01:00
Fabien Potencier 5256043be3 fixed CS 2012-07-09 14:54:20 +02:00
Włodzimierz Gajda 4e509e34c7 [2.1][Component][ClassLoader] cs 2012-04-23 08:41:33 +02:00
Martin Hasoň da83c40b12 [ClassLoader] Fixed version compare 2012-03-09 08:17:46 +01:00
Martin Hasoň cf6a149a52 [ClassLoader] Fixed ClassMapGenerator and added suport for traits 2012-03-08 11:08:56 +01:00
Fabien Potencier 3c683c933d fixed CS 2012-02-10 13:35:11 +01:00
Gyula Sallai 0245ee6ef1 [ClassLoader] Added a class map file generator utility
fixed cs

Small refactoring for Finder support

If class name found, return

Find multiple classes and namespaces in the same file

fixed problems with inheritance and non-php files

Renamed ClassMapDumper to ClassMapGenerator

fixed error with splfileinfo
2012-02-04 13:48:25 +01:00