Skip to content

Commit 88ab062

Browse files
committed
cleaning
1 parent cf76984 commit 88ab062

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/commands/loadPHPStanConfig.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
import { Ext } from "../extension";
22
import { parsePHPStanConfigFile } from "../utils/phpstan";
3-
import { normalize } from "path";
43

54
export default async function loadPHPStanConfig(ext: Ext) {
65
if (!ext.store.phpstan.configPath) throw new Error("Config path is required");
76
const config = await parsePHPStanConfigFile(ext.store.phpstan.configPath, {
87
currentWorkingDirectory: ext.cwd,
9-
rootDir: normalize(ext.settings.path),
108
});
119
ext.log({ tag: "config", message: JSON.stringify(config, null, 2) });
1210
return config;

src/utils/phpstan.ts

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ export type PHPStanConfig = {
2929
};
3030

3131
export type PHPStanConfigEnv = {
32-
rootDir: string;
3332
currentWorkingDirectory: string;
3433
};
3534

0 commit comments

Comments
 (0)