Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dbd1ee0

Browse filesBrowse files
committed
minor #19265 Fixed problems found by SensioLabsInsight (fabpot)
This PR was merged into the 3.2-dev branch. Discussion ---------- Fixed problems found by SensioLabsInsight | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 1bd6da6 fixed problems found by SensioLabsInsight
2 parents 7eab6b9 + 1bd6da6 commit dbd1ee0
Copy full SHA for dbd1ee0

File tree

3 files changed

+6
-6
lines changed
Filter options

3 files changed

+6
-6
lines changed

‎src/Symfony/Component/Cache/Adapter/RedisAdapterTrait.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Cache/Adapter/RedisAdapterTrait.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Symfony\Component\Cache\Adapter;
1313

14-
use Predis\Connection\Aggregate\RedisCluster;
14+
use Predis\Connection\Aggregate\PredisCluster;
1515
use Symfony\Component\Cache\Exception\InvalidArgumentException;
1616

1717
/**

‎src/Symfony/Component/Console/Application.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Application.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ public function renderException(\Exception $e, OutputInterface $output)
693693
*/
694694
protected function getTerminalWidth()
695695
{
696-
@trigger_error(sprintf('%s is deprecated as of 3.2 and will be removed in 4.0. Create a Terminal instance instead.', __METHOD__, ArgumentResolverInterface::class), E_USER_DEPRECATED);
696+
@trigger_error(sprintf('%s is deprecated as of 3.2 and will be removed in 4.0. Create a Terminal instance instead.', __METHOD__), E_USER_DEPRECATED);
697697

698698
return $this->terminal->getWidth();
699699
}
@@ -707,7 +707,7 @@ protected function getTerminalWidth()
707707
*/
708708
protected function getTerminalHeight()
709709
{
710-
@trigger_error(sprintf('%s is deprecated as of 3.2 and will be removed in 4.0. Create a Terminal instance instead.', __METHOD__, ArgumentResolverInterface::class), E_USER_DEPRECATED);
710+
@trigger_error(sprintf('%s is deprecated as of 3.2 and will be removed in 4.0. Create a Terminal instance instead.', __METHOD__), E_USER_DEPRECATED);
711711

712712
return $this->terminal->getHeight();
713713
}
@@ -721,7 +721,7 @@ protected function getTerminalHeight()
721721
*/
722722
public function getTerminalDimensions()
723723
{
724-
@trigger_error(sprintf('%s is deprecated as of 3.2 and will be removed in 4.0. Create a Terminal instance instead.', __METHOD__, ArgumentResolverInterface::class), E_USER_DEPRECATED);
724+
@trigger_error(sprintf('%s is deprecated as of 3.2 and will be removed in 4.0. Create a Terminal instance instead.', __METHOD__), E_USER_DEPRECATED);
725725

726726
return array($this->terminal->getWidth(), $this->terminal->getHeight());
727727
}
@@ -740,7 +740,7 @@ public function getTerminalDimensions()
740740
*/
741741
public function setTerminalDimensions($width, $height)
742742
{
743-
@trigger_error(sprintf('%s is deprecated as of 3.2 and will be removed in 4.0. Set the COLUMNS and LINES env vars instead.', __METHOD__, ArgumentResolverInterface::class), E_USER_DEPRECATED);
743+
@trigger_error(sprintf('%s is deprecated as of 3.2 and will be removed in 4.0. Set the COLUMNS and LINES env vars instead.', __METHOD__), E_USER_DEPRECATED);
744744

745745
putenv('COLUMNS='.$width);
746746
putenv('LINES='.$height);

‎src/Symfony/Component/Console/Terminal.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Terminal.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ private static function initDimensions()
6060
// or [w, h] from "wxh"
6161
self::$width = (int) $matches[1];
6262
self::$height = isset($matches[4]) ? (int) $matches[4] : (int) $matches[2];
63-
} elseif (null != $dimensions = self::getConsoleMode()) {
63+
} elseif (null !== $dimensions = self::getConsoleMode()) {
6464
// extract [w, h] from "wxh"
6565
self::$width = (int) $dimensions[0];
6666
self::$height = (int) $dimensions[1];

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.