mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-02-12 09:08:40 +00:00
fix tests
This commit is contained in:
parent
30b99c23ab
commit
f5ecae3739
|
|
@ -136,7 +136,6 @@
|
||||||
<severity>3</severity>
|
<severity>3</severity>
|
||||||
</rule>
|
</rule>
|
||||||
<rule ref="PEAR.Classes.ClassDeclaration">
|
<rule ref="PEAR.Classes.ClassDeclaration">
|
||||||
<exclude-pattern>*/Install/Media/*</exclude-pattern><!-- Media uploads don't have a namespace -->
|
|
||||||
</rule>
|
</rule>
|
||||||
<rule ref="PEAR.Commenting.FileComment">
|
<rule ref="PEAR.Commenting.FileComment">
|
||||||
<exclude name="PEAR.Commenting.FileComment.InvalidPackage"/>
|
<exclude name="PEAR.Commenting.FileComment.InvalidPackage"/>
|
||||||
|
|
@ -166,6 +165,7 @@
|
||||||
</rule>
|
</rule>
|
||||||
<rule ref="PSR1.Classes.ClassDeclaration">
|
<rule ref="PSR1.Classes.ClassDeclaration">
|
||||||
<severity>3</severity>
|
<severity>3</severity>
|
||||||
|
<exclude-pattern>*/Install/Media/*</exclude-pattern><!-- Media uploads don't have a namespace -->
|
||||||
<exclude-pattern>*Pdf.php</exclude-pattern><!-- Just a wrapper -->
|
<exclude-pattern>*Pdf.php</exclude-pattern><!-- Just a wrapper -->
|
||||||
<exclude-pattern>*Excel.php</exclude-pattern><!-- Just a wrapper -->
|
<exclude-pattern>*Excel.php</exclude-pattern><!-- Just a wrapper -->
|
||||||
<exclude-pattern>*/tests/*</exclude-pattern><!-- Tests don't always have side effects -->
|
<exclude-pattern>*/tests/*</exclude-pattern><!-- Tests don't always have side effects -->
|
||||||
|
|
|
||||||
|
|
@ -86,9 +86,15 @@ parameters:
|
||||||
-
|
-
|
||||||
message: '#.*has parameter \$con with no typehint specified#'
|
message: '#.*has parameter \$con with no typehint specified#'
|
||||||
path: *Ftp/File.php
|
path: *Ftp/File.php
|
||||||
|
-
|
||||||
|
message: '#.*Instantiated class .* WorkflowController not found.*#'
|
||||||
|
path: *pdf.php
|
||||||
-
|
-
|
||||||
message: '#.*Constant PDF_.*#'
|
message: '#.*Constant PDF_.*#'
|
||||||
path: *pdf.php
|
path: *pdf.php
|
||||||
|
-
|
||||||
|
message: '#.*DefaultPdf.*#'
|
||||||
|
path: *pdf.php
|
||||||
-
|
-
|
||||||
message: '#.*Cannot call method setId\(\) on mixed.*#'
|
message: '#.*Cannot call method setId\(\) on mixed.*#'
|
||||||
path: *View.php
|
path: *View.php
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user