Dagger
Search

phpstan

No long description provided.

Installation

dagger install github.com/dragoonis/dagger-phpstan@30d7518bdf42c238940790110c6169cbb7d3dcc9

Entrypoint

Return Type
Phpstan
Example
dagger -m github.com/dragoonis/dagger-phpstan@30d7518bdf42c238940790110c6169cbb7d3dcc9 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
NameTypeDefault ValueDescription
phpVersionString !-No description provided
sourceDirectory !-No description provided
pathToTestString !-No description provided
Example
dagger -m github.com/dragoonis/dagger-phpstan@30d7518bdf42c238940790110c6169cbb7d3dcc9 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)
}