Skip to content

Commit 143865b

Browse files
committed
Merge branch '2.6' into 2.7
* 2.6: Use PHPUnit ini_set wrapper in tests [Process] Added a test skip check for Windows [Process] Removed unused variable assignment Fixes various phpdoc and coding standards. Fixes Issue #13184 - incremental output getters now return empty strings Updated copyright to 2015 Updated copyright to 2015 Updated copyright to 2015 [VarDumper] increase debug.max_items to 2500 [Debug] Update exception messages. use value of DIRECTORY_SEPARATOR to detect Windows force ExpressionLanguage version >= 2.6 [Debug] fixes ClassNotFoundFatalErrorHandler to correctly handle class not found errors with Symfony ClassLoader component autoloaders. Clarify a comment. use PHP_WINDOWS_VERSION_BUILD to detect Windows Check if a field type_class is defined before using it. Currently if you want to use inline bootstrap form rendering, this is usually enough: Conflicts: src/Symfony/Component/Debug/composer.json
2 parents 8a9f8c6 + 36af986 commit 143865b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cloner/AbstractCloner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ abstract class AbstractCloner implements ClonerInterface
8080
':stream-context' => 'Symfony\Component\VarDumper\Caster\ResourceCaster::castStreamContext',
8181
);
8282

83-
protected $maxItems = 250;
83+
protected $maxItems = 2500;
8484
protected $maxString = -1;
8585

8686
private $casters = array();

Dumper/CliDumper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function __construct($output = null)
5252
{
5353
parent::__construct($output);
5454

55-
if (defined('PHP_WINDOWS_VERSION_MAJOR') && false !== @getenv('ANSICON')) {
55+
if ('\\' === DIRECTORY_SEPARATOR && false !== @getenv('ANSICON')) {
5656
// Use only the base 16 xterm colors when using ANSICON
5757
$this->setStyles(array(
5858
'default' => '31',
@@ -394,7 +394,7 @@ protected function supportsColors()
394394
}
395395
}
396396

397-
if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
397+
if ('\\' === DIRECTORY_SEPARATOR) {
398398
static::$defaultColors = @(false !== getenv('ANSICON') || 'ON' === getenv('ConEmuANSI'));
399399
} elseif (function_exists('posix_isatty')) {
400400
$h = stream_get_meta_data($this->outputStream) + array('wrapper_type' => null);

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2004-2014 Fabien Potencier
1+
Copyright (c) 2004-2015 Fabien Potencier
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)