mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
8 lines
184 B
Bash
8 lines
184 B
Bash
#!/bin/sh
|
|
|
|
# Install a pre-commit hook that
|
|
# automatically runs php-cs-fixer to lint code
|
|
mkdir -p .git/hooks
|
|
cp admin/pre-commit .git/hooks/pre-commit
|
|
chmod +x .git/hooks/pre-commit
|