Skip to content

Commit 73c8ebd

Browse files
committed
Revert "tests: use PHPStan binary directly"
This reverts commit 7cc0e00. It doesn't work with the PHAR distribution. Can be solved later.
1 parent 6d48c03 commit 73c8ebd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/DoctrineIntegration/ODM/DocumentManagerIntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function getDataPath(): string
2727

2828
public function getPhpStanExecutablePath(): string
2929
{
30-
return __DIR__ . '/../../../vendor/phpstan/phpstan/bin/phpstan';
30+
return __DIR__ . '/../../../vendor/bin/phpstan';
3131
}
3232

3333
public function getPhpStanConfigPath(): ?string

tests/DoctrineIntegration/ORM/EntityManagerIntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function getDataPath(): string
2828

2929
public function getPhpStanExecutablePath(): string
3030
{
31-
return __DIR__ . '/../../../vendor/phpstan/phpstan/bin/phpstan';
31+
return __DIR__ . '/../../../vendor/bin/phpstan';
3232
}
3333

3434
public function getPhpStanConfigPath(): ?string

tests/DoctrineIntegration/Persistence/ManagerRegistryIntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function getDataPath(): string
2424

2525
public function getPhpStanExecutablePath(): string
2626
{
27-
return __DIR__ . '/../../../vendor/phpstan/phpstan/bin/phpstan';
27+
return __DIR__ . '/../../../vendor/bin/phpstan';
2828
}
2929

3030
public function getPhpStanConfigPath(): ?string

0 commit comments

Comments
 (0)