Title: Developer documentation fails to build · Issue #11 · phpmyadmin/scripts · GitHub
Open Graph Title: Developer documentation fails to build · Issue #11 · phpmyadmin/scripts
X Title: Developer documentation fails to build · Issue #11 · phpmyadmin/scripts
Description: Our developer docs fail to build: # /home/builder/scripts/develdocs/vendor/bin/apigen generate --debug --todo --source libraries/ --destination /home/builder/scripts/develdocs/output/phpmyadmin Fatal error: Cannot use 'Object' as class n...
Open Graph Description: Our developer docs fail to build: # /home/builder/scripts/develdocs/vendor/bin/apigen generate --debug --todo --source libraries/ --destination /home/builder/scripts/develdocs/output/phpmyadmin Fat...
X Description: Our developer docs fail to build: # /home/builder/scripts/develdocs/vendor/bin/apigen generate --debug --todo --source libraries/ --destination /home/builder/scripts/develdocs/output/phpmyadmin Fat...
Opengraph URL: https://github.com/phpmyadmin/scripts/issues/11
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Developer documentation fails to build","articleBody":"Our developer docs fail to build:\r\n\r\n```\r\n# /home/builder/scripts/develdocs/vendor/bin/apigen generate --debug --todo --source libraries/ --destination /home/builder/scripts/develdocs/output/phpmyadmin\r\n\r\nFatal error: Cannot use 'Object' as class name as it is reserved in /home/builder/scripts/develdocs/vendor/latte/latte/src/Latte/Object.php on line 14\r\nErrorException: Cannot use 'Object' as class name as it is reserved in /home/builder/scripts/develdocs/vendor/latte/latte/src/Latte/Object.php:14\r\nStack trace:\r\n#0 [internal function]: Tracy\\Debugger::shutdownHandler()\r\n#1 {main}\r\nUnable to log error: Logging directory is not specified.\r\n```\r\n\r\nLooks like a problem with ApiGen: https://github.com/ApiGen/ApiGen/issues/1039\r\n\r\nWe're on version 4, which is no longer supported. The poster's solution there was to upgrade to the current version 5, (which is still technically in pre-release form).\r\n\r\nHowever, if I try with current dev-master, it fails with a memory error:\r\n\r\n```\r\nvendor/bin/apigen generate /var/www/pma-dev/fork/libraries/ --destination output\r\nParsing reflections (this may take a while)...\r\nmmap() failed: [12] Cannot allocate memory\r\nSegmentation fault\r\n```\r\n\r\nI've allocated 8000M and still get errors. Another user had trouble but seems to have resolved it with a memory limit of 512M.","author":{"url":"https://github.com/ibennetch","@type":"Person","name":"ibennetch"},"datePublished":"2018-04-22T21:06:50Z","url":"https://github.com/phpmyadmin/scripts/issues/11"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:6a90f399-bde6-be12-f477-d31fb558f049 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BCCC:30975F:7B710:A70DE:6B0443ED |
| html-safe-nonce | d76e0a4853e52bd45f7b24eff9c8f9067196ee020dd6683670fb37a16023041e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0NDOjMwOTc1Rjo3QjcxMDpBNzBERTo2QjA0NDNFRCIsInZpc2l0b3JfaWQiOiIzNTIyMjg1OTk5NTkyMDYzOTgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a5556ad9b54f2bc1671e7ce06eb487a8070351fa02814be92eb4af1a052831a7 |
| hovercard-subject-tag | issue:316613429 |
| github-keyboard-shortcuts | repository,issues,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/phpmyadmin/scripts/11/issue_layout |
| twitter:image | https://opengraph.githubassets.com/53af21314f59ddf9bfd9003caa2fdaf9dc3a6cb28047a37d472fe8775e89adb1/phpmyadmin/scripts/issues/11 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/53af21314f59ddf9bfd9003caa2fdaf9dc3a6cb28047a37d472fe8775e89adb1/phpmyadmin/scripts/issues/11 |
| og:image:alt | Our developer docs fail to build: # /home/builder/scripts/develdocs/vendor/bin/apigen generate --debug --todo --source libraries/ --destination /home/builder/scripts/develdocs/output/phpmyadmin Fat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ibennetch |
| hostname | github.com |
| expected-hostname | github.com |
| None | d4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46 |
| turbo-cache-control | no-preview |
| go-import | github.com/phpmyadmin/scripts git https://github.com/phpmyadmin/scripts.git |
| octolytics-dimension-user_id | 1351977 |
| octolytics-dimension-user_login | phpmyadmin |
| octolytics-dimension-repository_id | 3358612 |
| octolytics-dimension-repository_nwo | phpmyadmin/scripts |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3358612 |
| octolytics-dimension-repository_network_root_nwo | phpmyadmin/scripts |
| 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 | 9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width