Skip to content

Commit f6d1e5a

Browse files
committed
ci: add composer script for local pipeline runs
1 parent a9ffe87 commit f6d1e5a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Diff for: composer.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,16 @@
106106
"cache:clear": "symfony-cmd",
107107
"assets:install %PUBLIC_DIR%": "symfony-cmd",
108108
"importmap:install": "symfony-cmd"
109-
}
109+
},
110+
"pipeline": [
111+
"composer validate --strict",
112+
"php -l src/**/*.php tests/**/*.php",
113+
"bin/console lint:twig templates",
114+
"bin/console lint:yaml config",
115+
"bin/console lint:container",
116+
"PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run",
117+
"phpstan analyse",
118+
"XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html=coverage"
119+
]
110120
}
111121
}

0 commit comments

Comments
 (0)