Skip to content

Commit 81642ab

Browse files
committed
Updated dependencies
1 parent eaf8842 commit 81642ab

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

SlevomatCodingStandard/Sniffs/ControlStructures/AssignmentInConditionSniff.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ private function processCondition(File $phpcsFile, int $parenthesisOpener, int $
7474
foreach ($equalsTokenPointers as $equalsTokenPointer) {
7575
$parenthesisStarts = array_keys($tokens[$equalsTokenPointer]['nested_parenthesis']);
7676

77+
/** @var int $insideParenthesis */
7778
$insideParenthesis = max($parenthesisStarts);
7879
if ($insideParenthesis === $parenthesisOpener) {
7980
$this->error($phpcsFile, $conditionType, $equalsTokenPointer);

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
"require-dev": {
1818
"phing/phing": "2.16.3",
1919
"php-parallel-lint/php-parallel-lint": "1.2.0",
20-
"phpstan/phpstan": "0.12.37",
20+
"phpstan/phpstan": "0.12.39",
2121
"phpstan/phpstan-deprecation-rules": "0.12.5",
2222
"phpstan/phpstan-phpunit": "0.12.16",
2323
"phpstan/phpstan-strict-rules": "0.12.4",
24-
"phpunit/phpunit": "7.5.20|8.5.2|9.3.5"
24+
"phpunit/phpunit": "7.5.20|8.5.2|9.3.7"
2525
},
2626
"autoload": {
2727
"psr-4": {

0 commit comments

Comments
 (0)