Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kukulich committed Aug 25, 2020
1 parent eaf8842 commit 81642ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ private function processCondition(File $phpcsFile, int $parenthesisOpener, int $
foreach ($equalsTokenPointers as $equalsTokenPointer) {
$parenthesisStarts = array_keys($tokens[$equalsTokenPointer]['nested_parenthesis']);

/** @var int $insideParenthesis */
$insideParenthesis = max($parenthesisStarts);
if ($insideParenthesis === $parenthesisOpener) {
$this->error($phpcsFile, $conditionType, $equalsTokenPointer);
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"require-dev": {
"phing/phing": "2.16.3",
"php-parallel-lint/php-parallel-lint": "1.2.0",
"phpstan/phpstan": "0.12.37",
"phpstan/phpstan": "0.12.39",
"phpstan/phpstan-deprecation-rules": "0.12.5",
"phpstan/phpstan-phpunit": "0.12.16",
"phpstan/phpstan-strict-rules": "0.12.4",
"phpunit/phpunit": "7.5.20|8.5.2|9.3.5"
"phpunit/phpunit": "7.5.20|8.5.2|9.3.7"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 81642ab

Please sign in to comment.