PHP Classes

File: bin/pre-commit

Recommend this page to a friend!
  Classes of Marco Cesarato  >  PHP Malware Scanner Free Tool  >  bin/pre-commit  >  Download  
File: bin/pre-commit
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Malware Scanner Free Tool
Scan PHP files to find malicious code
Author: By
Last change: Update of bin/pre-commit
Date: 1 year ago
Size: 355 bytes


Class file image Download
#!/usr/bin/env bash

# Variables
# shellcheck disable=SC2164
CURRENT_DIRECTORY="$(cd "$(dirname "$0")"; pwd -P)"

# shellcheck disable=SC2164

# Check PHP Lint

[ $? -eq 0 ]  || exit 1

# Run php-cs-fixer
php "$CURRENT_DIRECTORY/composer" fix-cs
For more information send a message to info at phpclasses dot org.