{"action":"created","issue":{"url":"https://api.github.com/repos/DarkaOnLine/L5-Swagger/issues/159","repository_url":"https://api.github.com/repos/DarkaOnLine/L5-Swagger","labels_url":"https://api.github.com/repos/DarkaOnLine/L5-Swagger/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/DarkaOnLine/L5-Swagger/issues/159/comments","events_url":"https://api.github.com/repos/DarkaOnLine/L5-Swagger/issues/159/events","html_url":"https://github.com/DarkaOnLine/L5-Swagger/issues/159","id":345104153,"node_id":"MDU6SXNzdWUzNDUxMDQxNTM=","number":159,"title":"Possible bug on 5.6.8? php artisan l5-swagger:generate fails. Call to undefined function OpenApi\\scan()","user":{"login":"kevincobain2000","id":629055,"node_id":"MDQ6VXNlcjYyOTA1NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/629055?v=4","gravatar_id":"","url":"https://api.github.com/users/kevincobain2000","html_url":"https://github.com/kevincobain2000","followers_url":"https://api.github.com/users/kevincobain2000/followers","following_url":"https://api.github.com/users/kevincobain2000/following{/other_user}","gists_url":"https://api.github.com/users/kevincobain2000/gists{/gist_id}","starred_url":"https://api.github.com/users/kevincobain2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevincobain2000/subscriptions","organizations_url":"https://api.github.com/users/kevincobain2000/orgs","repos_url":"https://api.github.com/users/kevincobain2000/repos","events_url":"https://api.github.com/users/kevincobain2000/events{/privacy}","received_events_url":"https://api.github.com/users/kevincobain2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-07-27T06:18:26Z","updated_at":"2018-07-29T14:54:19Z","closed_at":null,"author_association":"NONE","body":"- L5-Swagger Version: #.#.# (`composer show | grep l5-swagger`)\r\n- PHP Version (`php -v`): 7.1.19\r\n- OS:Debian GNU/Linux 9 \r\n\r\n### Description:\r\n\r\nHi, is this a possible bug as I am not able to generate l5 docs after vup from 5.6.7 -> 5.6.8\r\n\r\n### Steps To Reproduce:\r\n\r\n**5.6.8**\r\n\r\n```\r\n# php artisan l5-swagger:generate\r\nRegenerating docs\r\n\r\n   Symfony\\Component\\Debug\\Exception\\FatalThrowableError  : Call to undefined function OpenApi\\scan()\r\n\r\n  at /var/www/proj/vendor/darkaonline/l5-swagger/src/Generator.php:117\r\n    113|      */\r\n    114|     protected function scanFilesForDocumentation()\r\n    115|     {\r\n    116|         if ($this->isOpenApi()) {\r\n  > 117|             $this->swagger = \\OpenApi\\scan(\r\n    118|                 $this->appDir,\r\n    119|                 ['exclude' => $this->excludedDirs]\r\n    120|             );\r\n    121|         }\r\n\r\n  Exception trace:\r\n\r\n  1   L5Swagger\\Generator::scanFilesForDocumentation()\r\n      /var/www/proj/vendor/darkaonline/l5-swagger/src/Generator.php:66\r\n\r\n  2   L5Swagger\\Generator::generateDocs()\r\n      /var/www/proj/vendor/darkaonline/l5-swagger/src/Console/GenerateDocsCommand.php:32\r\n\r\n  Please use the argument -v to see more details.\r\n```\r\n\r\n**5.6.7**\r\n\r\n```\r\n  - Updating darkaonline/l5-swagger (5.6.8 => 5.6.7): Loading from cache\r\n```\r\n\r\nAll good\r\n\r\n```\r\nroot@e7e0dc7da41f:/var/www/proj# php artisan l5-swagger:generate\r\nRegenerating docs\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/DarkaOnLine/L5-Swagger/issues/comments/408683152","html_url":"https://github.com/DarkaOnLine/L5-Swagger/issues/159#issuecomment-408683152","issue_url":"https://api.github.com/repos/DarkaOnLine/L5-Swagger/issues/159","id":408683152,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODY4MzE1Mg==","user":{"login":"AshrafHefny","id":4259496,"node_id":"MDQ6VXNlcjQyNTk0OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/4259496?v=4","gravatar_id":"","url":"https://api.github.com/users/AshrafHefny","html_url":"https://github.com/AshrafHefny","followers_url":"https://api.github.com/users/AshrafHefny/followers","following_url":"https://api.github.com/users/AshrafHefny/following{/other_user}","gists_url":"https://api.github.com/users/AshrafHefny/gists{/gist_id}","starred_url":"https://api.github.com/users/AshrafHefny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AshrafHefny/subscriptions","organizations_url":"https://api.github.com/users/AshrafHefny/orgs","repos_url":"https://api.github.com/users/AshrafHefny/repos","events_url":"https://api.github.com/users/AshrafHefny/events{/privacy}","received_events_url":"https://api.github.com/users/AshrafHefny/received_events","type":"User","site_admin":false},"created_at":"2018-07-29T14:54:19Z","updated_at":"2018-07-29T14:54:19Z","author_association":"NONE","body":"Same issue here? did anyone fix it?\r\n"}}
{"actor":{"display_login":"AshrafHefny"}}