dagger-psalm
No long description provided.
Installation
dagger install github.com/dragoonis/dagger-psalm@abacb82601f9af45ca22548e382fbf756e095b23
Entrypoint
Return Type
DaggerPsalm
Example
dagger -m github.com/dragoonis/dagger-psalm@abacb82601f9af45ca22548e382fbf756e095b23 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
psalm() 🔗
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@abacb82601f9af45ca22548e382fbf756e095b23 call \
psalm --php-version string --source DIR_PATH --path-to-test string
func (m *myModule) example(phpVersion string, source *Directory, pathToTest string) *Container {
return dag.
DaggerPsalm().
Psalm(phpVersion, source, pathToTest)
}
@function
def example(php_version: str, source: dagger.Directory, path_to_test: str) -> dagger.Container:
return (
dag.dagger_psalm()
.psalm(php_version, source, path_to_test)
)
@func()
example(phpVersion: string, source: Directory, pathToTest: string): Container {
return dag
.daggerPsalm()
.psalm(phpVersion, source, pathToTest)
}