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