Hi, I'm starting developer, and I have some problems adding the github action phpmd it says that don't find the file, like it is shown in the image I add but is in the repository I don't know what is happening
#Help to implement github action phpmd to laravel proyect
1 messages · Page 1 of 1 (latest)
Did you try the action that's suggested in their docs? https://phpmd.org/documentation/ci-integration.html
Also, please use code snippets, as it would be easier for people to point out things that could be wrong in your code
Yeah that is the first thing i do
The steps i make was like
1st create a ruleset like this <?xml version="1.0"?>
<ruleset name="BasicSyntaxCheck">
<rule name="UnusedPrivateMethod" />
<rule name="UnusedLocalVariable" />
<rule name="EmptyStatement" />
<rule name="UnnecessaryElseStatement" />
<rule name="ShortVariable" />
<rule name="LongVariable" />
<rule name="LongMethod" />
<rule name="ExcessiveMethodLength" />
<rule name="ExcessiveClassLength" />
<rule name="TooManyParameters" />
<rule name="NpathComplexity" />
<rule name="CyclomaticComplexity" />
</ruleset>
2nd i open the proyect directory in my machine and run:
composer require phpmd/phpmd --dev
3rd push the changes to the github repo and copy and paste the same github action that they have in the docs
Your action looks quite a bit different tho..?