Dagger
Search

phpcs

No long description provided.

Installation

dagger install github.com/tsirysndr/daggerverse/phpcs@4f4fe6967c1e389a47b7ecd01c2f01bf520386a0

Entrypoint

Return Type
Phpcs
Example
dagger -m github.com/tsirysndr/daggerverse/phpcs@4f4fe6967c1e389a47b7ecd01c2f01bf520386a0 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 "latest"No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/phpcs@4f4fe6967c1e389a47b7ecd01c2f01bf520386a0 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)
}