WPMetronet / metronet-tag-manager

Integrate Google Tag Manager into your website. Use dataLayer variables on a per-post and per-page basis. Use variables for flexibility.
5 stars 8 forks source link

Move closer to WPCS #22

Open szepeviktor opened 8 months ago

szepeviktor commented 8 months ago

Ran WPCS 3.0 Changed getMessage() to get_message() Safe SQL query in src/uninstall.php There was a stray log file in the repository: yarn-error.log

Review without whitespaces: https://github.com/WPMetronet/metronet-tag-manager/pull/22/files?diff=unified&w=1

szepeviktor commented 8 months ago

Command line

vendor/bin/phpcs --standard=WordPress-Core --extensions=php --exclude=PEAR.Functions.FunctionCallSignature,Generic.WhiteSpace.ArbitraryParenthesesSpacing,Squiz.Strings.ConcatenationSpacing,WordPress.WhiteSpace.ControlStructureSpacing,NormalizedArrays.Arrays.ArrayBraceSpacing src/