• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to set CodeIgniter 4 coding standard in a phpcs.xml file ?

#6
I found a solution with this phpcs.xml :
Code:
<?xml version="1.0" encoding="utf-8" ?>
<rulset name="My Project">
    <config name="installed_paths" value="vendor/codeigniter4/codeigniter4-standard/CodeIgniter4"/>
    <description></description>

    <file>application</file>
    <file>tests/app</file>

    <rule ref="vendor/codeigniter4/codeigniter4-standard/CodeIgniter4/ruleset.xml"/>
</rulset>
Reply


Messages In This Thread
RE: How to set CodeIgniter 4 coding standard in a phpcs.xml file ? - by bvrignaud - 12-19-2018, 06:29 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.