Private GIT

Skip to content
Snippets Groups Projects
Commit 792f601f authored by Kevin Duret's avatar Kevin Duret
Browse files

avoid check style error with namespaces

parent e3edbd5a
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
--> -->
<target name="codestyle" depends="prepare"> <target name="codestyle" depends="prepare">
<phpcodesniffer standard="PSR2"> <phpcodesniffer standard="codingstyle.xml">
<formatter type="checkstyle" outfile="${builddir}/checkstyle.xml"/> <formatter type="checkstyle" outfile="${builddir}/checkstyle.xml"/>
<fileset dir="features"> <fileset dir="features">
<include name="**/*.php"/> <include name="**/*.php"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="centreonCodingStyle">
<description>Centreon coding style.</description>
<rule ref="PSR2" />
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<severity>0</severity>
</rule>
</ruleset>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment