diff --git a/Makefile b/Makefile index dc91125..5669189 100644 --- a/Makefile +++ b/Makefile @@ -13,3 +13,4 @@ test: ./vendor/bin/phpcs --standard=src/PeckaCodingStandard/ruleset.xml tests/Failure/TypeHints/ParameterTypeHintSpacing.php | tests/errorNumber.sh 2 ./vendor/bin/phpcs --standard=src/PeckaCodingStandard/ruleset.xml tests/Failure/Formatting/SpaceAfterCast.php | tests/errorNumber.sh 2 ./vendor/bin/phpcs --standard=src/PeckaCodingStandard/ruleset.xml tests/Failure/Exceptions/DeadCatch.php | tests/errorNumber.sh 1 + ./vendor/bin/phpcs --standard=src/PeckaCodingStandardStrict/ruleset.xml tests/Failure/TypeHints/ParameterTypeHint.php | tests/errorNumber.sh 1 diff --git a/src/PeckaCodingStandardStrict/ruleset.xml b/src/PeckaCodingStandardStrict/ruleset.xml index 1879e3e..5e04646 100644 --- a/src/PeckaCodingStandardStrict/ruleset.xml +++ b/src/PeckaCodingStandardStrict/ruleset.xml @@ -13,6 +13,7 @@ + diff --git a/tests/Failure/TypeHints/ParameterTypeHint.php b/tests/Failure/TypeHints/ParameterTypeHint.php new file mode 100644 index 0000000..c117672 --- /dev/null +++ b/tests/Failure/TypeHints/ParameterTypeHint.php @@ -0,0 +1,11 @@ +