{"id":45800,"date":"2017-02-10T15:47:57","date_gmt":"2017-02-10T10:17:57","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=45800"},"modified":"2017-02-12T19:21:23","modified_gmt":"2017-02-12T13:51:23","slug":"how-to-install-and-setup-drupal-code-sniffer","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/","title":{"rendered":"How to Install and Setup Drupal Code Sniffer?"},"content":{"rendered":"<p><strong>About Drupal Coder<\/strong><\/p>\n<p>Coder checks <a title=\"Drupal development and consulting\" href=\"http:\/\/www.tothenew.com\/wcm\/drupal-development-consulting-services\">Drupal<\/a>\u00a0code against <a href=\"http:\/\/drupal.org\/coding-standards\" target=\"_blank\" rel=\"nofollow\">Drupal coding standards<\/a> and other best practices. It can also fix coding standard violations for you with the phpcs and phpcbf command from PHP_CodeSniffer<\/p>\n<p><strong>Installing and setup Drupal coder<\/strong><\/p>\n<p>Here&#8217;s a step-by-step guide:<\/p>\n<p>Follow the steps below to install coder<\/p>\n<ul>\n<li>Open a Terminal window<\/li>\n<li>Go to home directory<br \/>\nCd ~<\/li>\n<li>Clone the latest code version using git<br \/>\ngit clone &#8211;branch 8.x-2.x<br \/>\ncd coder<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-45842 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/blog1.png\" alt=\"Blog image\" width=\"878\" height=\"143\" srcset=\"https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog1.png 878w, https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog1-300x48.png 300w, https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog1-624x101.png 624w\" sizes=\"auto, (max-width: 878px) 100vw, 878px\" \/><\/li>\n<li>Install dependencies using composer<br \/>\ncomposer install<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-45841 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/blog2.png\" alt=\"Blog image\" width=\"811\" height=\"489\" srcset=\"https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog2.png 811w, https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog2-300x180.png 300w, https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog2-624x376.png 624w\" sizes=\"auto, (max-width: 811px) 100vw, 811px\" \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-45840 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/blog3.png\" alt=\"Blog image\" width=\"954\" height=\"686\" srcset=\"https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog3.png 954w, https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog3-300x215.png 300w, https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog3-624x448.png 624w\" sizes=\"auto, (max-width: 954px) 100vw, 954px\" \/><\/li>\n<li>Create a symlink for the phpcs and phpcbf command<br \/>\nsudo ln -s ~\/coder\/vendor\/bin\/phpcs \/usr\/bin\/phpcs<br \/>\nsudo ln -s ~\/coder\/vendor\/bin\/phpcbf \/usr\/bin\/phpcf<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-45839 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/blog4.png\" alt=\"Blog image\" width=\"757\" height=\"79\" srcset=\"https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog4.png 757w, https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog4-300x31.png 300w, https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog4-624x65.png 624w\" sizes=\"auto, (max-width: 757px) 100vw, 757px\" \/><\/li>\n<li>Register the Drupal and Drupal Practice Standard with PHPCS<br \/>\nphpcs &#8211;config-set installed_paths ~\/coder\/coder_sniffer<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-45838 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/blog5.png\" alt=\"Blog image\" width=\"857\" height=\"38\" srcset=\"https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog5.png 857w, https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog5-300x13.png 300w, https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog5-624x27.png 624w\" sizes=\"auto, (max-width: 857px) 100vw, 857px\" \/><\/li>\n<\/ul>\n<p><strong>How to use<\/strong><\/p>\n<ul>\n<li>To check the file for coding standard<br \/>\nphpcs &#8211;standard=DrupalPractice &lt;\/path\/to\/example.module&gt;<\/li>\n<li>To check the complete directory recursively for coding standards<br \/>\nphpcs &#8211;standard=DrupalPractice &lt;path to directory&gt;<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-45837 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/blog6.png\" alt=\"Blog image\" width=\"1117\" height=\"441\" srcset=\"https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog6.png 1117w, https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog6-300x118.png 300w, https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog6-1024x404.png 1024w, https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog6-624x246.png 624w\" sizes=\"auto, (max-width: 1117px) 100vw, 1117px\" \/><\/li>\n<\/ul>\n<p>Some issue could be resolved automatically by phpcbf<\/p>\n<ul>\n<li>To fix error in file<br \/>\nphpcbf &#8211;standard=Drupal &lt;path to file with file name&gt;<\/li>\n<li>To fix error in the complete directory<br \/>\nphpcbf &#8211;standard=Drupal &lt;path to directory&gt;<img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-45836 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/blog7.png\" alt=\"blog7\" width=\"1121\" height=\"111\" srcset=\"https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog7.png 1121w, https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog7-300x29.png 300w, https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog7-1024x101.png 1024w, https:\/\/www.tothenew.com\/blog\/wp-content\/uploads\/2017\/02\/blog7-624x61.png 624w\" sizes=\"auto, (max-width: 1121px) 100vw, 1121px\" \/><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>About Drupal Coder Coder checks Drupal\u00a0code against Drupal coding standards and other best practices. It can also fix coding standard violations for you with the phpcs and phpcbf command from PHP_CodeSniffer Installing and setup Drupal coder Here&#8217;s a step-by-step guide: Follow the steps below to install coder Open a Terminal window Go to home directory [&hellip;]<\/p>\n","protected":false},"author":1009,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"aside","meta":{"iawp_total_views":48,"footnotes":""},"categories":[3602],"tags":[4416,4419,4862,8],"class_list":["post-45800","post","type-post","status-publish","format-aside","hentry","category-drupal","tag-code-sniffer","tag-coder","tag-drupal","tag-ubuntu","post_format-post-format-aside"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"A step-by-step guide to install and setup Drupal Code Sniffer\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Jitendra Verma\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"How to Install and Setup Drupal Code Sniffer? | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"A step-by-step guide to install and setup Drupal Code Sniffer\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to Install and Setup Drupal Code Sniffer? | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"A step-by-step guide to install and setup Drupal Code Sniffer\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-install-and-setup-drupal-code-sniffer\\\/#article\",\"name\":\"How to Install and Setup Drupal Code Sniffer? | TO THE NEW Blog\",\"headline\":\"How to Install and Setup Drupal Code Sniffer?\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/jitendra-verma\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2017\\\/02\\\/blog1.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-install-and-setup-drupal-code-sniffer\\\/#articleImage\"},\"datePublished\":\"2017-02-10T15:47:57+05:30\",\"dateModified\":\"2017-02-12T19:21:23+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-install-and-setup-drupal-code-sniffer\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-install-and-setup-drupal-code-sniffer\\\/#webpage\"},\"articleSection\":\"Drupal, Code Sniffer, coder, Drupal, Ubuntu, Aside\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-install-and-setup-drupal-code-sniffer\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/drupal\\\/#listItem\",\"name\":\"Drupal\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/drupal\\\/#listItem\",\"position\":2,\"name\":\"Drupal\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/drupal\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-install-and-setup-drupal-code-sniffer\\\/#listItem\",\"name\":\"How to Install and Setup Drupal Code Sniffer?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-install-and-setup-drupal-code-sniffer\\\/#listItem\",\"position\":3,\"name\":\"How to Install and Setup Drupal Code Sniffer?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/drupal\\\/#listItem\",\"name\":\"Drupal\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/jitendra-verma\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/jitendra-verma\\\/\",\"name\":\"Jitendra Verma\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-install-and-setup-drupal-code-sniffer\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/15d9a25e-1da3-40a9-b729-2d2b699c9298_437-Jitendra-Verma-PROFILEPICTURE.jpeg\",\"width\":96,\"height\":96,\"caption\":\"Jitendra Verma\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-install-and-setup-drupal-code-sniffer\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-install-and-setup-drupal-code-sniffer\\\/\",\"name\":\"How to Install and Setup Drupal Code Sniffer? | TO THE NEW Blog\",\"description\":\"A step-by-step guide to install and setup Drupal Code Sniffer\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-install-and-setup-drupal-code-sniffer\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/jitendra-verma\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/jitendra-verma\\\/#author\"},\"datePublished\":\"2017-02-10T15:47:57+05:30\",\"dateModified\":\"2017-02-12T19:21:23+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Install and Setup Drupal Code Sniffer? | TO THE NEW Blog","description":"A step-by-step guide to install and setup Drupal Code Sniffer","canonical_url":"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/#article","name":"How to Install and Setup Drupal Code Sniffer? | TO THE NEW Blog","headline":"How to Install and Setup Drupal Code Sniffer?","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/jitendra-verma\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/blog1.png","@id":"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/#articleImage"},"datePublished":"2017-02-10T15:47:57+05:30","dateModified":"2017-02-12T19:21:23+05:30","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/#webpage"},"articleSection":"Drupal, Code Sniffer, coder, Drupal, Ubuntu, Aside"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tothenew.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/drupal\/#listItem","name":"Drupal"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/drupal\/#listItem","position":2,"name":"Drupal","item":"https:\/\/www.tothenew.com\/blog\/category\/drupal\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/#listItem","name":"How to Install and Setup Drupal Code Sniffer?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/#listItem","position":3,"name":"How to Install and Setup Drupal Code Sniffer?","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/drupal\/#listItem","name":"Drupal"}}]},{"@type":"Organization","@id":"https:\/\/www.tothenew.com\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/www.tothenew.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tothenew.com\/blog\/author\/jitendra-verma\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/jitendra-verma\/","name":"Jitendra Verma","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/15d9a25e-1da3-40a9-b729-2d2b699c9298_437-Jitendra-Verma-PROFILEPICTURE.jpeg","width":96,"height":96,"caption":"Jitendra Verma"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/","name":"How to Install and Setup Drupal Code Sniffer? | TO THE NEW Blog","description":"A step-by-step guide to install and setup Drupal Code Sniffer","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/jitendra-verma\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/jitendra-verma\/#author"},"datePublished":"2017-02-10T15:47:57+05:30","dateModified":"2017-02-12T19:21:23+05:30"},{"@type":"WebSite","@id":"https:\/\/www.tothenew.com\/blog\/#website","url":"https:\/\/www.tothenew.com\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"How to Install and Setup Drupal Code Sniffer? | TO THE NEW Blog","og:description":"A step-by-step guide to install and setup Drupal Code Sniffer","og:url":"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"How to Install and Setup Drupal Code Sniffer? | TO THE NEW Blog","twitter:description":"A step-by-step guide to install and setup Drupal Code Sniffer","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"45800","title":null,"description":"A step-by-step guide to install and setup Drupal Code Sniffer","keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 13:37:29","updated":"2024-02-29 08:46:21","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\/category\/drupal\/\" title=\"Drupal\">Drupal<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to Install and Setup Drupal Code Sniffer?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"Drupal","link":"https:\/\/www.tothenew.com\/blog\/category\/drupal\/"},{"label":"How to Install and Setup Drupal Code Sniffer?","link":"https:\/\/www.tothenew.com\/blog\/how-to-install-and-setup-drupal-code-sniffer\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/45800","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/1009"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=45800"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/45800\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=45800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=45800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=45800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}