Skip to content

Commit

Permalink
Disable no short array syntax PHPCS rule
Browse files Browse the repository at this point in the history
  • Loading branch information
John Watkins committed Jan 16, 2020
1 parent 6128a8d commit 430cf53
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
40 changes: 40 additions & 0 deletions languages/autoshare-for-twitter.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"X-Generator: babel-plugin-makepot\n"

#: src/js/AutoshareForTwitterPostStatusInfo.js:16
msgid "View"
msgstr ""

#: src/js/AutoshareForTwitterPrePublishPanel.js:106
msgid "Tweet this post?"
msgstr ""

#: src/js/AutoshareForTwitterPrePublishPanel.js:126
msgid "Custom message:"
msgstr ""

#: src/js/AutoshareForTwitterPrePublishPanel.js:141
msgid "Hide"
msgstr ""

#: src/js/AutoshareForTwitterPrePublishPanel.js:141
msgid "Edit"
msgstr ""

#: src/js/AutoshareForTwitterPrePublishPanel.js:63
msgid "An error occurred."
msgstr ""

#: src/js/index.js:32
msgid "Enabled"
msgstr ""

#: src/js/index.js:32
msgid "Disabled"
msgstr ""

#: src/js/index.js:46
msgid "Autoshare:"
msgstr ""
1 change: 1 addition & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<rule ref="WordPress">
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase" />
<exclude name="WordPress.Files.FileName.InvalidClassFileName" />
<exclude name="Generic.Arrays.DisallowShortArraySyntax.Found" />
</rule>
<exclude-pattern>node_modules</exclude-pattern>
<exclude-pattern>vendor</exclude-pattern>
Expand Down

0 comments on commit 430cf53

Please sign in to comment.