Skip to content

Commit

Permalink
fix: typo in PHP detection (#5348)
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel authored Oct 24, 2023
1 parent db107b3 commit 784c1ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/build-info/src/runtime/php.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion packages/build-info/src/runtime/php.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { LangRuntime } from './runtime.js'
export class Php extends LangRuntime {
id = 'php'
name = 'Php'
configFiles = ['compose.json']
configFiles = ['composer.json']
}

0 comments on commit 784c1ff

Please sign in to comment.