bespoke-support / sql-reserved
Checks Classes in Directory for Database reserved words
dev-master
2018-12-07 15:42 UTC
Requires
- doctrine/dbal: ^2
- symfony/console: ^3|^4
This package is auto-updated.
Last update: 2024-12-08 08:04:55 UTC
README
Examples
sql-reserved-words.phar check example/ mysql57
OK | Example\Group
OK | Example\NoErrors
sql-reserved-words.phar check example/ mysql
ERR | Example\Group
'Errors' class name is a keyword for 'mysql80'
OK | Example\NoErrors
sql-reserved-words.phar check example/ mysql,pgsql
ERR | Example\Group
'Errors' class name is a keyword for 'mysql80'
'Errors'::`user` is a keyword for 'pgsql91,pgsql92,pgsql94,pgsql10
OK | Example\NoErrors
sql-reserved-words.phar check example/ pgsql
ERR | Example\Group
'Errors'::`user` is a keyword for 'pgsql91,pgsql92,pgsql94,pgsql10
OK | Example\NoErrors