Skip to content
Snippets Groups Projects
Commit 6e822ed1 authored by Ted Bowman's avatar Ted Bowman
Browse files

phpstan

parent 5d92c872
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,6 @@ abstract class PackageManagerKernelTestBase extends KernelTestBase {
* The Symfony filesystem class.
*
* @var \Symfony\Component\Filesystem\Filesystem
* @phpstan-ignore-next-line
*/
private readonly Filesystem $fileSystem;
......@@ -105,7 +104,6 @@ abstract class PackageManagerKernelTestBase extends KernelTestBase {
* @var \ColinODell\PsrTestLogger\TestLogger
*
* @see ::tearDown()
* @phpstan-ignore-next-line
*/
protected readonly TestLogger $failureLogger;
......
......@@ -108,7 +108,7 @@ class PathLocatorTest extends UnitTestCase {
public function testWebRoot(string $app_root, string $project_root, string $expected_web_root): void {
$path_locator = $this->getMockBuilder(PathLocator::class)
// Mock all methods except getWebRoot().
->setMethodsExcept(['getWebRoot'])
->onlyMethods(['getProjectRoot', 'getStagingRoot', 'getVendorDirectory'])
->setConstructorArgs([
$app_root,
$this->getConfigFactoryStub(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment