2013-08-05 36 views
0

我正在嘗試使用phpDocumentor web界面爲CodeIgniter項目生成文檔。當我試圖解析目錄時,我收到一長串「嚴格標準」錯誤,所有這些看起來都像這樣:phpDocumentor 2 web界面錯誤「嚴格的標準:xxx的聲明應該兼容...」

「嚴格標準:parserTag :: getString()聲明應該與parserStringWithInlineTags :: getString($在Word中的D:\ wamp \ www \ phpdoc \ phpDocumentor \ DocBlockTags.inc「

」嚴格標準:phpDocumentorTParser :: packageTagHandler()的聲明應該與Parser :: packageTagHandler($ word )在D:\ wamp \ www \ phpdoc \ phpDocumentor \ phpDocumentorTParser.inc在2945行「

」嚴格標準:phpDocumentor_TutorialHighlightParser :: setupStates()聲明應與解析器:: setupStates()在D:\ wamp \ www \ phpdoc \ phpDocumentor \ TutorialHighlightParser.inc在線527「

任何人都可以告訴我什麼會導致此問題,或者它是否與phpdoc安裝或其他內容有關?

回答

1

phpDocumentor 1.x是php4代碼,因此在新版本(特別是5.3+)上運行它會觸發許多此類通知和警告。您可以降低錯誤報告閾值以隱藏它們,但更新的PHP代碼更好的選擇是嘗試phpDocumentor 2.x,它現在處於測試階段。

至於這些通知對使用1.x生成的文檔有負面影響,您的文檔應該沒問題。這些特別的通知不是任何形式的失敗。

相關問題