{"action":"created","issue":{"url":"https://api.github.com/repos/zendframework/zend-file/issues/9","labels_url":"https://api.github.com/repos/zendframework/zend-file/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/zendframework/zend-file/issues/9/comments","events_url":"https://api.github.com/repos/zendframework/zend-file/issues/9/events","html_url":"https://github.com/zendframework/zend-file/issues/9","id":127637950,"number":9,"title":"Check Documentation Code Blocks","user":{"login":"GeeH","id":613376,"avatar_url":"https://avatars.githubusercontent.com/u/613376?v=3","gravatar_id":"","url":"https://api.github.com/users/GeeH","html_url":"https://github.com/GeeH","followers_url":"https://api.github.com/users/GeeH/followers","following_url":"https://api.github.com/users/GeeH/following{/other_user}","gists_url":"https://api.github.com/users/GeeH/gists{/gist_id}","starred_url":"https://api.github.com/users/GeeH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeeH/subscriptions","organizations_url":"https://api.github.com/users/GeeH/orgs","repos_url":"https://api.github.com/users/GeeH/repos","events_url":"https://api.github.com/users/GeeH/events{/privacy}","received_events_url":"https://api.github.com/users/GeeH/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zendframework/zend-file/labels/documentation","name":"documentation","color":"ededed"},{"url":"https://api.github.com/repos/zendframework/zend-file/labels/EasyFix","name":"EasyFix","color":"02d7e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-20T09:19:17Z","updated_at":"2016-01-29T15:30:42Z","closed_at":"2016-01-29T15:30:42Z","body":"# Check code blocks are correct\n\n> TLDR; Check in all files that codeblocks are correct, in PSR-2 format and have PHP syntax highlighting applied.\n\nCode blocks should be in the following format...\n\n<pre>\n```php\n<?php\nuse Zend\\Barcode\\Barcode;\n\n// Only the text to draw is required\n$barcodeOptions = array('text' => 'ZEND-FRAMEWORK');\n\n// No required options\n$rendererOptions = array();\n$renderer = Barcode::factory(\n    'code39', 'image', $barcodeOptions, $rendererOptions\n);\n\n```\n</pre>\n\nNote the three backticks then *php* in the opening fence, and the closing fence is just three backticks. It's common for the opening backticks to have no code type, or something like *source*.\n\nCode should also have been automatically formatted into PSR-2 format, but sometimes these slip through the net."},"comment":{"url":"https://api.github.com/repos/zendframework/zend-file/issues/comments/176816837","html_url":"https://github.com/zendframework/zend-file/issues/9#issuecomment-176816837","issue_url":"https://api.github.com/repos/zendframework/zend-file/issues/9","id":176816837,"user":{"login":"froschdesign","id":103362,"avatar_url":"https://avatars.githubusercontent.com/u/103362?v=3","gravatar_id":"","url":"https://api.github.com/users/froschdesign","html_url":"https://github.com/froschdesign","followers_url":"https://api.github.com/users/froschdesign/followers","following_url":"https://api.github.com/users/froschdesign/following{/other_user}","gists_url":"https://api.github.com/users/froschdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/froschdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/froschdesign/subscriptions","organizations_url":"https://api.github.com/users/froschdesign/orgs","repos_url":"https://api.github.com/users/froschdesign/repos","events_url":"https://api.github.com/users/froschdesign/events{/privacy}","received_events_url":"https://api.github.com/users/froschdesign/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T15:30:42Z","updated_at":"2016-01-29T15:30:42Z","body":"No code blocks included. (The documentation is empty!)"}}