diff --git a/src/Standards/Generic/Docs/ControlStructures/DisallowYodaConditionsStandard.xml b/src/Standards/Generic/Docs/ControlStructures/DisallowYodaConditionsStandard.xml index 570e4192b3..651cc70d34 100644 --- a/src/Standards/Generic/Docs/ControlStructures/DisallowYodaConditionsStandard.xml +++ b/src/Standards/Generic/Docs/ControlStructures/DisallowYodaConditionsStandard.xml @@ -5,14 +5,14 @@ ]]> - + { $var = 1; } ]]> - + { $var = 1; diff --git a/src/Standards/Generic/Docs/Files/InlineHTMLStandard.xml b/src/Standards/Generic/Docs/Files/InlineHTMLStandard.xml index 3fbf5024db..3c137a9a91 100644 --- a/src/Standards/Generic/Docs/Files/InlineHTMLStandard.xml +++ b/src/Standards/Generic/Docs/Files/InlineHTMLStandard.xml @@ -1,18 +1,18 @@ - + - + some string here - + = (1 + 2); $veryLongVarName = 'string'; $var = foo($bar, $baz); ]]> - + = (1 + 2); $veryLongVarName = 'string'; @@ -22,17 +22,17 @@ $var = foo($bar, $baz); - + += 1; $veryLongVarName = 1; ]]> - + += 1; $veryLongVarName = 1; @@ -40,13 +40,13 @@ $veryLongVarName = 1; - + = 1; $veryLongVarName -= 1; ]]> - + = 1; $veryLongVarName -= 1; diff --git a/src/Standards/Generic/Docs/Functions/OpeningFunctionBraceBsdAllmanStandard.xml b/src/Standards/Generic/Docs/Functions/OpeningFunctionBraceBsdAllmanStandard.xml index 414dc289ef..76314c5086 100644 --- a/src/Standards/Generic/Docs/Functions/OpeningFunctionBraceBsdAllmanStandard.xml +++ b/src/Standards/Generic/Docs/Functions/OpeningFunctionBraceBsdAllmanStandard.xml @@ -5,7 +5,7 @@ ]]> - + { @@ -13,7 +13,7 @@ function fooFunction($arg1, $arg2 = '') } ]]> - + { ... diff --git a/src/Standards/Generic/Docs/Functions/OpeningFunctionBraceKernighanRitchieStandard.xml b/src/Standards/Generic/Docs/Functions/OpeningFunctionBraceKernighanRitchieStandard.xml index 84c2bdd869..acd65e08b0 100644 --- a/src/Standards/Generic/Docs/Functions/OpeningFunctionBraceKernighanRitchieStandard.xml +++ b/src/Standards/Generic/Docs/Functions/OpeningFunctionBraceKernighanRitchieStandard.xml @@ -5,14 +5,14 @@ ]]> - + { ... } ]]> - + { diff --git a/src/Standards/Generic/Docs/NamingConventions/AbstractClassNamePrefixStandard.xml b/src/Standards/Generic/Docs/NamingConventions/AbstractClassNamePrefixStandard.xml index c30d26e9d5..e9e61ddd67 100644 --- a/src/Standards/Generic/Docs/NamingConventions/AbstractClassNamePrefixStandard.xml +++ b/src/Standards/Generic/Docs/NamingConventions/AbstractClassNamePrefixStandard.xml @@ -5,14 +5,14 @@ ]]> - + AbstractBar { } ]]> - + Bar { diff --git a/src/Standards/Generic/Docs/NamingConventions/InterfaceNameSuffixStandard.xml b/src/Standards/Generic/Docs/NamingConventions/InterfaceNameSuffixStandard.xml index 0aa0c76e4d..bf1a70769e 100644 --- a/src/Standards/Generic/Docs/NamingConventions/InterfaceNameSuffixStandard.xml +++ b/src/Standards/Generic/Docs/NamingConventions/InterfaceNameSuffixStandard.xml @@ -5,14 +5,14 @@ ]]> - + BarInterface { } ]]> - + Bar { diff --git a/src/Standards/Generic/Docs/NamingConventions/TraitNameSuffixStandard.xml b/src/Standards/Generic/Docs/NamingConventions/TraitNameSuffixStandard.xml index 711867e451..fb5f2e670a 100644 --- a/src/Standards/Generic/Docs/NamingConventions/TraitNameSuffixStandard.xml +++ b/src/Standards/Generic/Docs/NamingConventions/TraitNameSuffixStandard.xml @@ -5,14 +5,14 @@ ]]> - + BarTrait { } ]]> - + Bar { diff --git a/src/Standards/Generic/Docs/NamingConventions/UpperCaseConstantNameStandard.xml b/src/Standards/Generic/Docs/NamingConventions/UpperCaseConstantNameStandard.xml index 6ef61b93c9..22c2f6b12f 100644 --- a/src/Standards/Generic/Docs/NamingConventions/UpperCaseConstantNameStandard.xml +++ b/src/Standards/Generic/Docs/NamingConventions/UpperCaseConstantNameStandard.xml @@ -1,11 +1,11 @@ - + FOO_CONSTANT', 'foo'); @@ -15,7 +15,7 @@ class FooClass } ]]> - + Foo_Constant', 'foo'); diff --git a/src/Standards/Generic/Docs/PHP/CharacterBeforePHPOpeningTagStandard.xml b/src/Standards/Generic/Docs/PHP/CharacterBeforePHPOpeningTagStandard.xml index df5a0eba4c..494a5d7383 100644 --- a/src/Standards/Generic/Docs/PHP/CharacterBeforePHPOpeningTagStandard.xml +++ b/src/Standards/Generic/Docs/PHP/CharacterBeforePHPOpeningTagStandard.xml @@ -1,17 +1,17 @@ - + - + Beginning content - + echo 'Foo'; diff --git a/src/Standards/Generic/Docs/PHP/LowerCaseConstantStandard.xml b/src/Standards/Generic/Docs/PHP/LowerCaseConstantStandard.xml index 7dc30c10d5..d4aac8093f 100644 --- a/src/Standards/Generic/Docs/PHP/LowerCaseConstantStandard.xml +++ b/src/Standards/Generic/Docs/PHP/LowerCaseConstantStandard.xml @@ -5,14 +5,14 @@ ]]> - + false || $var === null) { $var = true; } ]]> - + FALSE || $var === NULL) { $var = TRUE; diff --git a/src/Standards/Generic/Docs/PHP/RequireStrictTypesStandard.xml b/src/Standards/Generic/Docs/PHP/RequireStrictTypesStandard.xml index 701cb484e0..dc72430695 100644 --- a/src/Standards/Generic/Docs/PHP/RequireStrictTypesStandard.xml +++ b/src/Standards/Generic/Docs/PHP/RequireStrictTypesStandard.xml @@ -5,14 +5,14 @@ ]]> - + strict_types=1); declare(encoding='UTF-8', strict_types=0); ]]> - + ); ]]> @@ -24,12 +24,12 @@ declare(encoding='ISO-8859-1'); ]]> - + 1); ]]> - + 0); ]]> diff --git a/src/Standards/Generic/Docs/PHP/SAPIUsageStandard.xml b/src/Standards/Generic/Docs/PHP/SAPIUsageStandard.xml index e74005ad12..989827ed97 100644 --- a/src/Standards/Generic/Docs/PHP/SAPIUsageStandard.xml +++ b/src/Standards/Generic/Docs/PHP/SAPIUsageStandard.xml @@ -12,7 +12,7 @@ if (PHP_SAPI === 'cli') { } ]]> - + php_sapi_name() === 'cli') { echo "Hello, CLI user."; diff --git a/src/Standards/Generic/Docs/PHP/UpperCaseConstantStandard.xml b/src/Standards/Generic/Docs/PHP/UpperCaseConstantStandard.xml index 1f337f77ed..2cc1df2f45 100644 --- a/src/Standards/Generic/Docs/PHP/UpperCaseConstantStandard.xml +++ b/src/Standards/Generic/Docs/PHP/UpperCaseConstantStandard.xml @@ -5,14 +5,14 @@ ]]> - + FALSE || $var === NULL) { $var = TRUE; } ]]> - + false || $var === null) { $var = true; diff --git a/src/Standards/Generic/Docs/VersionControl/SubversionPropertiesStandard.xml b/src/Standards/Generic/Docs/VersionControl/SubversionPropertiesStandard.xml index f4f3e19cb5..c38ae4c449 100644 --- a/src/Standards/Generic/Docs/VersionControl/SubversionPropertiesStandard.xml +++ b/src/Standards/Generic/Docs/VersionControl/SubversionPropertiesStandard.xml @@ -1,7 +1,7 @@ diff --git a/src/Standards/Generic/Docs/WhiteSpace/ArbitraryParenthesesSpacingStandard.xml b/src/Standards/Generic/Docs/WhiteSpace/ArbitraryParenthesesSpacingStandard.xml index 338c838933..d65c93a8c9 100644 --- a/src/Standards/Generic/Docs/WhiteSpace/ArbitraryParenthesesSpacingStandard.xml +++ b/src/Standards/Generic/Docs/WhiteSpace/ArbitraryParenthesesSpacingStandard.xml @@ -5,12 +5,12 @@ ]]> - + - + &...$spread) { } ]]> - + ... $spread) { bar(... diff --git a/src/Standards/PEAR/Docs/Commenting/FileCommentStandard.xml b/src/Standards/PEAR/Docs/Commenting/FileCommentStandard.xml index eef0b4e397..190670f75c 100644 --- a/src/Standards/PEAR/Docs/Commenting/FileCommentStandard.xml +++ b/src/Standards/PEAR/Docs/Commenting/FileCommentStandard.xml @@ -1,7 +1,14 @@ @@ -231,16 +238,14 @@ */ ]]> - + @package Foo_Helpers - * @category Foo + * @category Foo + * @package Foo_Helpers * @author Marty McFly * @copyright 2013-2014 Foo Inc. * @license MIT License @@ -267,14 +272,16 @@ */ ]]> - + @package Foo_Helpers + * @category Foo * @author Marty McFly * @copyright 2013-2014 Foo Inc. * @license MIT License diff --git a/src/Standards/PEAR/Docs/Files/IncludingFileStandard.xml b/src/Standards/PEAR/Docs/Files/IncludingFileStandard.xml index 6d115be768..912fa5e0eb 100644 --- a/src/Standards/PEAR/Docs/Files/IncludingFileStandard.xml +++ b/src/Standards/PEAR/Docs/Files/IncludingFileStandard.xml @@ -10,12 +10,12 @@ ]]> - + - + ('PHP/CodeSniffer.php'); ]]> diff --git a/src/Standards/PEAR/Docs/Functions/FunctionCallSignatureStandard.xml b/src/Standards/PEAR/Docs/Functions/FunctionCallSignatureStandard.xml index f87422778e..2f539c9b51 100644 --- a/src/Standards/PEAR/Docs/Functions/FunctionCallSignatureStandard.xml +++ b/src/Standards/PEAR/Docs/Functions/FunctionCallSignatureStandard.xml @@ -1,16 +1,16 @@ - + - + ( $bar, $baz, $quux ) ; ]]> diff --git a/src/Standards/PEAR/Docs/Functions/ValidDefaultValueStandard.xml b/src/Standards/PEAR/Docs/Functions/ValidDefaultValueStandard.xml index 56196cb620..ef9bc32626 100644 --- a/src/Standards/PEAR/Docs/Functions/ValidDefaultValueStandard.xml +++ b/src/Standards/PEAR/Docs/Functions/ValidDefaultValueStandard.xml @@ -5,7 +5,7 @@ ]]> - + $persistent = false) { @@ -13,7 +13,7 @@ function connect($dsn, $persistent = false) } ]]> - + $persistent = false, $dsn) { diff --git a/src/Standards/PEAR/Docs/NamingConventions/ValidClassNameStandard.xml b/src/Standards/PEAR/Docs/NamingConventions/ValidClassNameStandard.xml index d160879196..052fb2babc 100644 --- a/src/Standards/PEAR/Docs/NamingConventions/ValidClassNameStandard.xml +++ b/src/Standards/PEAR/Docs/NamingConventions/ValidClassNameStandard.xml @@ -5,14 +5,14 @@ ]]> - + - + - + - + - + diff --git a/src/Standards/PSR1/Docs/Methods/CamelCapsMethodNameStandard.xml b/src/Standards/PSR1/Docs/Methods/CamelCapsMethodNameStandard.xml index 8db899d677..66df4e1ce1 100644 --- a/src/Standards/PSR1/Docs/Methods/CamelCapsMethodNameStandard.xml +++ b/src/Standards/PSR1/Docs/Methods/CamelCapsMethodNameStandard.xml @@ -5,7 +5,7 @@ ]]> - + - + - + - + - + - + - + - + - + @@ -27,7 +27,7 @@ $array = Array('val1', 'val2'); ]]> - + 'value1', @@ -35,7 +35,7 @@ $array = array( ); ]]> - + 'value1', 'key2' => 'value2', @@ -49,7 +49,7 @@ $array = array('key1' => 'value1', ]]> - + 'key1' => 'value1', @@ -57,7 +57,7 @@ $array = array( ); ]]> - + 'key1' => 'value1', @@ -72,7 +72,7 @@ $array = array( ]]> - + => 'ValueTen', @@ -80,7 +80,7 @@ $array = array( ); ]]> - + => 'ValueTen', @@ -95,7 +95,7 @@ $array = array( ]]> - + 'value1', @@ -104,7 +104,7 @@ $array = array( ); ]]> - + 'value1', diff --git a/src/Standards/Squiz/Docs/Classes/LowercaseClassKeywordsStandard.xml b/src/Standards/Squiz/Docs/Classes/LowercaseClassKeywordsStandard.xml index 6d38c5a89b..610edf62f4 100644 --- a/src/Standards/Squiz/Docs/Classes/LowercaseClassKeywordsStandard.xml +++ b/src/Standards/Squiz/Docs/Classes/LowercaseClassKeywordsStandard.xml @@ -1,7 +1,7 @@ diff --git a/src/Standards/Squiz/Docs/ControlStructures/LowercaseDeclarationStandard.xml b/src/Standards/Squiz/Docs/ControlStructures/LowercaseDeclarationStandard.xml index 08017b752d..d281400be8 100644 --- a/src/Standards/Squiz/Docs/ControlStructures/LowercaseDeclarationStandard.xml +++ b/src/Standards/Squiz/Docs/ControlStructures/LowercaseDeclarationStandard.xml @@ -1,7 +1,7 @@ diff --git a/src/Standards/Squiz/Docs/Functions/FunctionDuplicateArgumentStandard.xml b/src/Standards/Squiz/Docs/Functions/FunctionDuplicateArgumentStandard.xml deleted file mode 100644 index 8a0e47eab0..0000000000 --- a/src/Standards/Squiz/Docs/Functions/FunctionDuplicateArgumentStandard.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - isset($foo)) { - echo $foo; -} - ]]> - - - isSet($foo)) { - echo $foo; -} - ]]> - - - diff --git a/src/Standards/Squiz/Docs/Functions/LowercaseFunctionKeywordsStandard.xml b/src/Standards/Squiz/Docs/Functions/LowercaseFunctionKeywordsStandard.xml index b97e80733c..fb2ef443ca 100644 --- a/src/Standards/Squiz/Docs/Functions/LowercaseFunctionKeywordsStandard.xml +++ b/src/Standards/Squiz/Docs/Functions/LowercaseFunctionKeywordsStandard.xml @@ -1,7 +1,7 @@ diff --git a/src/Standards/Squiz/Docs/WhiteSpace/LanguageConstructSpacingStandard.xml b/src/Standards/Squiz/Docs/WhiteSpace/LanguageConstructSpacingStandard.xml index aceb886754..85838ec329 100644 --- a/src/Standards/Squiz/Docs/WhiteSpace/LanguageConstructSpacingStandard.xml +++ b/src/Standards/Squiz/Docs/WhiteSpace/LanguageConstructSpacingStandard.xml @@ -1,7 +1,7 @@ diff --git a/src/Standards/Squiz/Docs/WhiteSpace/ScopeKeywordSpacingStandard.xml b/src/Standards/Squiz/Docs/WhiteSpace/ScopeKeywordSpacingStandard.xml index 4394ea27ad..f226a128b8 100644 --- a/src/Standards/Squiz/Docs/WhiteSpace/ScopeKeywordSpacingStandard.xml +++ b/src/Standards/Squiz/Docs/WhiteSpace/ScopeKeywordSpacingStandard.xml @@ -1,7 +1,7 @@ diff --git a/src/Standards/Zend/Docs/Files/ClosingTagStandard.xml b/src/Standards/Zend/Docs/Files/ClosingTagStandard.xml index aa60b8ab93..f1dca3c67a 100644 --- a/src/Standards/Zend/Docs/Files/ClosingTagStandard.xml +++ b/src/Standards/Zend/Docs/Files/ClosingTagStandard.xml @@ -1,7 +1,7 @@ @@ -11,7 +11,7 @@ $var = 1; ]]> - +