jjzjj

tutorial_phpDocumentor

全部标签

scala - 使用 HDFS 的 Scalding 教程 : Data is missing from one or more paths in: List(tutorial/data/hello. txt)

当我尝试使用命令运行Scalding教程(https://github.com/Cascading/scalding-tutorial/)时配置ssh和rsync之后:$scripts/scald.rb--hdfstutorial/Tutorial0.scala我收到以下错误:com.twitter.scalding.InvalidSourceException:[com.twitter.scalding.TextLineWrappedArray(tutorial/data/hello.txt)]Dataismissingfromoneormorepathsin:List(tutori

PHPDocumentor 日期问题警告

我在让phpdoc正确运行时遇到了一些问题。大部分文档已成功生成,但我多次收到以下警告:Warning:date():Itisnotsafetorelyonthesystem'stimezonesettings.Youarerequiredtousethedate.timezonesettingorthedate_default_timezone_set()function.Incaseyouusedanyofthosemethodsandyouarestillgettingthiswarning,youmostlikelymisspelledthetimezoneidentifier

php - 无法从 PHPDocumentor 中排除目录

我正在尝试在我的WAMPServer设置上运行PHPDocumentor。它运行良好,但我想排除某些目录,例如不包含我自己的代码的\sqlbuddy\。具有讽刺意味的是,PHPDocumentor似乎忽略了我的--ignore开关。我尝试了几种表达同一事物的方法,但结果相同。下面是我运行它的命令:php.exe"C:\Users\username\Documents\PhpDocumentor\phpdoc"-t"C:\ProgramFiles\wamp\www\docs"-oHTML:default:default-d"C:\ProgramFiles\wamp\www"--ignor

php - zlib_decode() : data error using composer in the doctrine2 tutorial

更新:我不久前按照评论中的建议将此问题发布到错误跟踪器,现在我运行了新版本的composer的全新安装(Composer版本7131607ad1d251c790ce566119d647e008972aa52014-05-2714:26:24),问题已解决。原帖:我正在尝试使用他们在http://docs.doctrine-project.org/en/latest/tutorials/getting-started.html上的教程来学习如何使用doctrine2但由于某种原因,我在尝试运行composerinstall时遇到此错误:[ErrorException]zlib_decod

php - 安装 phpdoc/phpDocumentor 包后无法运行 phpdoc 命令

虽然我按照说明安装了phpDocumentor,但命令行似乎没有响应phpdoc给定错误:未找到命令“phpdoc”,您的意思是:来自debphploc的命令'phploc'来自debphpdox的命令'phpdox'尝试:sudoaptinstall我按照这些步骤安装了phpdoc,它似乎可以工作pearchannel-discoverpear.phpdoc.orgpear安装phpdoc/phpDocumentor安装完成后,我尝试运行phpdoc-h但没有成功。使用:7.2.16操作系统:Ubuntu18.04.2LTS我很感激任何帮助的尝试。 最佳答

php - 无法通过 Composer 安装 phpDocumentor

在composer.json我有{"require":{"phpdocumentor/phpdocumentor":"*"}}这是因为我正在尝试使用./composer.pharinstall命令将phpDocumentor安装到一个独立的文件夹中。但我得到的是LoadingcomposerrepositorieswithpackageinformationUpdatingdependencies(includingrequire-dev)Yourrequirementscouldnotberesolvedtoaninstallablesetofpackages.Problem1-ph

php - 为自定义功能扩展 phpdocumentor2

我开始将phpdocumentor2用于php项目,并希望扩展它以使其具有自定义功能。我想让它在默认生成的内容下输出“最新的函数/方法/类”。我的想法是,当它运行时能够比较已解析文件中的任何元素是否有新的@version可能甚至是文件更改日期。有谁知道这是否可行以及如何使用此文档生成器或其他工具来实现?还有谁知道当前的phpdocumentator2是否正确支持@uses,如果不支持,还有哪些其他解决方法可以使其工作?我需要它来连接我的项目类。 最佳答案 可能不是您要找的确切答案。composer.json-已指向我https://

通过 PEAR 在 OSX 上安装的 PhpDocumentor 无法正常工作 - 缺少文件?

我基本上是PEAR(和PhpDocumentor)的新手;我使用PEARCLI安装了PhpDocumentor,一切似乎都很顺利……直到我开始使用它,此时我收到以下错误:Warning:require(PhpDocumentor/phpDocumentor/phpdoc.inc):failedtoopenstream:Nosuchfileordirectoryin/usr/local/bin/phpdoconline40Fatalerror:require():Failedopeningrequired'PhpDocumentor/phpDocumentor/phpdoc.inc'(i

php - 为 phpDocumentor 表示数组数据类型的正确方法?

以下哪项是为phpDocumentor记录此方法的返回类型的正确方法?方法一:/***@returnarrayFooarray.*/publicfunctionfoo(){returnarray(1,2,3);}方法二:/***@returninteger[]Fooarray.*/publicfunctionfoo(){returnarray(1,2,3);}此外,这两种方法对IDE有什么影响吗?编辑:看来PhpStorm和Netbeans7.1+IDE都支持第二种方法。 最佳答案 这两种方法在技术上都是正确的,但这种方法被认为“更

PHPDocumentor --output 选项

我已经通过PEAR安装了PHPDocumentor。但输出选项不起作用。当我使用像这样的简单命令时phpdoc-dsource/path-ttarget/path--templateresponsive它工作正常。但是当我像这样使用-o或--output选项时phpdoc-dsource/path-ttarget/path-oPDF:default:*它给出以下错误。[RuntimeException]The"-o"optiondoesnotexist.我已经尝试过其他输出格式以及-oHTML:Smarty:PHP和-oHTML:Smarty:default但结果是一样的。