mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 11:48:40 +00:00
fix tests
This commit is contained in:
parent
30b99c23ab
commit
f5ecae3739
|
|
@ -136,7 +136,6 @@
|
|||
<severity>3</severity>
|
||||
</rule>
|
||||
<rule ref="PEAR.Classes.ClassDeclaration">
|
||||
<exclude-pattern>*/Install/Media/*</exclude-pattern><!-- Media uploads don't have a namespace -->
|
||||
</rule>
|
||||
<rule ref="PEAR.Commenting.FileComment">
|
||||
<exclude name="PEAR.Commenting.FileComment.InvalidPackage"/>
|
||||
|
|
@ -166,6 +165,7 @@
|
|||
</rule>
|
||||
<rule ref="PSR1.Classes.ClassDeclaration">
|
||||
<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>*Excel.php</exclude-pattern><!-- Just a wrapper -->
|
||||
<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#'
|
||||
path: *Ftp/File.php
|
||||
-
|
||||
message: '#.*Instantiated class .* WorkflowController not found.*#'
|
||||
path: *pdf.php
|
||||
-
|
||||
message: '#.*Constant PDF_.*#'
|
||||
path: *pdf.php
|
||||
-
|
||||
message: '#.*DefaultPdf.*#'
|
||||
path: *pdf.php
|
||||
-
|
||||
message: '#.*Cannot call method setId\(\) on mixed.*#'
|
||||
path: *View.php
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user