dagger-psalm
No long description provided.
Installation
dagger install github.com/dragoonis/dagger-psalm@b9c31cd04af84e1233499d23589feadc8f58a927
Entrypoint
Return Type
DaggerPsalm
Example
dagger -m github.com/dragoonis/dagger-psalm@b9c31cd04af84e1233499d23589feadc8f58a927 call \
func (m *myModule) example() *DaggerPsalm {
return dag.
DaggerPsalm()
}
@function
def example() -> dag.DaggerPsalm:
return (
dag.dagger_psalm()
)
@func()
example(): DaggerPsalm {
return dag
.daggerPsalm()
}
Types
DaggerPsalm 🔗
Run psalm against your php codebase
run() 🔗
psalm
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
phpVersion | String ! | - | No description provided |
source | Directory ! | - | No description provided |
pathToTest | String ! | - | No description provided |
Example
dagger -m github.com/dragoonis/dagger-psalm@b9c31cd04af84e1233499d23589feadc8f58a927 call \
run --php-version string --source DIR_PATH --path-to-test string
func (m *myModule) example(phpVersion string, source *Directory, pathToTest string) *Container {
return dag.
DaggerPsalm().
Run(phpVersion, source, pathToTest)
}
@function
def example(php_version: str, source: dagger.Directory, path_to_test: str) -> dagger.Container:
return (
dag.dagger_psalm()
.run(php_version, source, path_to_test)
)
@func()
example(phpVersion: string, source: Directory, pathToTest: string): Container {
return dag
.daggerPsalm()
.run(phpVersion, source, pathToTest)
}