diff --git a/packages/build-info/src/runtime/php.test.ts b/packages/build-info/src/runtime/php.test.ts index 7ab5f933a1..86d6ff1f1a 100644 --- a/packages/build-info/src/runtime/php.test.ts +++ b/packages/build-info/src/runtime/php.test.ts @@ -8,9 +8,9 @@ beforeEach((ctx) => { ctx.fs = new NodeFS() }) -test('detects php when compose.json is present', async ({ fs }) => { +test('detects php when composer.json is present', async ({ fs }) => { const cwd = mockFileSystem({ - 'compose.json': '', + 'composer.json': '', }) const detected = await new Project(fs, cwd).detectRuntime() diff --git a/packages/build-info/src/runtime/php.ts b/packages/build-info/src/runtime/php.ts index 0e30bacc7c..d281928449 100644 --- a/packages/build-info/src/runtime/php.ts +++ b/packages/build-info/src/runtime/php.ts @@ -3,5 +3,5 @@ import { LangRuntime } from './runtime.js' export class Php extends LangRuntime { id = 'php' name = 'Php' - configFiles = ['compose.json'] + configFiles = ['composer.json'] }