Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow some legacy coding practices since there's nothing we can do ab…
…out them
  • Loading branch information
Synchro committed Oct 15, 2014
1 parent 0ba3549 commit d422dd9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .scrutinizer.yml
Expand Up @@ -116,6 +116,12 @@ tools:
# Runs Scrutinizer's PHP Analyzer Tool
php_analyzer:
enabled: true
checks:
php:
function_in_camel_caps: false
no_underscore_prefix_in_methods: false
no_underscore_prefix_in_properties: false
one_class_per_file: false
filter:
excluded_paths:
- 'docs/*'
Expand Down
2 changes: 1 addition & 1 deletion class.phpmailer.php
Expand Up @@ -2932,7 +2932,7 @@ public function msgHTML($message, $basedir = '', $advanced = false)
$cid,
$filename,
'base64',
self::_mime_types(self::mb_pathinfo($filename, PATHINFO_EXTENSION))
self::_mime_types((string)self::mb_pathinfo($filename, PATHINFO_EXTENSION))
)
) {
$message = preg_replace(
Expand Down

0 comments on commit d422dd9

Please sign in to comment.