theseer / phpdox

Documentation generator for PHP Code using standard technology (SRC, DOCBLOCK, XML and XSLT)
http://phpdox.de
Other
600 stars 121 forks source link

E_COMPILE_ERROR with PHP 8.3.6 #431

Open SafetyFast opened 2 weeks ago

SafetyFast commented 2 weeks ago

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:

`<?xml version="1.0" encoding="utf-8" ?>