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}}`