php-cs-fixer
No long description provided.
Installation
dagger install github.com/tsirysndr/daggerverse/php-cs-fixer@17b6b3836e50a4df9a1d05f9c7f33a0669fc6f01
Entrypoint
Return Type
PhpCsFixer
Example
dagger -m github.com/tsirysndr/daggerverse/php-cs-fixer@17b6b3836e50a4df9a1d05f9c7f33a0669fc6f01 call \
func (m *myModule) example() *PhpCsFixer {
return dag.
PhpCsFixer()
}
@function
def example() -> dag.PhpCsFixer:
return (
dag.php_cs_fixer()
)
@func()
example(): PhpCsFixer {
return dag
.phpCsFixer()
}
Types
PhpCsFixer 🔗
fix() 🔗
Run php-cs-fixer on PHP files.
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
path | String | - | No description provided |
tag | String | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/php-cs-fixer@17b6b3836e50a4df9a1d05f9c7f33a0669fc6f01 call \
fix --src DIR_PATH
func (m *myModule) example(src *Directory) *Directory {
return dag.
PhpCsFixer().
Fix(src)
}
@function
def example(src: dagger.Directory) -> dagger.Directory:
return (
dag.php_cs_fixer()
.fix(src)
)
@func()
example(src: Directory): Directory {
return dag
.phpCsFixer()
.fix(src)
}