{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/451","labels_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/451/labels{/name}","comments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/451/comments","events_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/451/events","html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/451","id":105799839,"number":451,"title":"Empty index.php","user":{"login":"iamdmitrymayorov","id":5512633,"avatar_url":"https://avatars.githubusercontent.com/u/5512633?v=3","gravatar_id":"","url":"https://api.github.com/users/iamdmitrymayorov","html_url":"https://github.com/iamdmitrymayorov","followers_url":"https://api.github.com/users/iamdmitrymayorov/followers","following_url":"https://api.github.com/users/iamdmitrymayorov/following{/other_user}","gists_url":"https://api.github.com/users/iamdmitrymayorov/gists{/gist_id}","starred_url":"https://api.github.com/users/iamdmitrymayorov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamdmitrymayorov/subscriptions","organizations_url":"https://api.github.com/users/iamdmitrymayorov/orgs","repos_url":"https://api.github.com/users/iamdmitrymayorov/repos","events_url":"https://api.github.com/users/iamdmitrymayorov/events{/privacy}","received_events_url":"https://api.github.com/users/iamdmitrymayorov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-10T12:50:04Z","updated_at":"2015-09-13T19:40:47Z","closed_at":null,"body":"I have several directories in my plugin and add an empty index.php to each of them for some extra security. Something like this:\r\n```\r\n<?php // Silence is golden.\r\n```\r\n\r\nHowever this triggers an error:\r\n```\r\n----------------------------------------------------------------------\r\nFOUND 1 ERROR AFFECTING 1 LINE\r\n----------------------------------------------------------------------\r\n 1 | ERROR | You must use \"/**\" style comments for a file comment\r\n   |       | (Squiz.Commenting.FileComment.WrongStyle)\r\n----------------------------------------------------------------------\r\n```\r\n\r\nI was wondering what would be the best way to fix it? Thanks."},"comment":{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/comments/139911834","html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/451#issuecomment-139911834","issue_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/451","id":139911834,"user":{"login":"GaryJones","id":88371,"avatar_url":"https://avatars.githubusercontent.com/u/88371?v=3","gravatar_id":"","url":"https://api.github.com/users/GaryJones","html_url":"https://github.com/GaryJones","followers_url":"https://api.github.com/users/GaryJones/followers","following_url":"https://api.github.com/users/GaryJones/following{/other_user}","gists_url":"https://api.github.com/users/GaryJones/gists{/gist_id}","starred_url":"https://api.github.com/users/GaryJones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaryJones/subscriptions","organizations_url":"https://api.github.com/users/GaryJones/orgs","repos_url":"https://api.github.com/users/GaryJones/repos","events_url":"https://api.github.com/users/GaryJones/events{/privacy}","received_events_url":"https://api.github.com/users/GaryJones/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T19:40:47Z","updated_at":"2015-09-13T19:40:47Z","body":"We're not talking about an average user. We're talking about someone who is creating a Plugin or Theme, and things they need an empty index.php file. Those people can be educated. It's a pastable snippet of a line or two in. htacess."}}