phpdox
phpdox copied to clipboard
E_COMPILE_ERROR with PHP 8.3.6
Any plans for a new release soon? I love phpdox; it's the best!
Execution output:
phpDox 0.12.0 - Copyright (C) 2010 - 2024 by Arne Blankerts and Contributors
[11.11.2024 - 22:24:53] Using config file './phpdox.xml' [11.11.2024 - 22:24:53] Registered collector backend 'parser' [11.11.2024 - 22:24:53] Registered enricher 'build' [11.11.2024 - 22:24:53] Registered enricher 'git' [11.11.2024 - 22:24:53] Registered enricher 'checkstyle' [11.11.2024 - 22:24:53] Registered enricher 'phpcs' [11.11.2024 - 22:24:53] Registered enricher 'pmd' [11.11.2024 - 22:24:53] Registered enricher 'phpunit' [11.11.2024 - 22:24:53] Registered enricher 'phploc' [11.11.2024 - 22:24:53] Registered output engine 'xml' [11.11.2024 - 22:24:53] Registered output engine 'html' [11.11.2024 - 22:24:53] Starting to process project 'MyBradfordVillage Custom Plugins' [11.11.2024 - 22:24:53] Starting collector [11.11.2024 - 22:24:53] Scanning directory '../wp-content' for files to process
. [1]
[11.11.2024 - 22:24:53] Saving results to directory '/var/www/mybradfordvillage/doc-gen/build/phpdox/xml' [11.11.2024 - 22:24:54] Collector process completed
[11.11.2024 - 22:24:54] Starting generator [11.11.2024 - 22:24:54] Loading enrichers [11.11.2024 - 22:24:54] Enricher PHPLoc xml initialized successfully [11.11.2024 - 22:24:54] Enricher GIT information initialized successfully [11.11.2024 - 22:24:54] Enricher PHPCS XML initialized successfully [11.11.2024 - 22:24:54] Enricher Build Information initialized successfully [11.11.2024 - 22:24:54] Starting event loop.
Oups... phpDox encountered a problem and has terminated!
It most likely means you've found a bug, so please file a report for this and paste the following details and the stacktrace (if given) along:
PHP Version: 8.3.6 (Linux) PHPDox Version: 0.12.0 ErrorException: E_COMPILE_ERROR Location: phar:///usr/local/bin/phpdox/vendor/theseer/fxsl/src/fxsltprocessor.php (Line 187)
Declaration of TheSeer\fXSL\fXSLTProcessor::transformToDoc($node) must be compatible with XSLTProcessor::transformToDoc(object $document, ?string $returnClass = null): object|false
No stacktrace available
XML contents:
`
<inheritance resolve="true">
</inheritance>
</collector>
<generator output="${basedir}/docs">
<enrich base="${basedir}/build">
<source type="phploc" />
<source type="git">
<git binary="/usr/bin/git" />
<history enabled="true" limit="15" cache="${phpDox.project.workdir}/gitlog.xml" />
</source>
<source type="phpcs">
<file name="phpcs.xml" />
</source>
</enrich>
<build engine="html" enabled="true">
<template dir="${phpDox.home}/templates/html"/>
<file extension="xhtml"/>
</build>
</generator>
</project>
`