psalm
No long description provided.
Installation
dagger install github.com/dragoonis/dagger-psalm@f9ace1b28fdec034f19e3fd2c513a3f549298569
Entrypoint
Return Type
Psalm
Example
dagger -m github.com/dragoonis/dagger-psalm@f9ace1b28fdec034f19e3fd2c513a3f549298569 call \
func (m *myModule) example() *Psalm {
return dag.
Psalm()
}
@function
def example() -> dag.Psalm:
return (
dag.psalm()
)
@func()
example(): Psalm {
return dag
.psalm()
}
Types
Psalm 🔗
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@f9ace1b28fdec034f19e3fd2c513a3f549298569 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.
Psalm().
Run(phpVersion, source, pathToTest)
}
@function
def example(php_version: str, source: dagger.Directory, path_to_test: str) -> dagger.Container:
return (
dag.psalm()
.run(php_version, source, path_to_test)
)
@func()
example(phpVersion: string, source: Directory, pathToTest: string): Container {
return dag
.psalm()
.run(phpVersion, source, pathToTest)
}