File: build/run_phpcs.sh

Recommend this page to a friend!
  Classes of Michal Kowalik  >  majkel PHP dbase class  >  build/run_phpcs.sh  >  Download  
File: build/run_phpcs.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: majkel PHP dbase class
Create and manipulate databases in DBF format
Author: By
Last change:
Date: 4 years ago
Size: 387 bytes
 

 

Contents

Class file image Download
#!/bin/bash

DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
cd "$DIR/.."

vendor/bin/phpcs -p \
    --standard=style/ruleset.xml \
    -d memory_limit=256M \
    --ignore=tests/report \
    src/ \
    benchmarks/ \
    tests/

vendor/bin/phpcbf -p \
    --standard=style/ruleset.xml \
    -d memory_limit=256M \
    --ignore=tests/report \
    src/ \
    benchmarks/ \
    tests/

For more information send a message to info at phpclasses dot org.