Dagger
Search

php-cs-fixer

No long description provided.

Installation

dagger install github.com/tsirysndr/daggerverse/php-cs-fixer@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d

Entrypoint

Return Type
PhpCsFixer
Example
dagger -m github.com/tsirysndr/daggerverse/php-cs-fixer@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d 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
NameTypeDefault ValueDescription
srcDirectory !-No description provided
pathString -No description provided
tagString -No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/php-cs-fixer@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d 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)
}