#Help to implement github action phpmd to laravel proyect

1 messages · Page 1 of 1 (latest)

warm fable
#

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

wraith jacinth
warm fable
#

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

wraith jacinth
#

Your action looks quite a bit different tho..?