Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #12 from elbgoods/bugfix/ignore-missing-native-arg…
Browse files Browse the repository at this point in the history
…ument-type-hint

ignore missing native argument type hint
  • Loading branch information
Gummibeer authored Feb 3, 2020
2 parents 9d29bd9 + 92eef27 commit 0bfc22e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/php-insights-test
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -e

DIR="$(dirname "$(readlink -f "$0")")"
vendor/bin/phpinsights analyse --config-path=${DIR}/../configs/phpinsights.php --no-interaction -v --disable-security-check --min-quality=90 --min-architecture=100 --min-style=100 "${@}"
vendor/bin/phpinsights analyse --config-path=${DIR}/../configs/phpinsights.php --no-interaction -v --disable-security-check --min-quality=100 --min-architecture=100 --min-style=100 "${@}"
1 change: 1 addition & 0 deletions override/SlevomatCodingStandard/Helpers/SuppressHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class SuppressHelper
'SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification',
'SlevomatCodingStandard.TypeHints.ParameterTypeHint.UselessAnnotation',
'SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification',
'SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint',
];

public static function isSniffSuppressed(File $phpcsFile, int $pointer, string $suppressName): bool
Expand Down

0 comments on commit 0bfc22e

Please sign in to comment.