phpcbf
This module provides a function to run phpcbf on PHP files.
Installation
dagger install github.com/tsirysndr/daggerverse/phpcbf@e8bed26dfefaaf4ef3d00958965575131f34c69c
Entrypoint
Return Type
Phpcbf
Example
dagger -m github.com/tsirysndr/daggerverse/phpcbf@e8bed26dfefaaf4ef3d00958965575131f34c69c call \
func (m *myModule) example() *Phpcbf {
return dag.
Phpcbf()
}
@function
def example() -> dag.Phpcbf:
return (
dag.phpcbf()
)
@func()
example(): Phpcbf {
return dag
.phpcbf()
}
Types
Phpcbf 🔗
check() 🔗
Run phpcbf on PHP files.
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
path | String | "." | No description provided |
tag | String | "latest" | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/phpcbf@e8bed26dfefaaf4ef3d00958965575131f34c69c call \
check --src DIR_PATH
func (m *myModule) example(src *Directory) *Directory {
return dag.
Phpcbf().
Check(src)
}
@function
def example(src: dagger.Directory) -> dagger.Directory:
return (
dag.phpcbf()
.check(src)
)
@func()
example(src: Directory): Directory {
return dag
.phpcbf()
.check(src)
}