Closed enricodias closed 5 years ago
Changed Functions.php's code style to PSR-12, PHPMD and PHPCS.
Reduced complexity of the e() function by creating the function parseQuery(). The use of isset() and empty() are discouraged. Other minor changes.
e()
parseQuery()
isset()
empty()
The e() function still needs to be renamed to comply with all rules.
Fixes #6
@gabriel-felipe I noticed that you just committed changes on src/Functions.php with comment blocks. I've just copied the comments to this code.
Changed Functions.php's code style to PSR-12, PHPMD and PHPCS.
Reduced complexity of the
e()
function by creating the functionparseQuery()
. The use ofisset()
andempty()
are discouraged. Other minor changes.The
e()
function still needs to be renamed to comply with all rules.Fixes #6