phpstan
No long description provided.
Installation
dagger install github.com/dagger-php/phpstan@ad2da8df97657651c2aa34667f1c02917c012e7fEntrypoint
Return Type
Phpstan Example
dagger -m github.com/dagger-php/phpstan@ad2da8df97657651c2aa34667f1c02917c012e7f call \
func (m *MyModule) Example() *dagger.Phpstan {
return dag.
Phpstan()
}@function
def example() -> dagger.Phpstan:
return (
dag.phpstan()
)@func()
example(): Phpstan {
return dag
.phpstan()
}Types
Phpstan 🔗
Run phpstan against your php codebase
analyse() 🔗
phpstan
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Directory ! | - | No description provided |
| pathToTest | String ! | - | No description provided |
Example
dagger -m github.com/dagger-php/phpstan@ad2da8df97657651c2aa34667f1c02917c012e7f call \
analyse --source DIR_PATH --path-to-test stringfunc (m *MyModule) Example(source *dagger.Directory, pathToTest string) *dagger.Container {
return dag.
Phpstan().
Analyse(source, pathToTest)
}@function
def example(source: dagger.Directory, path_to_test: str) -> dagger.Container:
return (
dag.phpstan()
.analyse(source, path_to_test)
)@func()
example(source: Directory, pathToTest: string): Container {
return dag
.phpstan()
.analyse(source, pathToTest)
}memoryLimit() 🔗
memoryLimit
Return Type
Phpstan !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| limit | String ! | - | No description provided |
Example
dagger -m github.com/dagger-php/phpstan@ad2da8df97657651c2aa34667f1c02917c012e7f call \
memory-limit --limit stringfunc (m *MyModule) Example(limit string) *dagger.Phpstan {
return dag.
Phpstan().
MemoryLimit(limit)
}@function
def example(limit: str) -> dagger.Phpstan:
return (
dag.phpstan()
.memory_limit(limit)
)@func()
example(limit: string): Phpstan {
return dag
.phpstan()
.memoryLimit(limit)
}level() 🔗
level
Return Type
Phpstan !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| level | String ! | - | No description provided |
Example
dagger -m github.com/dagger-php/phpstan@ad2da8df97657651c2aa34667f1c02917c012e7f call \
level --level stringfunc (m *MyModule) Example(level string) *dagger.Phpstan {
return dag.
Phpstan().
Level(level)
}@function
def example(level: str) -> dagger.Phpstan:
return (
dag.phpstan()
.level(level)
)@func()
example(level: string): Phpstan {
return dag
.phpstan()
.level(level)
}noProgress() 🔗
noProgress
Return Type
Phpstan !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| noProgress | Boolean ! | - | No description provided |
Example
dagger -m github.com/dagger-php/phpstan@ad2da8df97657651c2aa34667f1c02917c012e7f call \
no-progress --no-progress booleanfunc (m *MyModule) Example(noProgress bool) *dagger.Phpstan {
return dag.
Phpstan().
NoProgress(noProgress)
}@function
def example(no_progress: bool) -> dagger.Phpstan:
return (
dag.phpstan()
.no_progress(no_progress)
)@func()
example(noProgress: boolean): Phpstan {
return dag
.phpstan()
.noProgress(noProgress)
}debug() 🔗
debug
Return Type
Phpstan !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| debug | Boolean ! | - | No description provided |
Example
dagger -m github.com/dagger-php/phpstan@ad2da8df97657651c2aa34667f1c02917c012e7f call \
debug --debug booleanfunc (m *MyModule) Example(debug bool) *dagger.Phpstan {
return dag.
Phpstan().
Debug(debug)
}@function
def example(debug: bool) -> dagger.Phpstan:
return (
dag.phpstan()
.debug(debug)
)@func()
example(debug: boolean): Phpstan {
return dag
.phpstan()
.debug(debug)
}quiet() 🔗
quiet
Return Type
Phpstan !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| quiet | Boolean ! | - | No description provided |
Example
dagger -m github.com/dagger-php/phpstan@ad2da8df97657651c2aa34667f1c02917c012e7f call \
quiet --quiet booleanfunc (m *MyModule) Example(quiet bool) *dagger.Phpstan {
return dag.
Phpstan().
Quiet(quiet)
}@function
def example(quiet: bool) -> dagger.Phpstan:
return (
dag.phpstan()
.quiet(quiet)
)@func()
example(quiet: boolean): Phpstan {
return dag
.phpstan()
.quiet(quiet)
}phpVersion() 🔗
memoryLimit
Return Type
Phpstan !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| phpVersion | String ! | - | No description provided |
Example
dagger -m github.com/dagger-php/phpstan@ad2da8df97657651c2aa34667f1c02917c012e7f call \
php-version --php-version stringfunc (m *MyModule) Example(phpVersion string) *dagger.Phpstan {
return dag.
Phpstan().
PhpVersion(phpVersion)
}@function
def example(php_version: str) -> dagger.Phpstan:
return (
dag.phpstan()
.php_version(php_version)
)@func()
example(phpVersion: string): Phpstan {
return dag
.phpstan()
.phpVersion(phpVersion)
}