MCPcopy Index your code
hub / github.com/php/frankenphp / testStubFunctions

Function testStubFunctions

internal/extgen/stub_test.go:572–577  ·  view source on GitHub ↗
(t *testing.T, content string, functions []phpFunction)

Source from the content-addressed store, hash-verified

570}
571
572func testStubFunctions(t *testing.T, content string, functions []phpFunction) {
573 for _, fn := range functions {
574 expectedFunc := "function " + fn.Signature + " {}"
575 assert.Contains(t, content, expectedFunc, "Stub should contain function: %s", expectedFunc)
576 }
577}
578
579func testStubClasses(t *testing.T, content string, classes []phpClass) {
580 for _, class := range classes {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected