Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E_COMPILE_ERROR with PHP 8.3.6 #431

Open
SafetyFast opened this issue Nov 11, 2024 · 0 comments
Open

E_COMPILE_ERROR with PHP 8.3.6 #431

SafetyFast opened this issue Nov 11, 2024 · 0 comments

Comments

@SafetyFast
Copy link

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>

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant