Title: ShellCheck report · Issue #1 · devdrops/php-pre-commit · GitHub
Open Graph Title: ShellCheck report · Issue #1 · devdrops/php-pre-commit
X Title: ShellCheck report · Issue #1 · devdrops/php-pre-commit
Description: From http://www.shellcheck.net/: $ shellcheck myscript Line 25: CONFIG_FILE=$(dirname $0)/config ^-- SC2086: Double quote to prevent globbing and word splitting. Line 26: if [ -e $CONFIG_FILE ]; then ^-- SC2086: Double quote to prevent g...
Open Graph Description: From http://www.shellcheck.net/: $ shellcheck myscript Line 25: CONFIG_FILE=$(dirname $0)/config ^-- SC2086: Double quote to prevent globbing and word splitting. Line 26: if [ -e $CONFIG_FILE ]; th...
X Description: From http://www.shellcheck.net/: $ shellcheck myscript Line 25: CONFIG_FILE=$(dirname $0)/config ^-- SC2086: Double quote to prevent globbing and word splitting. Line 26: if [ -e $CONFIG_FILE ]; th...
Opengraph URL: https://github.com/devdrops/php-pre-commit/issues/1
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ShellCheck report","articleBody":"From http://www.shellcheck.net/:\n\n``` bash\n$ shellcheck myscript\n\nLine 25:\nCONFIG_FILE=$(dirname $0)/config\n ^-- SC2086: Double quote to prevent globbing and word splitting.\n\nLine 26:\nif [ -e $CONFIG_FILE ]; then\n ^-- SC2086: Double quote to prevent globbing and word splitting.\n\nLine 27:\n . $CONFIG_FILE\n ^-- SC1090: Can't follow non-constant source. Use a directive to specify location.\n ^-- SC2086: Double quote to prevent globbing and word splitting.\n\nLine 93:\n SNIFFS=\"\"\n ^-- SC2034: SNIFFS appears unused. Verify it or export it.\n\nLine 139:\n ID=$(git diff-index --cached $against $FILE | cut -d \" \" -f4)\n ^-- SC2086: Double quote to prevent globbing and word splitting.\n\nLine 143:\n mkdir -p \"$TMP_STAGING/$(dirname $FILE)\"\n ^-- SC2086: Double quote to prevent globbing and word splitting.\n\nLine 144:\n git cat-file blob $ID \u003e \"$TMP_STAGING/$FILE\"\n ^-- SC2086: Double quote to prevent globbing and word splitting.\n\nLine 150:\nPHPCS_OUTPUT=$($PHPCS_BIN -s $IGNORE_WARNINGS --standard=$PHPCS_CODING_STANDARD $ENCODING $IGNORE $STAGED_FILES)\n ^-- SC2086: Double quote to prevent globbing and word splitting.\n\nLine 167:\nPHPMD_OUTPUT=$($PHPMD_BIN $STAGED_FILES $PHPMD_OUTPUT $PHPMD_PATTERNS_LIST $PHPMD_SUFFIXES_LIST $PHPMD_EXCLUDE_LIST)\n ^-- SC2086: Double quote to prevent globbing and word splitting.\n```\n","author":{"url":"https://github.com/devdrops","@type":"Person","name":"devdrops"},"datePublished":"2016-04-11T20:04:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1/php-pre-commit/issues/1"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c8f78acc-5922-dd54-5641-5e4dfbe326cb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CD96:1B6BE9:14D73BA:1B38DEF:697437EA |
| html-safe-nonce | c3a958fa109de9b3c62c4f048a5490175a7ea41a139b44fa393038cb11c2d1ff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDk2OjFCNkJFOToxNEQ3M0JBOjFCMzhERUY6Njk3NDM3RUEiLCJ2aXNpdG9yX2lkIjoiNTA3MzMxNjg3MDQ3MTU2MzI0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 738a8224e655531d287663a727d9ae3240f0870a40bc8bf037c18d28847244b0 |
| hovercard-subject-tag | issue:147538715 |
| github-keyboard-shortcuts | repository,issues,commits,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/devdrops/php-pre-commit/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0a9f2b0f7fabb11855bdf8d39a15b285839a52d076334e4d5ef2d9103c3cae3d/devdrops/php-pre-commit/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0a9f2b0f7fabb11855bdf8d39a15b285839a52d076334e4d5ef2d9103c3cae3d/devdrops/php-pre-commit/issues/1 |
| og:image:alt | From http://www.shellcheck.net/: $ shellcheck myscript Line 25: CONFIG_FILE=$(dirname $0)/config ^-- SC2086: Double quote to prevent globbing and word splitting. Line 26: if [ -e $CONFIG_FILE ]; th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | devdrops |
| hostname | github.com |
| expected-hostname | github.com |
| None | e0b95d743b7672c9ac0e1032d5f117950182dc164a83434a7db86510e8f0b37c |
| turbo-cache-control | no-preview |
| go-import | github.com/devdrops/php-pre-commit git https://github.com/devdrops/php-pre-commit.git |
| octolytics-dimension-user_id | 1259313 |
| octolytics-dimension-user_login | devdrops |
| octolytics-dimension-repository_id | 55998107 |
| octolytics-dimension-repository_nwo | devdrops/php-pre-commit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 55998107 |
| octolytics-dimension-repository_network_root_nwo | devdrops/php-pre-commit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fe7e2e8de6e57740bca50402351ea656f7a4bf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width