novasto/sql-fixer

lint SQL in *.php *.sql files.

v1.0.2 2020-03-03 09:06 UTC

This package is auto-updated.

Last update: 2021-03-31 13:06:13 UTC


README

A linter for sql statements in *.php, *.sql.

Usage

Sample usage:

./vender/bin/sql-fixer [--dry-run] [file or dir...]

In PHP file: The SqlFixer will fix statements in SQL heredoc.

In SQL file: The SqlFixer will fix whole file.