简体   繁体   中英

How can I have PHPCS run our Joomla ruleset.xml in Travis-CI?

I'm working to integrate the Joomla CMS with Travis-CI as we expand our CI coverage and I'm running into issues with using PHPCS on Travis-CI. As shown here PHPCS registers the sniffs but when it scans for files to parse, 0 files are queued. The GitHub branch is on my fork here . Any suggestions?

I've finally figured this out. The issue I ran into dealt with the use of <exclude-pattern> tags.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM