Skip to content

Commit 7d47642

Browse files
Update dependency phpstan/phpstan to ^2.1.56 (#1110)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Filippo Tessarotto <zoeslam@gmail.com>
1 parent ade0ba5 commit 7d47642

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@
4545
"phpunit/php-timer": "^9",
4646
"phpunit/phpunit": "^13.1.12",
4747
"sebastian/environment": "^9.3.2",
48-
"symfony/console": "^7.4.8 || ^8.0.9",
49-
"symfony/process": "^7.4.8 || ^8.0.8"
48+
"symfony/console": "^7.4.8 || ^8.0.11",
49+
"symfony/process": "^7.4.8 || ^8.0.11"
5050
},
5151
"require-dev": {
5252
"ext-pcntl": "*",
5353
"ext-pcov": "*",
5454
"ext-posix": "*",
5555
"doctrine/coding-standard": "^14.0.0",
56-
"phpstan/phpstan": "^2.1.55",
56+
"phpstan/phpstan": "^2.1.56",
5757
"phpstan/phpstan-deprecation-rules": "^2.0.4",
5858
"phpstan/phpstan-phpunit": "^2.0.16",
5959
"phpstan/phpstan-strict-rules": "^2.0.11",
60-
"symfony/filesystem": "^7.4.8 || ^8.0.9"
60+
"symfony/filesystem": "^7.4.8 || ^8.0.11"
6161
},
6262
"autoload": {
6363
"psr-4": {

src/WrapperRunner/WrapperRunner.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,7 @@ public function __construct(
121121

122122
public function run(): int
123123
{
124-
$directory = dirname(__DIR__);
125-
assert($directory !== '');
126-
ExcludeList::addDirectory($directory);
124+
ExcludeList::addDirectory(dirname(__DIR__));
127125
$suiteLoader = new SuiteLoader(
128126
$this->options,
129127
$this->output,

0 commit comments

Comments
 (0)