Skip to content

Commit

Permalink
build(deps-dev): update phpstan/phpstan requirement from 1.10.42 to 1…
Browse files Browse the repository at this point in the history
….10.56 (#1756)

* build(deps-dev): update phpstan/phpstan requirement

Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](phpstan/phpstan@1.10.42...1.10.56)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* menu.inc.php: fix PHPStan warning

> Variable $SubMenuBar in isset() always exists and is not nullable.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dan Hemberger <[email protected]>
  • Loading branch information
dependabot[bot] and hemberger authored Jan 16, 2024
1 parent b33965a commit e875f96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"require-dev": {
"fig-r/psr2r-sniffer": "1.4.0",
"overtrue/phplint": "9.0.4",
"phpstan/phpstan": "1.10.42",
"phpstan/phpstan": "1.10.56",
"phpunit/phpunit": "10.4.2",
"phpunit/php-code-coverage": "10.1.11",
"rector/rector": "0.15.13",
Expand Down
2 changes: 1 addition & 1 deletion src/templates/Default/engine/Default/includes/menu.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
}?>
</span><?php
} elseif (isset($SubMenuBar)) {
} else {
echo $SubMenuBar;
} ?>
</div>
Expand Down

0 comments on commit e875f96

Please sign in to comment.