novasto/sql-fixer

This package is abandoned and no longer maintained. No replacement package was suggested.

lint SQL in *.php *.sql files.

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

This package is auto-updated.

Last update: 2022-03-01 00:34:03 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.