MCPcopy Create free account
hub / github.com/XmirrorSecurity/OpenSCA-cli / Test_Php

Function Test_Php

test/php/php_test.go:10–33  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

8)
9
10func Test_Php(t *testing.T) {
11
12 std := tool.Dep("", "",
13 tool.Dep("opensca/test", "",
14 tool.Dep("http-interop/http-factory-guzzle", "1.2.0",
15 tool.Dep("guzzlehttp/psr7", "2.6.1",
16 tool.Dep("ralouphie/getallheaders", "3.0.3"),
17 ),
18 tool.Dep("psr/http-factory", "1.0.2"),
19 ),
20 tool.Dep("psr/http-message", "2.0"),
21 ),
22 )
23
24 tool.RunTaskCase(t, php.Sca{})([]tool.TaskCase{
25
26 // composer.lock
27 {Path: "1", Result: std},
28
29 // composer.json
30 {Path: "2", Result: std},
31 })
32
33}

Callers

nothing calls this directly

Calls 2

DepFunction · 0.92
RunTaskCaseFunction · 0.92

Tested by

no test coverage detected