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
Enriches phpcs|checkstyle, phpunit, pmd are not working for me .. #341
Comments
The most likely reason for nothing showing up is a mismatch on the file paths within the respective report files. I just gave it a quick check and saw you use phpcs 3's option to set the basepath for the phpcs.xml report. Since phpDox expects a full path, the entry is most likely not found - which is not reported as of course not all files will have an entry so not finding an entry is a valid case. Try removing that option and run phpcs and phpdox again. The phpmd file is - except for two errors on parsing - empty for me. phpDox doesn't handle these general errors atm. I'll check on the PHPUnit tomorrow but expect a similar reason even though it wasn't as obvious to me right away. |
Commad Configuration for phpdox
is showing where the report file is located: This is same and working for phploc enricher !! Where enricher look for report file and what is recommended file name for report ? I do not understood your explanation about phpcs report file 👎 |
ok i found it. |
Maybe the same bug as #323.. Im on windows 10. |
With the solution from #323 i have got phpcs enricher to working state.. |
oouh no... some errors are not generated on pages... |
I'll debug this further next week. Thanks for the efforts already. |
@neradp Can you verify if the problem persists with the current master? |
Yes it is persists for me :( No output from phpcs or checkstyle enriches .. `[10.02.2019 - 12:11:46] Using config file './phpdox.xml' ......... [9] [10.02.2019 - 12:11:46] Saving results to directory 'C:/Users/peter/Projects/SNPClient/build/api/xml' ......... [9] [10.02.2019 - 12:11:46] Collector process completed [10.02.2019 - 12:11:46] Starting generator .................................................. [50] [10.02.2019 - 12:11:47] Generator process completed Time: 867 ms, Memory: 10.00MB Script phpdox handling the doc event returned with error code 255` |
Hello, php 7.3 I'm facing a similar issue some enricher are working (phpLOC & phpMD) but phpUnit & phpCS are not working. phpDox XML PhpUnit XML Have you got an idea? Thank you Regadrs |
I had the same issue with phpDox 0.12 (via composer). This version has not the change of the PHPUnit namespace in the template files: still "http". @theseer Will you release a version including the changes in the template files? |
Yes, I will. There are a few PRs still pending that I'd like to have included but need to review and merge first. |
Im using php 7.2.9, xdebug 2.6.1, phpdox 1.11.2, phpunit 7.3.5, phpcs 3.3.1, phpmd 2.6.0
Runnig phpdox give me no errors...
There is no output from those enriches.
Look at https://github.com/neradp/SNPClient, config file is phpdox.xml, in build directory are generated xml files, in doc directory is generated html.
The text was updated successfully, but these errors were encountered: