From 02d60bf0eeda706a86924084626796bed823f0f7 Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Sat, 1 Oct 2022 09:04:57 +0100 Subject: [PATCH] pint: add page (#8558) * pint: add page * pint: fix descriptions --- pages/common/pint.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/pint.md diff --git a/pages/common/pint.md b/pages/common/pint.md new file mode 100644 index 000000000..15b2391a4 --- /dev/null +++ b/pages/common/pint.md @@ -0,0 +1,24 @@ +# Pint + +> An opinionated PHP code style fixer based on PHP-CS-Fixer. +> More information: . + +- Execute code style fixing: + +`pint` + +- Display all files that are changed: + +`pint -v` + +- Execute code style linting without applying changes: + +`pint --test` + +- Execute code style fixes using a specific config file: + +`pint --config {{path/to/pint.json}}` + +- Execute code style fixes using a specific preset: + +`pint --preset {{psr12}}`