Skip to content

Commit

Permalink
Create phpcs.xml
Browse files Browse the repository at this point in the history
Added the phpcs styles.
  • Loading branch information
Ruslan Baidan authored Oct 10, 2022
1 parent 01285a9 commit 70d33ed
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">

<arg name="basepath" value="."/>
<arg name="cache" value=".phpcs-cache"/>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<arg name="parallel" value="8"/>

<!-- Paths to check -->
<file>src</file>

<rule ref="PSR2" />
</ruleset>

0 comments on commit 70d33ed

Please sign in to comment.