php-cs-fixer
This module provides a function to run php-cs-fixer on PHP files.
Installation
dagger install github.com/tsirysndr/daggerverse/php-cs-fixer@e8bed26dfefaaf4ef3d00958965575131f34c69c
Entrypoint
Return Type
PhpCsFixer
Example
func (m *myModule) 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 | "latest" | No description provided |
Example
func (m *myModule) example(src *Directory) *Directory {
return dag.
PhpCsFixer().
Fix(src)
}