Dagger
Search

phpcs

This module provides a function to run phpcs on PHP files.

Installation

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

Entrypoint

Return Type
Phpcs
Example
dagger -m github.com/tsirysndr/daggerverse/phpcs@e8bed26dfefaaf4ef3d00958965575131f34c69c 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@e8bed26dfefaaf4ef3d00958965575131f34c69c 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)
}