Using Sonarcloud integration with Gitlab MR (merge-request)
Using PHPUNIT
–log-junit build/phpunit.xml
–coverage-clover build/coverage.xml \
coverage 100% but getting warning on 5 file path coverage report as below
Warnings Failed to resolve 5 file path(s) in PHPUnit coverage coverage.xml report. Nothing is imported related to file(s): /builds/PROJECT_NAME/apps/b2b/magento/app/autoload.php;/builds/PROJECT_NAME/apps/b2b/magento/app/bootstrap.php;/builds/PROJECT_NAME/apps/b2b/magento/app/etc/NonComposerComponentRegistration.php;/builds/PROJECT_NAME/apps/b2b/magento/app/etc/registration_globlist.php;/builds/PROJECT_NAME/apps/b2b/18f-magento/app/etc/vendor_path.php
Please help me with that file exclude from coverage report.
I try add into sonar-project.properties
But still having issue.
sonar.coverage.exclusions=**/*NonComposerComponentRegistration.php,**/*autoload.php,app/etc/*
Thanks;