Dagger
Search

phpcs

No long description provided.

Installation

dagger install github.com/tsirysndr/daggerverse/phpcs@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d

Entrypoint

Return Type
Phpcs
Example
dagger -m github.com/tsirysndr/daggerverse/phpcs@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d call \
func (m *myModule) example() *Phpcs  {
	return dag.
			Phpcs()
}
@function
def example() -> dag.Phpcs:
	return (
		dag.phpcs()
	)
@func()
example(): Phpcs {
	return dag
		.phpcs()
}

Types

Phpcs 🔗

check() 🔗

Run phpcs 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/phpcs@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d call \
 check --src DIR_PATH
func (m *myModule) example(src *Directory) *Directory  {
	return dag.
			Phpcs().
			Check(src)
}
@function
def example(src: dagger.Directory) -> dagger.Directory:
	return (
		dag.phpcs()
		.check(src)
	)
@func()
example(src: Directory): Directory {
	return dag
		.phpcs()
		.check(src)
}