Hello i want to create phpcs.xml file. but i am not sure about whether this file is created by ant or codesniffer ? the reason for creating phpcs.xml is i want to add code block in build.xml file which i need to use in jenkins. can you please provide me help how to create this file? below is the code that i want to add in build.xml file.
<target name="phpcs" description="Find coding standard violations using CodeSniffer">
<exec executable="phpcs" output="/dev/null">
<arg value="--report=checkstyle" />
<arg value="--report-file=${basedir}/build/logs/checkstyle.xml" />
<arg value="--standard=${basedir}/build/phpcs.xml" />
<arg path="${basedir}/src" />
</exec>
</target>