Skip to content

Instantly share code, notes, and snippets.

@alcaeus
Last active December 5, 2019 13:11
Show Gist options
  • Save alcaeus/29f2c69ca1444260ea2b976221942c5c to your computer and use it in GitHub Desktop.
Save alcaeus/29f2c69ca1444260ea2b976221942c5c to your computer and use it in GitHub Desktop.
doctrine/mongodb-odm && doctrine/coding-standard 7.0
diff --git a/composer.json b/composer.json
index 166745af..57482d73 100644
--- a/composer.json
+++ b/composer.json
@@ -11,6 +11,9 @@
"mapping",
"object"
],
+ "repositories": [
+ {"type": "vcs", "url": "https://github.com/simPod/coding-standard"}
+ ],
"homepage": "https://www.doctrine-project.org/projects/mongodb-odm.html",
"license": "MIT",
"authors": [
@@ -36,7 +39,7 @@
"symfony/var-dumper": "^3.4|^4.1|^5.0"
},
"require-dev": {
- "doctrine/coding-standard": "^6.0",
+ "doctrine/coding-standard": "dev-upgrade-slevomatcs",
"jmikola/geojson": "^1.0",
"phpbench/phpbench": "^0.13.0",
"phpstan/phpstan": "^0.10.3",
diff --git a/phpcs.xml.dist b/phpcs.xml.dist
index d86d67ae..895c7086 100644
--- a/phpcs.xml.dist
+++ b/phpcs.xml.dist
@@ -20,13 +20,14 @@
<rule ref="Doctrine">
<!-- Traversable type hints often end up as mixed[], so we skip them for now -->
- <exclude name="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversablePropertyTypeHintSpecification" />
- <exclude name="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversableParameterTypeHintSpecification" />
- <exclude name="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversableReturnTypeHintSpecification" />
+ <exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification" />
+ <exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingTraversableTypeHintSpecification" />
+ <exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification" />
<!-- Will cause BC breaks to method signatures - disabled for now -->
- <exclude name="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingParameterTypeHint" />
- <exclude name="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingReturnTypeHint" />
+ <exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint" />
+ <exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingNativeTypeHint" />
+ <exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint" />
<!-- Disabled to avoid class renaming - to be handled in a separate PR -->
<exclude name="SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming" />
@@ -71,7 +72,7 @@
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
- <rule ref="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingPropertyTypeHint">
+ <rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint">
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/tools/sandbox/Documents/*</exclude-pattern>
</rule>
.EEEEEEEE...EEEEE.EEEE.EEEEEEE..EE.EEEEEEEEEEEEEEEEEEEEEEEEE 60 / 74 (81%)
EEEEEEEEEEEEEE 74 / 74 (100%)
FILE: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/ReplaceRoot.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
29 | ERROR | Method \Doctrine\ODM\MongoDB\Aggregation\Stage\ReplaceRoot::__construct() does not have parameter type hint nor @param annotation for its parameter $expression.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
52 | ERROR | Method \Doctrine\ODM\MongoDB\Aggregation\Stage\ReplaceRoot::convertExpression() does not have parameter type hint nor @param annotation for its parameter $expression.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
52 | ERROR | Method \Doctrine\ODM\MongoDB\Aggregation\Stage\ReplaceRoot::convertExpression() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Group.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
84 | ERROR | Method \Doctrine\ODM\MongoDB\Aggregation\Stage\Group::expression() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
96 | ERROR | Method \Doctrine\ODM\MongoDB\Aggregation\Stage\Group::field() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: benchmark/BaseBench.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
87 | ERROR | Method \Doctrine\ODM\MongoDB\Benchmark\BaseBench::createMetadataDriverImpl() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Bucket/BucketAutoOutput.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
25 | ERROR | Method \Doctrine\ODM\MongoDB\Aggregation\Stage\Bucket\BucketAutoOutput::groupBy() does not have parameter type hint nor @param annotation for its parameter $expression.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Lookup.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
172 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
191 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/AbstractBucket.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
84 | ERROR | Method \Doctrine\ODM\MongoDB\Aggregation\Stage\AbstractBucket::convertExpression() does not have parameter type hint nor @param annotation for its parameter $expression.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
84 | ERROR | Method \Doctrine\ODM\MongoDB\Aggregation\Stage\AbstractBucket::convertExpression() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Out.php
--------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------
40 | ERROR | [x] Useless documentation comment with @inheritDoc.
| | (SlevomatCodingStandard.Commenting.UselessInheritDocComment.UselessInheritDocComment)
--------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Operator.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
401 | ERROR | Method \Doctrine\ODM\MongoDB\Aggregation\Stage\Operator::expression() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
413 | ERROR | Method \Doctrine\ODM\MongoDB\Aggregation\Stage\Operator::field() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 24 ERRORS AFFECTING 24 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
559 | ERROR | [x] Useless documentation comment with @inheritDoc. (SlevomatCodingStandard.Commenting.UselessInheritDocComment.UselessInheritDocComment)
796 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
855 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
922 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1038 | ERROR | [x] Useless documentation comment with @inheritDoc. (SlevomatCodingStandard.Commenting.UselessInheritDocComment.UselessInheritDocComment)
1080 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1181 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1798 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1801 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1808 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1811 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1814 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1849 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1853 | ERROR | [x] Expected 1 lines after "switch", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1854 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1892 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1895 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1898 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1909 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1913 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1920 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1924 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1928 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
2063 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 24 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Repository/DefaultGridFSRepository.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
12 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is fclose. (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
22 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Repository\DefaultGridFSRepository::openDownloadStream() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
22 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Repository\DefaultGridFSRepository::openDownloadStream() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
34 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Repository\DefaultGridFSRepository::downloadToStream() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
34 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Repository\DefaultGridFSRepository::downloadToStream() does not have parameter type hint nor @param annotation for its parameter $destination.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
46 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Repository\DefaultGridFSRepository::openUploadStream() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
56 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Repository\DefaultGridFSRepository::uploadFromStream() does not have parameter type hint nor @param annotation for its parameter $source.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
56 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Repository\DefaultGridFSRepository::uploadFromStream() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
66 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Repository\DefaultGridFSRepository::uploadFromFile() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Aggregation/Expr.php
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1540 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GeneratePersistentCollectionsCommand.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
13 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is assert. (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
58 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tools\Console\Command\GeneratePersistentCollectionsCommand::execute() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
102 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GenerateHydratorsCommand.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
13 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is assert. (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
58 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tools\Console\Command\GenerateHydratorsCommand::execute() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Tools/Console/Command/Schema/ValidateCommand.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
36 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tools\Console\Command\Schema\ValidateCommand::execute() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
38 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
44 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GenerateProxiesCommand.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
15 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is array_filter. (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
57 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tools\Console\Command\GenerateProxiesCommand::execute() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
62 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 45 ERRORS AFFECTING 45 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
109 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
113 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
116 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
124 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
127 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
130 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
134 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
137 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
141 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
143 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
148 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
151 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
156 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
159 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
173 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
236 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
241 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
246 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
251 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
256 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
290 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
293 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
296 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
318 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
321 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
325 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
331 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
334 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
337 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
343 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Mapping\Driver\XmlDriver::addReferenceMapping() does not have parameter type hint nor @param annotation for its parameter $reference.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
346 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
369 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
372 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
376 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
382 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
385 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
391 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
397 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
400 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
425 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
428 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
431 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
441 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
536 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
562 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 44 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/GraphLookup.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
279 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Aggregation\Stage\GraphLookup::convertExpression() does not have parameter type hint nor @param annotation for its parameter $expression.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
279 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Aggregation\Stage\GraphLookup::convertExpression() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
292 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Aggregation\Stage\GraphLookup::convertTargetFieldName() does not have parameter type hint nor @param annotation for its parameter $fieldName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
292 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Aggregation\Stage\GraphLookup::convertTargetFieldName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
325 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
326 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/MongoDBException.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
71 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Types/DateType.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
14 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is abs. (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
85 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Types\DateType::convertToDatabaseValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
85 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Types\DateType::convertToDatabaseValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
96 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Types\DateType::convertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
96 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Types\DateType::convertToPHPValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Mapping/Driver/AnnotationDriver.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 17 ERRORS AFFECTING 16 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is array_merge. (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
31 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Mapping\Driver\AnnotationDriver::isTransient() does not have parameter type hint nor @param annotation for its parameter $className.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
31 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Mapping\Driver\AnnotationDriver::isTransient() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
59 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
66 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
81 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
113 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
116 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
120 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
123 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
126 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
129 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
150 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
156 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
196 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
242 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
249 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Tools/Console/Command/Schema/DropCommand.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
36 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tools\Console\Command\Schema\DropCommand::execute() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
51 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 16 ERRORS AFFECTING 12 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
184 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
187 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
215 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
593 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\PersistentCollection\PersistentCollectionTrait::__sleep() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
603 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\PersistentCollection\PersistentCollectionTrait::offsetExists() does not have parameter type hint nor @param annotation for its parameter $offset.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
603 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\PersistentCollection\PersistentCollectionTrait::offsetExists() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
613 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\PersistentCollection\PersistentCollectionTrait::offsetGet() does not have parameter type hint nor @param annotation for its parameter $offset.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
613 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\PersistentCollection\PersistentCollectionTrait::offsetGet() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
624 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\PersistentCollection\PersistentCollectionTrait::offsetSet() does not have parameter type hint nor @param annotation for its parameter $offset.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
624 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\PersistentCollection\PersistentCollectionTrait::offsetSet() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
624 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\PersistentCollection\PersistentCollectionTrait::offsetSet() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
636 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\PersistentCollection\PersistentCollectionTrait::offsetUnset() does not have parameter type hint nor @param annotation for its parameter $offset.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
641 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\PersistentCollection\PersistentCollectionTrait::key() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
649 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\PersistentCollection\PersistentCollectionTrait::current() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
657 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\PersistentCollection\PersistentCollectionTrait::next() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
709 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Repository/DefaultRepositoryFactory.php
--------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------
16 | ERROR | [x] Useless documentation comment with @inheritDoc.
| | (SlevomatCodingStandard.Commenting.UselessInheritDocComment.UselessInheritDocComment)
--------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/PersistentCollection/DefaultPersistentCollectionFactory.php
--------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------
14 | ERROR | [x] Useless documentation comment with @inheritDoc.
| | (SlevomatCodingStandard.Commenting.UselessInheritDocComment.UselessInheritDocComment)
--------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadataFactory.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 24 ERRORS AFFECTING 23 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
64 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Mapping\ClassMetadataFactory::getMetadataFor() does not have parameter type hint nor @param annotation for its parameter $className.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
64 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Mapping\ClassMetadataFactory::getMetadataFor() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
117 | ERROR | [x] Useless documentation comment with @inheritDoc. (SlevomatCodingStandard.Commenting.UselessInheritDocComment.UselessInheritDocComment)
124 | ERROR | [x] Useless documentation comment with @inheritDoc. (SlevomatCodingStandard.Commenting.UselessInheritDocComment.UselessInheritDocComment)
131 | ERROR | [x] Useless documentation comment with @inheritDoc. (SlevomatCodingStandard.Commenting.UselessInheritDocComment.UselessInheritDocComment)
190 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
193 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
242 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
245 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
247 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
250 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
253 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
258 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
260 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
265 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
267 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
278 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
290 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
300 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
312 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
313 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
316 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
338 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
341 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 22 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Tools/ResolveTargetDocumentListener.php
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
69 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
91 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
94 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
97 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Types/HashType.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
15 | ERROR | Method \Doctrine\ODM\MongoDB\Types\HashType::convertToDatabaseValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
15 | ERROR | Method \Doctrine\ODM\MongoDB\Types\HashType::convertToDatabaseValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
24 | ERROR | Method \Doctrine\ODM\MongoDB\Types\HashType::convertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
24 | ERROR | Method \Doctrine\ODM\MongoDB\Types\HashType::convertToPHPValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Repository/AbstractRepositoryFactory.php
--------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------
25 | ERROR | [x] Useless documentation comment with @inheritDoc.
| | (SlevomatCodingStandard.Commenting.UselessInheritDocComment.UselessInheritDocComment)
--------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Types/CustomIdType.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
12 | ERROR | Method \Doctrine\ODM\MongoDB\Types\CustomIdType::convertToDatabaseValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
12 | ERROR | Method \Doctrine\ODM\MongoDB\Types\CustomIdType::convertToDatabaseValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
17 | ERROR | Method \Doctrine\ODM\MongoDB\Types\CustomIdType::convertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
17 | ERROR | Method \Doctrine\ODM\MongoDB\Types\CustomIdType::convertToPHPValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Tools/Console/Command/QueryCommand.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
70 | ERROR | Method \Doctrine\ODM\MongoDB\Tools\Console\Command\QueryCommand::execute() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Types/StringType.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
14 | ERROR | Method \Doctrine\ODM\MongoDB\Types\StringType::convertToDatabaseValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
14 | ERROR | Method \Doctrine\ODM\MongoDB\Types\StringType::convertToDatabaseValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
19 | ERROR | Method \Doctrine\ODM\MongoDB\Types\StringType::convertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
19 | ERROR | Method \Doctrine\ODM\MongoDB\Types\StringType::convertToPHPValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/PersistentCollection/DefaultPersistentCollectionGenerator.php
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 14 ERRORS AFFECTING 14 LINES
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
14 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is array_map.
| | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
59 | ERROR | [x] Useless documentation comment with @inheritDoc. (SlevomatCodingStandard.Commenting.UselessInheritDocComment.UselessInheritDocComment)
70 | ERROR | [x] Useless documentation comment with @inheritDoc. (SlevomatCodingStandard.Commenting.UselessInheritDocComment.UselessInheritDocComment)
76 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
98 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
155 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
156 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
215 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
312 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
315 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
323 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
324 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
331 | ERROR | [x] Expected 1 lines before "throw", found 0. (SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountBeforeControlStructure)
336 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 14 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Types/DateImmutableType.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
19 | ERROR | Method \Doctrine\ODM\MongoDB\Types\DateImmutableType::getDateTime() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Configuration.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
214 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
220 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Iterator/CachingIterator.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
157 | ERROR | [x] Expected 1 lines after "yield", found 0.
| | (SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountAfterControlStructure)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Types/Type.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
138 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
177 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Types\Type::convertPHPToDatabaseValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
177 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Types\Type::convertPHPToDatabaseValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
238 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Types\Type::__toString() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Persisters/CollectionPersister.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 19 ERRORS AFFECTING 19 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
74 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
77 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
110 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
114 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
116 | ERROR | [x] Expected 0 lines after "throw", found 1. (SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountAfterLastControlStructure)
118 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
123 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
133 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
169 | ERROR | [x] Expected 1 lines after "foreach", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
202 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
207 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
223 | ERROR | [x] Expected 1 lines after "foreach", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
229 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
263 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
294 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
413 | ERROR | [x] Expected 1 lines after "while", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
415 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
439 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
458 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 19 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Tools/Console/Command/Schema/CreateCommand.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
39 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tools\Console\Command\Schema\CreateCommand::execute() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
56 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Id/AlnumGenerator.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is bccomp.
| | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Types/IdType.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
15 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Types\IdType::convertToDatabaseValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
15 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Types\IdType::convertToDatabaseValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
17 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
31 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Types\IdType::convertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
31 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Types\IdType::convertToPHPValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Query/ReferencePrimer.php
----------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------
137 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
----------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Query/QueryExpressionVisitor.php
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 10 LINES
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
64 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
65 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
66 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
67 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
68 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
69 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
70 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
71 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
72 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
78 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Query/CriteriaMerger.php
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
32 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
34 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Query/Query.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 18 ERRORS AFFECTING 18 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
123 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
124 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
125 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
126 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
127 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
128 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
129 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
167 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Query\Query::debug() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
240 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
250 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
409 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
419 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
431 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
439 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
441 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
467 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
469 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
478 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 17 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/UnitOfWork.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 56 ERRORS AFFECTING 56 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
388 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
450 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
457 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
460 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
465 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
549 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
622 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
626 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
631 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
638 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
661 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
684 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
723 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
726 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
734 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
842 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
930 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
932 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
934 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
955 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
963 | ERROR | [x] Expected 0 lines after "throw", found 1. (SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountAfterLastControlStructure)
1121 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1166 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1169 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1197 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1200 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1203 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1288 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1303 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1546 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\UnitOfWork::containsId() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
1562 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1593 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1595 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1615 | ERROR | [x] Expected 0 lines after "throw", found 1. (SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountAfterLastControlStructure)
1663 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1664 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1667 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1671 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1744 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1782 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
1905 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1920 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1986 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
2006 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
2011 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
2075 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
2084 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
2086 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
2096 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
2098 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
2116 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
2177 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
2264 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
2337 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
2446 | ERROR | [x] Expected 1 lines after "while", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
2573 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 55 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Tools/Console/Command/ClearCache/MetadataCommand.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
38 | ERROR | Method \Doctrine\ODM\MongoDB\Tools\Console\Command\ClearCache\MetadataCommand::execute() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Types/FloatType.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
12 | ERROR | Method \Doctrine\ODM\MongoDB\Types\FloatType::convertToDatabaseValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
12 | ERROR | Method \Doctrine\ODM\MongoDB\Types\FloatType::convertToDatabaseValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
17 | ERROR | Method \Doctrine\ODM\MongoDB\Types\FloatType::convertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
17 | ERROR | Method \Doctrine\ODM\MongoDB\Types\FloatType::convertToPHPValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Types/CollectionType.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
16 | ERROR | Method \Doctrine\ODM\MongoDB\Types\CollectionType::convertToDatabaseValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
16 | ERROR | Method \Doctrine\ODM\MongoDB\Types\CollectionType::convertToDatabaseValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
25 | ERROR | Method \Doctrine\ODM\MongoDB\Types\CollectionType::convertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
25 | ERROR | Method \Doctrine\ODM\MongoDB\Types\CollectionType::convertToPHPValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Persisters/DocumentPersister.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 27 ERRORS AFFECTING 27 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
215 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
235 | ERROR | [x] Expected 1 lines before "throw", found 0. (SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountBeforeControlStructure)
271 | ERROR | [x] Expected 1 lines before "throw", found 0. (SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountBeforeControlStructure)
290 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
456 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
488 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
652 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
693 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
717 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
757 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
760 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
763 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
823 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
826 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
905 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1012 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1221 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1247 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1285 | ERROR | [ ] Variable "_" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
1309 | ERROR | [ ] Variable "_" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
1350 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1357 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1362 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1369 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1426 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Persisters\DocumentPersister::prepareReference() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
1438 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1446 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 24 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Types/BooleanType.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
12 | ERROR | Method \Doctrine\ODM\MongoDB\Types\BooleanType::convertToDatabaseValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
12 | ERROR | Method \Doctrine\ODM\MongoDB\Types\BooleanType::convertToDatabaseValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
17 | ERROR | Method \Doctrine\ODM\MongoDB\Types\BooleanType::convertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
17 | ERROR | Method \Doctrine\ODM\MongoDB\Types\BooleanType::convertToPHPValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Types/ObjectIdType.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
14 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Types\ObjectIdType::convertToDatabaseValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
14 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Types\ObjectIdType::convertToDatabaseValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
16 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
26 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Types\ObjectIdType::convertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
26 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Types\ObjectIdType::convertToPHPValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/DocumentNotFoundException.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
16 | ERROR | Method \Doctrine\ODM\MongoDB\DocumentNotFoundException::documentNotFound() does not have parameter type hint nor @param annotation for its parameter $identifier.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Query/Builder.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1276 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1308 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1450 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1583 | ERROR | [x] Expected 1 lines after "foreach", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Types/RawType.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
12 | ERROR | Method \Doctrine\ODM\MongoDB\Types\RawType::convertToDatabaseValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
12 | ERROR | Method \Doctrine\ODM\MongoDB\Types\RawType::convertToDatabaseValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
17 | ERROR | Method \Doctrine\ODM\MongoDB\Types\RawType::convertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
17 | ERROR | Method \Doctrine\ODM\MongoDB\Types\RawType::convertToPHPValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/SchemaManager.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
302 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Proxy/Factory/StaticProxyFactory.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
42 | ERROR | Method \Doctrine\ODM\MongoDB\Proxy\Factory\StaticProxyFactory::getProxy() does not have parameter type hint nor @param annotation for its parameter $identifier.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Hydrator/HydratorFactory.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 8 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is array_key_exists.
| | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
95 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
98 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
123 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
130 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
143 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
447 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
486 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Hydrator/HydratorException.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
30 | ERROR | Method \Doctrine\ODM\MongoDB\Hydrator\HydratorException::associationTypeMismatch() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
41 | ERROR | Method \Doctrine\ODM\MongoDB\Hydrator\HydratorException::associationItemTypeMismatch() does not have parameter type hint nor @param annotation for its parameter $key.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
41 | ERROR | Method \Doctrine\ODM\MongoDB\Hydrator\HydratorException::associationItemTypeMismatch() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Persisters/PersistenceBuilder.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
131 | ERROR | [x] Expected 1 lines after "foreach", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
215 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
246 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
371 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
377 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Query/Expr.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 10 LINES
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
673 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
681 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
689 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1065 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1073 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1081 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1142 | ERROR | [x] Expected 1 lines after "foreach", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1325 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1330 | ERROR | [x] Expected 1 lines after "foreach", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
1336 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Utility/LifecycleEventManager.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
115 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
130 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
136 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
151 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
157 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
177 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/DocumentManager.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 10 LINES
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
328 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
364 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
433 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
452 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
469 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
489 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
509 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
575 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
614 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
717 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Types/KeyType.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
15 | ERROR | Method \Doctrine\ODM\MongoDB\Types\KeyType::convertToDatabaseValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
15 | ERROR | Method \Doctrine\ODM\MongoDB\Types\KeyType::convertToDatabaseValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
24 | ERROR | Method \Doctrine\ODM\MongoDB\Types\KeyType::convertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
24 | ERROR | Method \Doctrine\ODM\MongoDB\Types\KeyType::convertToPHPValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Types/IntType.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
12 | ERROR | Method \Doctrine\ODM\MongoDB\Types\IntType::convertToDatabaseValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
12 | ERROR | Method \Doctrine\ODM\MongoDB\Types\IntType::convertToDatabaseValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
17 | ERROR | Method \Doctrine\ODM\MongoDB\Types\IntType::convertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
17 | ERROR | Method \Doctrine\ODM\MongoDB\Types\IntType::convertToPHPValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Iterator/HydratingIterator.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
99 | ERROR | Method \Doctrine\ODM\MongoDB\Iterator\HydratingIterator::hydrate() does not have parameter type hint nor @param annotation for its parameter $document.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
99 | ERROR | Method \Doctrine\ODM\MongoDB\Iterator\HydratingIterator::hydrate() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Types/BinDataType.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
24 | ERROR | Method \Doctrine\ODM\MongoDB\Types\BinDataType::convertToDatabaseValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
24 | ERROR | Method \Doctrine\ODM\MongoDB\Types\BinDataType::convertToDatabaseValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
41 | ERROR | Method \Doctrine\ODM\MongoDB\Types\BinDataType::convertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
41 | ERROR | Method \Doctrine\ODM\MongoDB\Types\BinDataType::convertToPHPValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Iterator/PrimingIterator.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
46 | ERROR | Method \Doctrine\ODM\MongoDB\Iterator\PrimingIterator::current() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
58 | ERROR | Method \Doctrine\ODM\MongoDB\Iterator\PrimingIterator::key() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: lib/Doctrine/ODM/MongoDB/Types/TimestampType.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
16 | ERROR | Method \Doctrine\ODM\MongoDB\Types\TimestampType::convertToDatabaseValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
16 | ERROR | Method \Doctrine\ODM\MongoDB\Types\TimestampType::convertToDatabaseValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
25 | ERROR | Method \Doctrine\ODM\MongoDB\Types\TimestampType::convertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
25 | ERROR | Method \Doctrine\ODM\MongoDB\Types\TimestampType::convertToPHPValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Mocks/PreUpdateListenerMock.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
14 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mocks\PreUpdateListenerMock::getSubscribedEvents() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Mocks/ExceptionThrowingListenerMock.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
13 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mocks\ExceptionThrowingListenerMock::getSubscribedEvents() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Aggregation/Stage/GeoNearTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
43 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\GeoNearTest::testOptionalSettings() does not have parameter type hint nor @param annotation for its parameter $field.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
43 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\GeoNearTest::testOptionalSettings() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
56 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\GeoNearTest::provideOptionalSettings() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Aggregation/Stage/GraphLookupTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
108 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\GraphLookupTest::provideEmployeeAggregations() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
183 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\GraphLookupTest::provideTravellerAggregations() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Aggregation/Stage/GroupTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
21 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\GroupTest::testProxiedExprMethods() does not have parameter type hint nor @param annotation for its parameter $method.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
21 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\GroupTest::testProxiedExprMethods() does not have parameter type hint nor @param annotation for its parameter $args.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
42 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\GroupTest::provideProxiedExprMethods() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/SchemaManagerTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
66 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
68 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
509 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\SchemaManagerTest::testIsMongoIndexEquivalentToDocumentIndex() does not have parameter type hint nor @param annotation for its parameter
| | $expected. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
509 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\SchemaManagerTest::testIsMongoIndexEquivalentToDocumentIndex() does not have parameter type hint nor @param annotation for its parameter
| | $mongoIndex. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
509 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\SchemaManagerTest::testIsMongoIndexEquivalentToDocumentIndex() does not have parameter type hint nor @param annotation for its parameter
| | $documentIndex. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
525 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\SchemaManagerTest::dataIsMongoIndexEquivalentToDocumentIndex() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
688 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\SchemaManagerTest::testIsMongoIndexEquivalentToDocumentIndexWithTextIndexes() does not have parameter type hint nor @param annotation for its
| | parameter $expected. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
688 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\SchemaManagerTest::testIsMongoIndexEquivalentToDocumentIndexWithTextIndexes() does not have parameter type hint nor @param annotation for its
| | parameter $mongoIndex. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
688 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\SchemaManagerTest::testIsMongoIndexEquivalentToDocumentIndexWithTextIndexes() does not have parameter type hint nor @param annotation for its
| | parameter $documentIndex. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
708 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\SchemaManagerTest::dataIsMongoTextIndexEquivalentToDocumentIndex() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Aggregation/Stage/SortTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\SortTest::testSortStage() does not have parameter type hint nor @param annotation for its parameter $expectedSort.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
18 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\SortTest::testSortStage() does not have parameter type hint nor @param annotation for its parameter $field.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
18 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\SortTest::testSortStage() does not have parameter type hint nor @param annotation for its parameter $order.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
28 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\SortTest::testSortFromBuilder() does not have parameter type hint nor @param annotation for its parameter $expectedSort.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
28 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\SortTest::testSortFromBuilder() does not have parameter type hint nor @param annotation for its parameter $field.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
28 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\SortTest::testSortFromBuilder() does not have parameter type hint nor @param annotation for its parameter $order.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
36 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\SortTest::provideSortOptions() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Aggregation/Stage/OperatorTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
22 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\OperatorTest::testProxiedExpressionOperators() does not have parameter type hint nor @param annotation for its parameter $expected.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
22 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\OperatorTest::testProxiedExpressionOperators() does not have parameter type hint nor @param annotation for its parameter $operator.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
22 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\OperatorTest::testProxiedExpressionOperators() does not have parameter type hint nor @param annotation for its parameter $args.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Aggregation/Stage/MatchTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
44 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\MatchTest::testProxiedExprMethods() does not have parameter type hint nor @param annotation for its parameter $method.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
63 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\MatchTest::provideProxiedExprMethods() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
120 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\MatchTest::getMockGeometry() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Aggregation/ExprTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
19 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\ExprTest::testGenericOperator() does not have parameter type hint nor @param annotation for its parameter $expected.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
19 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\ExprTest::testGenericOperator() does not have parameter type hint nor @param annotation for its parameter $operator.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
19 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\ExprTest::testGenericOperator() does not have parameter type hint nor @param annotation for its parameter $args.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
31 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\ExprTest::testGenericOperatorWithField() does not have parameter type hint nor @param annotation for its parameter $expected.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
31 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\ExprTest::testGenericOperatorWithField() does not have parameter type hint nor @param annotation for its parameter $operator.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
31 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\ExprTest::testGenericOperatorWithField() does not have parameter type hint nor @param annotation for its parameter $args.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Mapping/Driver/fixtures/PrimedCollectionDocument.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
23 | ERROR | Method \TestDocuments\PrimedCollectionDocument::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
28 | ERROR | Method \TestDocuments\PrimedCollectionDocument::getInverseMappedBy() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
33 | ERROR | Method \TestDocuments\PrimedCollectionDocument::getReferences() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Aggregation/Stage/ProjectTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
46 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\ProjectTest::testAccumulatorsWithMultipleArguments() does not have parameter type hint nor @param annotation for its parameter
| | $operator. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
56 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\ProjectTest::provideAccumulators() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
68 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\ProjectTest::testProxiedExprMethods() does not have parameter type hint nor @param annotation for its parameter $method.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
68 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\ProjectTest::testProxiedExprMethods() does not have parameter type hint nor @param annotation for its parameter $args.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
87 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\Stage\ProjectTest::provideProxiedExprMethods() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Mapping/Driver/fixtures/AlsoLoadDocument.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
20 | ERROR | Method \TestDocuments\AlsoLoadDocument::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Mapping/XmlMappingDriverTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
14 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is get_class. (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
18 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Mapping\XmlMappingDriverTest::_loadDriver() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Aggregation/AggregationOperatorsProviderTrait.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
16 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\AggregationOperatorsProviderTrait::provideAllOperators() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
21 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\AggregationOperatorsProviderTrait::provideAccumulationOperators() does not have return type hint nor @return annotation for its return
| | value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
87 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\AggregationOperatorsProviderTrait::provideExpressionOperators() does not have return type hint nor @return annotation for its return
| | value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
615 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Aggregation\AggregationOperatorsProviderTrait::resolveArgs() does not have parameter type hint nor @param annotation for its parameter $args.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Repository/DefaultGridFSRepositoryTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 12 ERRORS AFFECTING 12 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
36 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
58 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
84 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
116 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
139 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
169 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
187 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
206 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
246 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
256 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Repos\DefaultGridFSRepositoryTest::getRepository() does not have parameter type hint nor @param annotation for its parameter $className.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
261 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Repos\DefaultGridFSRepositoryTest::uploadFile() does not have parameter type hint nor @param annotation for its parameter $filename.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
266 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 10 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/BaseTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 12 ERRORS AFFECTING 9 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
17 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is array_key_exists. (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
67 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\BaseTest::getConfiguration() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
86 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\BaseTest::createMetadataDriverImpl() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
91 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\BaseTest::createTestDocumentManager() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
99 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\BaseTest::getServerVersion() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
106 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\BaseTest::skipTestIfNotSharded() does not have parameter type hint nor @param annotation for its parameter $className.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
120 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\BaseTest::requireVersion() does not have parameter type hint nor @param annotation for its parameter $installedVersion.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
120 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\BaseTest::requireVersion() does not have parameter type hint nor @param annotation for its parameter $requiredVersion.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
120 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\BaseTest::requireVersion() does not have parameter type hint nor @param annotation for its parameter $operator.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
120 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\BaseTest::requireVersion() does not have parameter type hint nor @param annotation for its parameter $message.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
129 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\BaseTest::skipOnMongoDB42() does not have parameter type hint nor @param annotation for its parameter $message.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
134 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\BaseTest::requireMongoDB42() does not have parameter type hint nor @param annotation for its parameter $message.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Tools/ResolveTargetDocumentListenerTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
116 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Tools\ResolveTargetDocument::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
130 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Tools\TargetDocument::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Tools/GH1299/BaseUser.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Tools\GH1299\BaseUser::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
23 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Tools\GH1299\BaseUser::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
28 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Tools\GH1299\BaseUser::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Tools/GH297/Address.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
15 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Tools\GH297\Address::getStreet() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
20 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Tools\GH297\Address::setStreet() does not have parameter type hint nor @param annotation for its parameter $street.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Mapping/AbstractMappingDriverTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 21 ERRORS AFFECTING 21 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
24 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testLoadMapping() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
34 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testDocumentCollectionNameAndInheritance() does not have return type hint nor @return annotation for its return
| | value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
47 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testDocumentMarkedAsReadOnly() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
59 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testDocumentLevelReadPreference() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
76 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testDocumentLevelWriteConcern() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
88 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testFieldMappings() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
148 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testStringFieldMappings() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
160 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testIdentifier() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
172 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testVersionFieldMappings() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
185 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testLockFieldMappings() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
198 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testAssocations() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
210 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testOwningOneToOneAssocation() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
229 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testLifecycleCallbacks() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
246 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testCustomFieldName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
259 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testCustomReferenceFieldName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
272 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testCustomEmbedFieldName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
285 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testDiscriminator() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
302 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testEmbedDiscriminator() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
322 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testReferenceDiscriminator() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
342 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::testIndexes() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
466 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\AbstractMappingDriverTest::loadMetadata() does not have parameter type hint nor @param annotation for its parameter $className.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Performance/MemoryUsageTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
11 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is current. (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
60 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Performance\MemoryUsageTest::formatMemory() does not have parameter type hint nor @param annotation for its parameter $size.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
60 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Performance\MemoryUsageTest::formatMemory() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Performance/HydrationPerformanceTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is gc_collect_cycles.
| | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
33 | ERROR | [x] Useless parentheses. (SlevomatCodingStandard.PHP.UselessParentheses.UselessParentheses)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Mapping/AnnotationDriverTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 11 ERRORS AFFECTING 8 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
181 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Mapping\AnnotationDriverTest::provideClassCanBeMappedByOneAbstractDocument() does not have return type hint nor @return annotation for its return
| | value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
183 | ERROR | [x] Expected 1 lines after "yield", found 0. (SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountAfterControlStructure)
192 | ERROR | [x] Expected 1 lines before "yield", found 0. (SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountBeforeControlStructure)
192 | ERROR | [x] Expected 1 lines after "yield", found 0. (SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountAfterControlStructure)
201 | ERROR | [x] Expected 1 lines before "yield", found 0. (SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountBeforeControlStructure)
201 | ERROR | [x] Expected 1 lines after "yield", found 0. (SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountAfterControlStructure)
210 | ERROR | [x] Expected 1 lines before "yield", found 0. (SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountBeforeControlStructure)
210 | ERROR | [x] Expected 1 lines after "yield", found 0. (SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountAfterControlStructure)
219 | ERROR | [x] Expected 1 lines before "yield", found 0. (SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountBeforeControlStructure)
230 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Mapping\AnnotationDriverTest::_loadDriverForCMSDocuments() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
238 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Mapping\AnnotationDriverTest::_loadDriver() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Query/CriteriaMergerTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
21 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\CriteriaMergerTest::provideMerge() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/ReferencePrimerTest.php
----------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 8 LINES
----------------------------------------------------------------------------------------------------------------------------------------------------------
249 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
497 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
500 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
503 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
506 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
509 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
535 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
563 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
----------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Query/ExprTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 8 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
399 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\ExprTest::provideGeoJsonPoint() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
413 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\ExprTest::testNearWithGeoJsonPoint() does not have parameter type hint nor @param annotation for its parameter $point.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
432 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\ExprTest::testNearSphereWithGeoJsonPoint() does not have parameter type hint nor @param annotation for its parameter $point.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
544 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\ExprTest::testGeoIntersects() does not have parameter type hint nor @param annotation for its parameter $geometry.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
552 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\ExprTest::provideGeoJsonPolygon() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
570 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\ExprTest::testGeoWithin() does not have parameter type hint nor @param annotation for its parameter $geometry.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
693 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\ExprTest::getMockPoint() does not have parameter type hint nor @param annotation for its parameter $json.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
693 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\ExprTest::getMockPoint() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
706 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\ExprTest::getMockPolygon() does not have parameter type hint nor @param annotation for its parameter $json.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
706 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\ExprTest::getMockPolygon() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Query/QueryExpressionVisitorTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
41 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\QueryExpressionVisitorTest::provideComparisons() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/ReferenceDiscriminatorsTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 11 ERRORS AFFECTING 11 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
107 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Action::__construct() does not have parameter type hint nor @param annotation for its parameter $type.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
112 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Action::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
117 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Action::getType() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
129 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\CommentableAction::__construct() does not have parameter type hint nor @param annotation for its parameter $type.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
135 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\CommentableAction::getComments() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
155 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ActivityStreamItem::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
160 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ActivityStreamItem::getAction() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
175 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\GroupActivityStreamItem::__construct() does not have parameter type hint nor @param annotation for its parameter $groupId.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
181 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\GroupActivityStreamItem::getGroupId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
206 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\UserActivityStreamItem::__construct() does not have parameter type hint nor @param annotation for its parameter $userId.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
212 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\UserActivityStreamItem::getUserId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Mapping/Driver/fixtures/User.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 12 ERRORS AFFECTING 12 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
41 | ERROR | Method \TestDocuments\User::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
46 | ERROR | Method \TestDocuments\User::setUsername() does not have parameter type hint nor @param annotation for its parameter $username.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
51 | ERROR | Method \TestDocuments\User::getUsername() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
56 | ERROR | Method \TestDocuments\User::setPassword() does not have parameter type hint nor @param annotation for its parameter $password.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
61 | ERROR | Method \TestDocuments\User::getPassword() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
66 | ERROR | Method \TestDocuments\User::setCreatedAt() does not have parameter type hint nor @param annotation for its parameter $createdAt.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
71 | ERROR | Method \TestDocuments\User::getCreatedAt() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
76 | ERROR | Method \TestDocuments\User::getAddress() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
91 | ERROR | Method \TestDocuments\User::getProfile() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
101 | ERROR | Method \TestDocuments\User::getAccount() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
106 | ERROR | Method \TestDocuments\User::getPhonenumbers() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
116 | ERROR | Method \TestDocuments\User::getGroups() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/CustomTypeTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
57 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DateCollectionType::convertToDatabaseValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
57 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DateCollectionType::convertToDatabaseValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
76 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DateCollectionType::convertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
76 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DateCollectionType::convertToPHPValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/IndexesTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
13 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IndexesTest::uniqueTest() does not have parameter type hint nor @param annotation for its parameter $class.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
366 | ERROR | Member variable "embedded_secondary" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Iterator/CachingIteratorTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
111 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Iterator\CachingIteratorTest::getTraversable() does not have parameter type hint nor @param annotation for its parameter $items.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
111 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Iterator\CachingIteratorTest::getTraversable() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
118 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Iterator\CachingIteratorTest::getTraversableThatThrows() does not have parameter type hint nor @param annotation for its parameter $items.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
118 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Iterator\CachingIteratorTest::getTraversableThatThrows() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/DateTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
13 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is get_class. (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
41 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\DateTest::testDateInstanceChangeDoesNotCauseUpdateIfValueIsTheSame() does not have parameter type hint nor @param annotation for its
| | parameter $oldValue. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
41 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\DateTest::testDateInstanceChangeDoesNotCauseUpdateIfValueIsTheSame() does not have parameter type hint nor @param annotation for its
| | parameter $newValue. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
56 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\DateTest::provideEquivalentDates() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Iterator/HydratingIteratorTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
49 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Iterator\HydratingIteratorTest::getTraversable() does not have parameter type hint nor @param annotation for its parameter $items.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
49 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Iterator\HydratingIteratorTest::getTraversable() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM67Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
15 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM67Test::getDocumentManager() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/SplObjectHashCollisionsTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\SplObjectHashCollisionsTest::testParentAssociationsIsCleared() does not have parameter type hint nor @param annotation for its parameter
| | $f. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
36 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\SplObjectHashCollisionsTest::testParentAssociationsLeftover() does not have parameter type hint nor @param annotation for its parameter
| | $f. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
36 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\SplObjectHashCollisionsTest::testParentAssociationsLeftover() does not have parameter type hint nor @param annotation for its parameter
| | $leftover. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
53 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\SplObjectHashCollisionsTest::provideParentAssociationsIsCleared() does not have return type hint nor @return annotation for its return
| | value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
74 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\SplObjectHashCollisionsTest::expectCount() does not have parameter type hint nor @param annotation for its parameter $prop.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
74 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\SplObjectHashCollisionsTest::expectCount() does not have parameter type hint nor @param annotation for its parameter $expected.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
105 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\SplColEmbed::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/CustomIdTest.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
86 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
98 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM48Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
42 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM48A::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
47 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM48A::getB() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
52 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM48A::setB() does not have parameter type hint nor @param annotation for its parameter $b.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
64 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM48B::setVal() does not have parameter type hint nor @param annotation for its parameter $val.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
69 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM48B::getVal() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/RawTypeTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\RawTypeTest::testRawType() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
30 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\RawTypeTest::getTestRawTypeData() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM83Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
14 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM83Test::getDocumentManager() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
60 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM83EventListener::__call() does not have parameter type hint nor @param annotation for its parameter $method.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
60 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM83EventListener::__call() does not have parameter type hint nor @param annotation for its parameter $args.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH1058Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
72 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1058PersistDocument::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
77 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1058PersistDocument::setValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
92 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1058UpsertDocument::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
106 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1058UpsertDocument::setValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM117Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
16 | ERROR | Variable "first_name" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
17 | ERROR | Variable "last_name" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
34 | ERROR | Member variable "first_name" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps)
37 | ERROR | Protected member variable "_last_name" must not contain a leading underscore (Squiz.NamingConventions.ValidVariableName.PublicHasUnderscore)
37 | ERROR | Member variable "_last_name" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps)
39 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM117User::__get() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
39 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM117User::__get() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
44 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM117User::__set() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
44 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM117User::__set() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH921Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
78 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH921User::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
83 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH921User::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
88 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH921User::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
98 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH921User::getPosts() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
113 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH921Post::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
118 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH921Post::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
123 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH921Post::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH999Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
54 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH999Document::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
59 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH999Document::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
64 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH999Document::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
69 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH999Document::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH1294Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
49 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1294User::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH1225Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
67 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1225EmbeddedDocument::__construct() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM92Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
67 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM92TestDocument::setEmbeddedDocuments() does not have parameter type hint nor @param annotation for its parameter
| | $embeddedDocuments. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
87 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM92TestEmbeddedDocument::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH816Test.php
-------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------
41 | ERROR | Public member variable "_id" must not contain a leading underscore
| | (Squiz.NamingConventions.ValidVariableName.PublicHasUnderscore)
-------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH852Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
93 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\GH852Test::provideIdGenerators() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM90Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
14 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM90Test::getDocumentManager() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
76 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM90EventListener::__call() does not have parameter type hint nor @param annotation for its parameter $method.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
76 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM90EventListener::__call() does not have parameter type hint nor @param annotation for its parameter $args.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM166Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
44 | ERROR | [x] Expected 1 lines after "foreach", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Mapping/ClassMetadataTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
253 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\ClassMetadataTest::dataProviderMetadataClasses() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
508 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\ClassMetadataTest::testRepositoryMethodCanNotBeCombinedWithSkipLimitAndSort() does not have parameter type hint nor @param annotation for its
| | parameter $prop. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
508 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\ClassMetadataTest::testRepositoryMethodCanNotBeCombinedWithSkipLimitAndSort() does not have parameter type hint nor @param annotation for its
| | parameter $value. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
527 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\ClassMetadataTest::provideRepositoryMethodCanNotBeCombinedWithSkipLimitAndSort() does not have return type hint nor @return annotation for its
| | return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
587 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\ClassMetadataTest::testOwningAndInversedRefsNeedTargetDocument() does not have parameter type hint nor @param annotation for its parameter
| | $config. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
601 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\ClassMetadataTest::provideOwningAndInversedRefsNeedTargetDocument() does not have return type hint nor @return annotation for its return
| | value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM140Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
164 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\PostVersion::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH232Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
20 | ERROR | Variable "sub_product" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
21 | ERROR | Variable "sub_product" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
24 | ERROR | Variable "sub_product" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
55 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Product::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM81Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
129 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM81TestEmbeddedDocument::__construct() does not have parameter type hint nor @param annotation for its parameter $document1.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
129 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM81TestEmbeddedDocument::__construct() does not have parameter type hint nor @param annotation for its parameter $document2.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
129 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM81TestEmbeddedDocument::__construct() does not have parameter type hint nor @param annotation for its parameter $message.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM62Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
37 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM62Document::setB() does not have parameter type hint nor @param annotation for its parameter $b.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/IdTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 25 ERRORS AFFECTING 16 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
166 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IdTest::testEqualButNotIdenticalIds() does not have parameter type hint nor @param annotation for its parameter $user1Id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
166 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IdTest::testEqualButNotIdenticalIds() does not have parameter type hint nor @param annotation for its parameter $user2Id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
192 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IdTest::provideEqualButNotIdenticalIds() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
210 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IdTest::testIdTypesAndStrategies() does not have parameter type hint nor @param annotation for its parameter $type.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
210 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IdTest::testIdTypesAndStrategies() does not have parameter type hint nor @param annotation for its parameter $strategy.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
210 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IdTest::testIdTypesAndStrategies() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
210 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IdTest::testIdTypesAndStrategies() does not have parameter type hint nor @param annotation for its parameter $expected.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
210 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IdTest::testIdTypesAndStrategies() does not have parameter type hint nor @param annotation for its parameter $expectedMongoType.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
247 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IdTest::getTestIdTypesAndStrategiesData() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
307 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IdTest::testBinIds() does not have parameter type hint nor @param annotation for its parameter $type.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
307 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IdTest::testBinIds() does not have parameter type hint nor @param annotation for its parameter $expectedMongoBinDataType.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
307 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IdTest::testBinIds() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
324 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IdTest::getTestBinIdsData() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
359 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IdTest::createIdTestClass() does not have parameter type hint nor @param annotation for its parameter $type.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
359 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IdTest::createIdTestClass() does not have parameter type hint nor @param annotation for its parameter $strategy.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
359 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\IdTest::createIdTestClass() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
400 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\UuidUser::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
421 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\CollectionIdUser::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
442 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\CollectionIdUserWithStartingId::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
457 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ReferencedCollectionId::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
462 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ReferencedCollectionId::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
477 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\EmbeddedCollectionId::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
482 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\EmbeddedCollectionId::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
497 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\AlnumCharsUser::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
512 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\CustomIdUser::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/VersionTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
80 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\VersionedEmbeddedDocument::__construct() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Tools/GH297/User.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
20 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Tools\GH297\User::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
25 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Tools\GH297\User::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
30 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Tools\GH297\User::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Tools/GH297/AddressTrait.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
12 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Tools\GH297\AddressTrait::getAddress() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/CmsComment.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
37 | ERROR | Method \Documents\CmsComment::__toString() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Tournament/Tournament.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
25 | ERROR | Method \Documents\Tournament\Tournament::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
30 | ERROR | Method \Documents\Tournament\Tournament::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
35 | ERROR | Method \Documents\Tournament\Tournament::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
40 | ERROR | Method \Documents\Tournament\Tournament::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/PersistentCollectionTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 9 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
39 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
56 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
73 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
98 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
118 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
139 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
148 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\PersistentCollectionTest::dataGetDeletedDocuments() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
212 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
221 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\PersistentCollectionTest::dataGetInsertedDocuments() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Types/DateImmutableTypeTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
16 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is date. (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
76 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\DateImmutableTypeTest::testConvertToDatabaseValueWithInvalidValues() does not have parameter type hint nor @param annotation for its parameter
| | $value. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
83 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\DateImmutableTypeTest::provideInvalidDateValues() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
97 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\DateImmutableTypeTest::testConvertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $input.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
97 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\DateImmutableTypeTest::testConvertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $output.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
116 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\DateImmutableTypeTest::testClosureToPHP() does not have parameter type hint nor @param annotation for its parameter $input.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
116 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\DateImmutableTypeTest::testClosureToPHP() does not have parameter type hint nor @param annotation for its parameter $output.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
131 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\DateImmutableTypeTest::provideDatabaseToPHPValues() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Tournament/Participant.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
25 | ERROR | Method \Documents\Tournament\Participant::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
30 | ERROR | Method \Documents\Tournament\Participant::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
35 | ERROR | Method \Documents\Tournament\Participant::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
40 | ERROR | Method \Documents\Tournament\Participant::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
50 | ERROR | Method \Documents\Tournament\Participant::getTournament() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH561Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
72 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH561AnotherEmbeddedDocument::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Types/IdTypeTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
26 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Types\IdTypeTest::testConvertToDatabaseValueShouldGenerateObjectIds() does not have parameter type hint nor @param annotation for its parameter
| | $value. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
33 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Types\IdTypeTest::provideInvalidObjectIdConstructorArguments() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Tag.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
21 | ERROR | Method \Documents\Tag::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH2002Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH2002Test::testBuildingReferenceCreatesCorrectStructure() does not have parameter type hint nor @param annotation for its parameter
| | $document. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
30 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH2002Test::getValidReferenceData() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
63 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH2002Test::testBuildingReferenceForUnlistedClassCausesException() does not have parameter type hint nor @param annotation for its
| | parameter $document. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
75 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH2002Test::getInvalidReferenceData() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Issue.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
20 | ERROR | Method \Documents\Issue::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
20 | ERROR | Method \Documents\Issue::__construct() does not have parameter type hint nor @param annotation for its parameter $description.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
26 | ERROR | Method \Documents\Issue::getName() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
31 | ERROR | Method \Documents\Issue::getDescription() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Task.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | Method \Documents\Task::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
23 | ERROR | Method \Documents\Task::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
28 | ERROR | Method \Documents\Task::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
33 | ERROR | Method \Documents\Task::getName() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM56Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
52 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM56Parent::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
73 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM56Child::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/User.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 41 ERRORS AFFECTING 39 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
113 | ERROR | Method \Documents\User::setId() does not have parameter type hint nor @param annotation for its parameter $id. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
118 | ERROR | Method \Documents\User::getLogs() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
123 | ERROR | Method \Documents\User::setLogs() does not have parameter type hint nor @param annotation for its parameter $logs.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
128 | ERROR | Method \Documents\User::log() does not have parameter type hint nor @param annotation for its parameter $log. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
133 | ERROR | Method \Documents\User::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
138 | ERROR | Method \Documents\User::setUsername() does not have parameter type hint nor @param annotation for its parameter $username.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
143 | ERROR | Method \Documents\User::getUsername() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
148 | ERROR | Method \Documents\User::setPassword() does not have parameter type hint nor @param annotation for its parameter $password.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
153 | ERROR | Method \Documents\User::getPassword() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
158 | ERROR | Method \Documents\User::setCreatedAt() does not have parameter type hint nor @param annotation for its parameter $createdAt.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
163 | ERROR | Method \Documents\User::getCreatedAt() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
168 | ERROR | Method \Documents\User::getAddress() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
188 | ERROR | Method \Documents\User::getProfile() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
198 | ERROR | Method \Documents\User::getProfileNotify() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
209 | ERROR | Method \Documents\User::getAccount() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
220 | ERROR | Method \Documents\User::getAccountSimple() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
225 | ERROR | Method \Documents\User::getPhonenumbers() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
235 | ERROR | Method \Documents\User::getSortedAscGroups() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
240 | ERROR | Method \Documents\User::getSortedDescGroups() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
245 | ERROR | Method \Documents\User::getGroups() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
250 | ERROR | Method \Documents\User::setGroups() does not have parameter type hint nor @param annotation for its parameter $groups.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
260 | ERROR | Method \Documents\User::removeGroup() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
260 | ERROR | Method \Documents\User::removeGroup() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
278 | ERROR | Method \Documents\User::getUniqueGroups() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
283 | ERROR | Method \Documents\User::setUniqueGroups() does not have parameter type hint nor @param annotation for its parameter $groups.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
293 | ERROR | Method \Documents\User::getHits() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
298 | ERROR | Method \Documents\User::setHits() does not have parameter type hint nor @param annotation for its parameter $hits.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
303 | ERROR | Method \Documents\User::getCount() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
308 | ERROR | Method \Documents\User::setCount() does not have parameter type hint nor @param annotation for its parameter $count.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
313 | ERROR | Method \Documents\User::getFloatCount() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
318 | ERROR | Method \Documents\User::setFloatCount() does not have parameter type hint nor @param annotation for its parameter $floatCount.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
323 | ERROR | Method \Documents\User::getSimpleReferenceOneInverse() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
328 | ERROR | Method \Documents\User::getSimpleReferenceManyInverse() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
333 | ERROR | Method \Documents\User::incrementCount() does not have parameter type hint nor @param annotation for its parameter $num.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
342 | ERROR | Method \Documents\User::incrementFloatCount() does not have parameter type hint nor @param annotation for its parameter $num.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
351 | ERROR | Method \Documents\User::setPosts() does not have parameter type hint nor @param annotation for its parameter $posts.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
361 | ERROR | Method \Documents\User::removePost() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
361 | ERROR | Method \Documents\User::removePost() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
374 | ERROR | Method \Documents\User::getPosts() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
379 | ERROR | Method \Documents\User::setPhonenumbers() does not have parameter type hint nor @param annotation for its parameter $phonenumbers.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
389 | ERROR | Method \Documents\User::getPhonebooks() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Account.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
24 | ERROR | Method \Documents\Account::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
29 | ERROR | Method \Documents\Account::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
34 | ERROR | Method \Documents\Account::getName() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
39 | ERROR | Method \Documents\Account::setUser() does not have parameter type hint nor @param annotation for its parameter $user.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
44 | ERROR | Method \Documents\Account::getUser() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
49 | ERROR | Method \Documents\Account::setUserDbRef() does not have parameter type hint nor @param annotation for its parameter $userDbRef.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
54 | ERROR | Method \Documents\Account::getUserDbRef() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/AlsoLoadTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
271 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\AlsoLoadDocument::populateFirstAndLastName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
277 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\AlsoLoadDocument::populateTest() does not have parameter type hint nor @param annotation for its parameter $test.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
290 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\AlsoLoadChild::populateFizz() does not have parameter type hint nor @param annotation for its parameter $fizz.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
296 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\AlsoLoadChild::populateTest() does not have parameter type hint nor @param annotation for its parameter $test.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
306 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\AlsoLoadGrandchild::populateTest() does not have parameter type hint nor @param annotation for its parameter $test.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM91Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
14 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM91Test::getDocumentManager() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
52 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM91EventListener::__call() does not have parameter type hint nor @param annotation for its parameter $method.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
52 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM91EventListener::__call() does not have parameter type hint nor @param annotation for its parameter $args.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Event.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
24 | ERROR | Method \Documents\Event::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
34 | ERROR | Method \Documents\Event::getUser() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
39 | ERROR | Method \Documents\Event::getTitle() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
44 | ERROR | Method \Documents\Event::setTitle() does not have parameter type hint nor @param annotation for its parameter $title.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
49 | ERROR | Method \Documents\Event::getType() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
54 | ERROR | Method \Documents\Event::setType() does not have parameter type hint nor @param annotation for its parameter $type.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/CmsGroup.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
21 | ERROR | Method \Documents\CmsGroup::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
26 | ERROR | Method \Documents\CmsGroup::getName() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
36 | ERROR | Method \Documents\CmsGroup::getUsers() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Ecommerce/ConfigurableProduct.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 25 ERRORS AFFECTING 19 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
31 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
36 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
41 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
46 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
46 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::setName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
49 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
57 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::getOptions() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
68 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
70 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
76 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
83 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::getOption() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
83 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::getOption() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
88 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::removeOption() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
88 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::removeOption() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
91 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
94 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
104 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::hasOption() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
104 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::hasOption() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
109 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::selectOption() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
109 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::selectOption() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
112 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
120 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::_findOption() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
120 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::_findOption() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
131 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::getPrice() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
137 | ERROR | [ ] Method \Documents\Ecommerce\ConfigurableProduct::_getStockItems() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH560Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 7 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH560Test::testPersistListenersAreCalled() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
43 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH560Test::testDocumentWithCustomIdStrategyIsSavedAndFoundFromDatabase() does not have parameter type hint nor @param annotation for
| | its parameter $id. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
57 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH560Test::testUpdateListenersAreCalled() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
82 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH560Test::provideDocumentIds() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
102 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH560EventSubscriber::getSubscribedEvents() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
107 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH560EventSubscriber::__call() does not have parameter type hint nor @param annotation for its parameter $eventName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
107 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH560EventSubscriber::__call() does not have parameter type hint nor @param annotation for its parameter $args.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
122 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH560Document::__construct() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
122 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH560Document::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/GraphLookup/Airport.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
27 | ERROR | Method \Documents\GraphLookup\Airport::__construct() does not have parameter type hint nor @param annotation for its parameter $code.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/GraphLookup/Employee.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
30 | ERROR | Method \Documents\GraphLookup\Employee::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH267Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 11 ERRORS AFFECTING 11 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
73 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH267User::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
78 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH267User::setId() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
83 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH267User::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
88 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH267User::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
93 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH267User::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
98 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH267User::setCompany() does not have parameter type hint nor @param annotation for its parameter $company.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
103 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH267User::getCompany() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
123 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH267Company::setId() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
128 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH267Company::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
133 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH267Company::setUsers() does not have parameter type hint nor @param annotation for its parameter $users.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
138 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH267Company::getUsers() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Comment.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
31 | ERROR | Method \Documents\Comment::__construct() does not have parameter type hint nor @param annotation for its parameter $text.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
31 | ERROR | Method \Documents\Comment::__construct() does not have parameter type hint nor @param annotation for its parameter $isByAdmin.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
38 | ERROR | Method \Documents\Comment::getText() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM70Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 15 ERRORS AFFECTING 13 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
64 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Avatar::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
64 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Avatar::__construct() does not have parameter type hint nor @param annotation for its parameter $sex.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
64 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Avatar::__construct() does not have parameter type hint nor @param annotation for its parameter $avatarParts.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
71 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Avatar::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
76 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Avatar::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
81 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Avatar::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
86 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Avatar::getSex() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
91 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Avatar::setSex() does not have parameter type hint nor @param annotation for its parameter $sex.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
96 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Avatar::getAvatarParts() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
101 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Avatar::addAvatarPart() does not have parameter type hint nor @param annotation for its parameter $part.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
106 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Avatar::setAvatarParts() does not have parameter type hint nor @param annotation for its parameter $parts.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
111 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Avatar::removeAvatarPart() does not have parameter type hint nor @param annotation for its parameter $part.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
134 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\AvatarPart::__construct() does not have parameter type hint nor @param annotation for its parameter $color.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
139 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\AvatarPart::getColor() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
144 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\AvatarPart::setColor() does not have parameter type hint nor @param annotation for its parameter $color.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Functional/FavoritesUser.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 11 ERRORS AFFECTING 11 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
38 | ERROR | Method \Documents\Functional\FavoritesUser::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
43 | ERROR | Method \Documents\Functional\FavoritesUser::setFavorite() does not have parameter type hint nor @param annotation for its parameter $favorite.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
48 | ERROR | Method \Documents\Functional\FavoritesUser::getFavorite() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
53 | ERROR | Method \Documents\Functional\FavoritesUser::setEmbed() does not have parameter type hint nor @param annotation for its parameter $embed.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
58 | ERROR | Method \Documents\Functional\FavoritesUser::getEmbed() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
63 | ERROR | Method \Documents\Functional\FavoritesUser::embed() does not have parameter type hint nor @param annotation for its parameter $document.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
68 | ERROR | Method \Documents\Functional\FavoritesUser::getEmbedded() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
73 | ERROR | Method \Documents\Functional\FavoritesUser::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
78 | ERROR | Method \Documents\Functional\FavoritesUser::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
83 | ERROR | Method \Documents\Functional\FavoritesUser::addFavorite() does not have parameter type hint nor @param annotation for its parameter $favorite.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
88 | ERROR | Method \Documents\Functional\FavoritesUser::getFavorites() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Bars/Location.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
15 | ERROR | Method \Documents\Bars\Location::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
20 | ERROR | Method \Documents\Bars\Location::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
25 | ERROR | Method \Documents\Bars\Location::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
30 | ERROR | Method \Documents\Bars\Location::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/FriendUser.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
25 | ERROR | Method \Documents\FriendUser::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Functional/PreUpdateTestProduct.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
23 | ERROR | Method \Documents\Functional\PreUpdateTestProduct::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
28 | ERROR | Method \Documents\Functional\PreUpdateTestProduct::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH389Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
48 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\RootDocument::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
53 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\RootDocument::getEmptyEmbeddedDocument() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Profile.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
24 | ERROR | Method \Documents\Profile::setProfileId() does not have parameter type hint nor @param annotation for its parameter $profileId.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
29 | ERROR | Method \Documents\Profile::getProfileId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
34 | ERROR | Method \Documents\Profile::setFirstName() does not have parameter type hint nor @param annotation for its parameter $firstName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
39 | ERROR | Method \Documents\Profile::getFirstName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
44 | ERROR | Method \Documents\Profile::setLastName() does not have parameter type hint nor @param annotation for its parameter $lastName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
49 | ERROR | Method \Documents\Profile::getLastName() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
59 | ERROR | Method \Documents\Profile::getImage() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/ShardKeyTest.php
---------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------------------
49 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
---------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Functional/VirtualHost.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | Method \Documents\Functional\VirtualHost::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
35 | ERROR | Method \Documents\Functional\VirtualHost::setVHostDirective() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
35 | ERROR | Method \Documents\Functional\VirtualHost::setVHostDirective() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/BaseDocument.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
17 | ERROR | Method \Documents\BaseDocument::setInheritedProperty() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
22 | ERROR | Method \Documents\BaseDocument::getInheritedProperty() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Types/TypeTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
16 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is md5. (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
26 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\TypeTest::testConversion() does not have parameter type hint nor @param annotation for its parameter $test.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
31 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\TypeTest::provideTypes() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
63 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\TypeTest::testConversionIsIdempotent() does not have parameter type hint nor @param annotation for its parameter $test.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
68 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\TypeTest::provideTypesForIdempotent() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Product.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
22 | ERROR | Method \Documents\Product::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Page.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | Method \Documents\Page::__construct() does not have parameter type hint nor @param annotation for its parameter $number.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Functional/PreUpdateTestSellable.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
20 | ERROR | Method \Documents\Functional\PreUpdateTestSellable::getProduct() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
25 | ERROR | Method \Documents\Functional\PreUpdateTestSellable::getSeller() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Feature.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
21 | ERROR | Method \Documents\Feature::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Bars/Bar.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
21 | ERROR | Method \Documents\Bars\Bar::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
26 | ERROR | Method \Documents\Bars\Bar::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
31 | ERROR | Method \Documents\Bars\Bar::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
36 | ERROR | Method \Documents\Bars\Bar::getName() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
46 | ERROR | Method \Documents\Bars\Bar::getLocations() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
51 | ERROR | Method \Documents\Bars\Bar::setLocations() does not have parameter type hint nor @param annotation for its parameter $locations.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Functional/VirtualHostDirective.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 16 ERRORS AFFECTING 13 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
23 | ERROR | Method \Documents\Functional\VirtualHostDirective::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
23 | ERROR | Method \Documents\Functional\VirtualHostDirective::__construct() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
29 | ERROR | Method \Documents\Functional\VirtualHostDirective::__toString() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
34 | ERROR | Method \Documents\Functional\VirtualHostDirective::getRecId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
39 | ERROR | Method \Documents\Functional\VirtualHostDirective::setRecId() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
48 | ERROR | Method \Documents\Functional\VirtualHostDirective::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
53 | ERROR | Method \Documents\Functional\VirtualHostDirective::setName() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
58 | ERROR | Method \Documents\Functional\VirtualHostDirective::getValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
63 | ERROR | Method \Documents\Functional\VirtualHostDirective::setValue() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
68 | ERROR | Method \Documents\Functional\VirtualHostDirective::getDirectives() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
77 | ERROR | Method \Documents\Functional\VirtualHostDirective::setDirectives() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
77 | ERROR | Method \Documents\Functional\VirtualHostDirective::setDirectives() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
84 | ERROR | Method \Documents\Functional\VirtualHostDirective::addDirective() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
107 | ERROR | Method \Documents\Functional\VirtualHostDirective::getDirective() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
107 | ERROR | Method \Documents\Functional\VirtualHostDirective::getDirective() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
112 | ERROR | Method \Documents\Functional\VirtualHostDirective::removeDirective() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Functional/PreUpdateTestSeller.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | Method \Documents\Functional\PreUpdateTestSeller::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
23 | ERROR | Method \Documents\Functional\PreUpdateTestSeller::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH453Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 17 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
241 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonArray() does not have parameter type hint nor @param annotation for its parameter $documentId.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
241 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonArray() does not have parameter type hint nor @param annotation for its parameter $fieldName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
246 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonObject() does not have parameter type hint nor @param annotation for its parameter $documentId.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
246 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonObject() does not have parameter type hint nor @param annotation for its parameter $fieldName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
251 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonType() does not have parameter type hint nor @param annotation for its parameter $bsonType.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
251 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonType() does not have parameter type hint nor @param annotation for its parameter $documentId.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
251 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonType() does not have parameter type hint nor @param annotation for its parameter $fieldName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
265 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonArrayAndValue() does not have parameter type hint nor @param annotation for its parameter $expectedValue.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
265 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonArrayAndValue() does not have parameter type hint nor @param annotation for its parameter $documentId.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
265 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonArrayAndValue() does not have parameter type hint nor @param annotation for its parameter $fieldName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
270 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonObjectAndValue() does not have parameter type hint nor @param annotation for its parameter $expectedValue.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
270 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonObjectAndValue() does not have parameter type hint nor @param annotation for its parameter $documentId.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
270 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonObjectAndValue() does not have parameter type hint nor @param annotation for its parameter $fieldName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
275 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonTypeAndValue() does not have parameter type hint nor @param annotation for its parameter $bsonType.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
275 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonTypeAndValue() does not have parameter type hint nor @param annotation for its parameter $expectedValue.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
275 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonTypeAndValue() does not have parameter type hint nor @param annotation for its parameter $documentId.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
275 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH453Test::assertBsonTypeAndValue() does not have parameter type hint nor @param annotation for its parameter $fieldName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/VersionedUser.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | Method \Documents\VersionedUser::getVersion() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
23 | ERROR | Method \Documents\VersionedUser::setVersion() does not have parameter type hint nor @param annotation for its parameter $version.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Developer.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
25 | ERROR | Method \Documents\Developer::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
31 | ERROR | Method \Documents\Developer::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
36 | ERROR | Method \Documents\Developer::getProjects() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/CommentRepository.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
12 | ERROR | Method \Documents\CommentRepository::findOneComment() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
19 | ERROR | Method \Documents\CommentRepository::findManyComments() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM95Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
73 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM95TestDocument::setEmbeddedDocuments() does not have parameter type hint nor @param annotation for its parameter
| | $embeddedDocuments. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
93 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM95TestEmbeddedDocument::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/CustomCollectionsTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
149 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
234 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\EmbeddedDocumentInCustomCollection::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
234 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\EmbeddedDocumentInCustomCollection::__construct() does not have parameter type hint nor @param annotation for its parameter $enabled.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
243 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\MyEmbedsCollection::getByName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
243 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\MyEmbedsCollection::getByName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
250 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\MyEmbedsCollection::getEnabled() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
257 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\MyEmbedsCollection::move() does not have parameter type hint nor @param annotation for its parameter $i.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
257 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\MyEmbedsCollection::move() does not have parameter type hint nor @param annotation for its parameter $j.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
267 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\MyDocumentsCollection::havingEmbeds() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/BaseEmployee.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 24 ERRORS AFFECTING 16 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
36 | ERROR | Method \Documents\BaseEmployee::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
41 | ERROR | Method \Documents\BaseEmployee::setId() does not have parameter type hint nor @param annotation for its parameter $val.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
41 | ERROR | Method \Documents\BaseEmployee::setId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
48 | ERROR | Method \Documents\BaseEmployee::getChanges() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
53 | ERROR | Method \Documents\BaseEmployee::incrementChanges() does not have parameter type hint nor @param annotation for its parameter $num.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
53 | ERROR | Method \Documents\BaseEmployee::incrementChanges() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
60 | ERROR | Method \Documents\BaseEmployee::getNotes() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
65 | ERROR | Method \Documents\BaseEmployee::addNote() does not have parameter type hint nor @param annotation for its parameter $note.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
65 | ERROR | Method \Documents\BaseEmployee::addNote() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
72 | ERROR | Method \Documents\BaseEmployee::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
77 | ERROR | Method \Documents\BaseEmployee::setName() does not have parameter type hint nor @param annotation for its parameter $val.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
77 | ERROR | Method \Documents\BaseEmployee::setName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
84 | ERROR | Method \Documents\BaseEmployee::getSalary() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
89 | ERROR | Method \Documents\BaseEmployee::setSalary() does not have parameter type hint nor @param annotation for its parameter $val.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
89 | ERROR | Method \Documents\BaseEmployee::setSalary() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
96 | ERROR | Method \Documents\BaseEmployee::getStarted() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
101 | ERROR | Method \Documents\BaseEmployee::setStarted() does not have parameter type hint nor @param annotation for its parameter $val.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
101 | ERROR | Method \Documents\BaseEmployee::setStarted() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
108 | ERROR | Method \Documents\BaseEmployee::getLeft() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
113 | ERROR | Method \Documents\BaseEmployee::setLeft() does not have parameter type hint nor @param annotation for its parameter $val.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
113 | ERROR | Method \Documents\BaseEmployee::setLeft() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
120 | ERROR | Method \Documents\BaseEmployee::getAddress() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
125 | ERROR | Method \Documents\BaseEmployee::setAddress() does not have parameter type hint nor @param annotation for its parameter $val.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
125 | ERROR | Method \Documents\BaseEmployee::setAddress() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/BinDataTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
17 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\BinDataTest::testBinData() does not have parameter type hint nor @param annotation for its parameter $field.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
17 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\BinDataTest::testBinData() does not have parameter type hint nor @param annotation for its parameter $data.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
17 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\BinDataTest::testBinData() does not have parameter type hint nor @param annotation for its parameter $type.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
30 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\BinDataTest::provideData() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/CmsUser.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 8 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
46 | ERROR | Method \Documents\CmsUser::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
51 | ERROR | Method \Documents\CmsUser::getStatus() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
56 | ERROR | Method \Documents\CmsUser::getUsername() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
61 | ERROR | Method \Documents\CmsUser::getName() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
75 | ERROR | Method \Documents\CmsUser::getPhonenumbers() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
92 | ERROR | Method \Documents\CmsUser::getGroups() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
97 | ERROR | Method \Documents\CmsUser::removePhonenumber() does not have parameter type hint nor @param annotation for its parameter $index.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
97 | ERROR | Method \Documents\CmsUser::removePhonenumber() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
110 | ERROR | Method \Documents\CmsUser::getAddress() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/ReadOnlyDocumentTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
90 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ReadOnlyDocument::__construct() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/BrowseNode.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
25 | ERROR | Method \Documents\BrowseNode::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Project.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
31 | ERROR | Method \Documents\Project::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
37 | ERROR | Method \Documents\Project::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
42 | ERROR | Method \Documents\Project::getName() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
47 | ERROR | Method \Documents\Project::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
57 | ERROR | Method \Documents\Project::getAddress() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
67 | ERROR | Method \Documents\Project::getSubProjects() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/QueryTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
22 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is array_keys. (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
418 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\QueryTest::testGetIteratorShouldThrowExceptionWithoutExecutingForTypesThatDoNotReturnAnIterator() does not have parameter type hint nor @param
| | annotation for its parameter $type. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
418 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\QueryTest::testGetIteratorShouldThrowExceptionWithoutExecutingForTypesThatDoNotReturnAnIterator() does not have parameter type hint nor @param
| | annotation for its parameter $method. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
429 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\QueryTest::provideQueryTypesThatDoNotReturnAnIterator() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
519 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\QueryTest::getMockCollection() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
557 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Person::__construct() does not have parameter type hint nor @param annotation for its parameter $firstName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
572 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Pet::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/EmbeddedReferenceTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
72 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Offer::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
91 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Link::__construct() does not have parameter type hint nor @param annotation for its parameter $url.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
107 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ReferencedDocument::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/ProfileNotify.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 12 ERRORS AFFECTING 9 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
43 | ERROR | Method \Documents\ProfileNotify::propertyChanged() does not have parameter type hint nor @param annotation for its parameter $propName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
43 | ERROR | Method \Documents\ProfileNotify::propertyChanged() does not have parameter type hint nor @param annotation for its parameter $oldValue.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
43 | ERROR | Method \Documents\ProfileNotify::propertyChanged() does not have parameter type hint nor @param annotation for its parameter $newValue.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
50 | ERROR | Method \Documents\ProfileNotify::getProfileId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
55 | ERROR | Method \Documents\ProfileNotify::setFirstName() does not have parameter type hint nor @param annotation for its parameter $firstName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
61 | ERROR | Method \Documents\ProfileNotify::getFirstName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
66 | ERROR | Method \Documents\ProfileNotify::setLastName() does not have parameter type hint nor @param annotation for its parameter $lastName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
72 | ERROR | Method \Documents\ProfileNotify::getLastName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
83 | ERROR | Method \Documents\ProfileNotify::getImage() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
88 | ERROR | Method \Documents\ProfileNotify::getImages() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
96 | ERROR | Method \Documents\ProfileNotifyImagesCollection::move() does not have parameter type hint nor @param annotation for its parameter $i.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
96 | ERROR | Method \Documents\ProfileNotifyImagesCollection::move() does not have parameter type hint nor @param annotation for its parameter $j.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/BaseCategory.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | Method \Documents\BaseCategory::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
23 | ERROR | Method \Documents\BaseCategory::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
28 | ERROR | Method \Documents\BaseCategory::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
33 | ERROR | Method \Documents\BaseCategory::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
43 | ERROR | Method \Documents\BaseCategory::getChildren() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/LifecycleTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 12 ERRORS AFFECTING 12 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
71 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ParentObject::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
78 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ParentObject::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
83 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ParentObject::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
100 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ParentObject::getChildren() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
105 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ParentObject::getChildEmbedded() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
110 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ParentObject::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
125 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ChildObject::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
130 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ChildObject::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
135 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ChildObject::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
147 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ChildEmbeddedObject::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
152 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ChildEmbeddedObject::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
157 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ChildEmbeddedObject::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Employee.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
15 | ERROR | Method \Documents\Employee::getManager() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
20 | ERROR | Method \Documents\Employee::setManager() does not have parameter type hint nor @param annotation for its parameter $val.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
20 | ERROR | Method \Documents\Employee::setManager() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Mapping/Symfony/XmlDriverTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
15 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\Symfony\XmlDriverTest::getFileExtension() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
20 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Mapping\Symfony\XmlDriverTest::getDriver() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Persisters/PersistenceBuilderTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
48 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
96 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
215 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Persisters\PersistenceBuilderTest::testPrepareInsertData() does not have parameter type hint nor @param annotation for its parameter $document.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
238 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
239 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
245 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
272 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 6 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Manager.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
15 | ERROR | Method \Documents\Manager::getProjects() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/CommitImprovementTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
148 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\PhonenumberMachine::getSubscribedEvents() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
156 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\PhonenumberMachine::__call() does not have parameter type hint nor @param annotation for its parameter $eventName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
156 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\PhonenumberMachine::__call() does not have parameter type hint nor @param annotation for its parameter $args.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
159 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Album.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
21 | ERROR | Method \Documents\Album::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
26 | ERROR | Method \Documents\Album::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
31 | ERROR | Method \Documents\Album::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
36 | ERROR | Method \Documents\Album::getName() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
46 | ERROR | Method \Documents\Album::getSongs() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Song.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
15 | ERROR | Method \Documents\Song::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
20 | ERROR | Method \Documents\Song::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
25 | ERROR | Method \Documents\Song::getName() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/BlogPost.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
54 | ERROR | Method \Documents\BlogPost::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
59 | ERROR | Method \Documents\BlogPost::getName() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Group.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | Method \Documents\Group::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
23 | ERROR | Method \Documents\Group::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
28 | ERROR | Method \Documents\Group::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
33 | ERROR | Method \Documents\Group::getName() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Chapter.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
25 | ERROR | Method \Documents\Chapter::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/DocumentPersisterTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 8 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
110 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DocumentPersisterTest::testPrepareFieldName() does not have parameter type hint nor @param annotation for its parameter $fieldName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
110 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DocumentPersisterTest::testPrepareFieldName() does not have parameter type hint nor @param annotation for its parameter $expected.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
115 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DocumentPersisterTest::getTestPrepareFieldNameData() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
134 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DocumentPersisterTest::testPrepareQueryOrNewObjWithHashId() does not have parameter type hint nor @param annotation for its parameter
| | $hashId. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
148 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DocumentPersisterTest::testPrepareQueryOrNewObjWithHashIdAndInOperators() does not have parameter type hint nor @param annotation for its
| | parameter $hashId. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
179 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DocumentPersisterTest::provideHashIdentifiers() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
229 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DocumentPersisterTest::testPrepareQueryOrNewObjWithSimpleReferenceToTargetDocumentWithHashIdType() does not have parameter type hint nor
| | @param annotation for its parameter $hashId. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
306 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DocumentPersisterTest::testPrepareQueryOrNewObjWithDBRefReferenceToTargetDocumentWithHashIdType() does not have parameter type hint nor @param
| | annotation for its parameter $hashId. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
383 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DocumentPersisterTest::testPrepareQueryOrNewObjWithEmbeddedReferenceToTargetDocumentWithHashIdType() does not have parameter type hint nor
| | @param annotation for its parameter $hashId. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Ecommerce/Option.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
46 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
50 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
67 | ERROR | [ ] Method \Documents\Ecommerce\Option::getPrice() does not have parameter type hint nor @param annotation for its parameter $object.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/SimpleReferenceUser.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
26 | ERROR | Method \Documents\SimpleReferenceUser::setUser() does not have parameter type hint nor @param annotation for its parameter $user.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
31 | ERROR | Method \Documents\SimpleReferenceUser::getUser() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
36 | ERROR | Method \Documents\SimpleReferenceUser::addUser() does not have parameter type hint nor @param annotation for its parameter $user.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
41 | ERROR | Method \Documents\SimpleReferenceUser::getUsers() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
46 | ERROR | Method \Documents\SimpleReferenceUser::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
51 | ERROR | Method \Documents\SimpleReferenceUser::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Phonebook.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
19 | ERROR | Method \Documents\Phonebook::__construct() does not have parameter type hint nor @param annotation for its parameter $title.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
25 | ERROR | Method \Documents\Phonebook::getTitle() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
30 | ERROR | Method \Documents\Phonebook::setTitle() does not have parameter type hint nor @param annotation for its parameter $title.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
40 | ERROR | Method \Documents\Phonebook::getPhonenumbers() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/ReadPreferenceTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
45 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ReadPreferenceTest::testHintIsSetOnQuery() does not have parameter type hint nor @param annotation for its parameter $readPreference.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
60 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ReadPreferenceTest::provideReadPreferenceHints() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
96 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ReadPreferenceTest::assertReadPreferenceHint() does not have parameter type hint nor @param annotation for its parameter $mode.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
96 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ReadPreferenceTest::assertReadPreferenceHint() does not have parameter type hint nor @param annotation for its parameter $readPreference.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/SubProject.php
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
16 | ERROR | Method \Documents\SubProject::getIssues() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/LockTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 8 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
87 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\LockTest::testLockDateSetsDefaultValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
109 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\LockTest::testLockDateImmutableSetsDefaultValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
131 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\LockTest::testLockDateSetsDefaultValueOnUpsert() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
157 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\LockTest::testLockDateImmutableSetsDefaultValueOnUpsert() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
506 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\AbstractVersionBase::__construct() does not have parameter type hint nor @param annotation for its parameter $title.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
512 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\AbstractVersionBase::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
517 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\AbstractVersionBase::getTitle() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
522 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\AbstractVersionBase::getVersion() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/FunctionalTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 25 ERRORS AFFECTING 21 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
53 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\FunctionalTest::provideUpsertObjects() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
65 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\FunctionalTest::testUpsertObject() does not have parameter type hint nor @param annotation for its parameter $className.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
65 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\FunctionalTest::testUpsertObject() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
65 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\FunctionalTest::testUpsertObject() does not have parameter type hint nor @param annotation for its parameter $discriminator.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
539 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
542 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
558 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
561 | ERROR | [x] Use assertion instead of inline documentation comment. (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
727 | ERROR | [ ] Variable "level1_0" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
728 | ERROR | [ ] Variable "level1_0" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
729 | ERROR | [ ] Variable "level1_0" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
731 | ERROR | [ ] Variable "level1_1" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
732 | ERROR | [ ] Variable "level1_1" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
733 | ERROR | [ ] Variable "level1_1" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
735 | ERROR | [ ] Variable "level2_0" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
736 | ERROR | [ ] Variable "level2_0" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
737 | ERROR | [ ] Variable "level1_1" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
737 | ERROR | [ ] Variable "level2_0" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
739 | ERROR | [ ] Variable "level2_1" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
740 | ERROR | [ ] Variable "level2_1" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
741 | ERROR | [ ] Variable "level1_1" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
741 | ERROR | [ ] Variable "level2_1" is not in valid camel caps format (Squiz.NamingConventions.ValidVariableName.NotCamelCaps)
905 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\ParentAssociationTestA::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
919 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\ParentAssociationTestB::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
931 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\ParentAssociationTestC::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Persisters/DocumentPersisterGetShardKeyQueryTest.php
---------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
---------------------------------------------------------------------------------------------------------------------------------------------------------
28 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
47 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
74 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
94 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
---------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Events/LifecycleListenersTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 8 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
19 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Events\LifecycleListenersTest::getDocumentManager() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
219 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Events\MyEventListener::__call() does not have parameter type hint nor @param annotation for its parameter $method.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
219 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Events\MyEventListener::__call() does not have parameter type hint nor @param annotation for its parameter $args.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
236 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Events\PostCollectionLoadEventListener::__construct() does not have parameter type hint nor @param annotation for its parameter $phpunit.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
244 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
247 | ERROR | [x] Expected 1 lines after "case", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
285 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Events\TestEmbeddedDocument::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
316 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Events\Image::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
330 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Events\Thumbnail::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH1346Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
60 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1346Document::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
65 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1346Document::addReference() does not have parameter type hint nor @param annotation for its parameter $otherReference.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
70 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1346Document::getReferences() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
87 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1346ReferencedDocument::setTest() does not have parameter type hint nor @param annotation for its parameter $test.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
92 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1346ReferencedDocument::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Ecommerce/StockItem.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 13 ERRORS AFFECTING 9 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
26 | ERROR | [ ] Method \Documents\Ecommerce\StockItem::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
31 | ERROR | [ ] Method \Documents\Ecommerce\StockItem::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
31 | ERROR | [ ] Method \Documents\Ecommerce\StockItem::__construct() does not have parameter type hint nor @param annotation for its parameter $cost.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
31 | ERROR | [ ] Method \Documents\Ecommerce\StockItem::__construct() does not have parameter type hint nor @param annotation for its parameter $inventory.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
33 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
36 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
46 | ERROR | [ ] Method \Documents\Ecommerce\StockItem::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
46 | ERROR | [ ] Method \Documents\Ecommerce\StockItem::setName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
53 | ERROR | [ ] Method \Documents\Ecommerce\StockItem::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
63 | ERROR | [ ] Method \Documents\Ecommerce\StockItem::getCost() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
68 | ERROR | [ ] Method \Documents\Ecommerce\StockItem::setInventory() does not have parameter type hint nor @param annotation for its parameter $inventory.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
68 | ERROR | [ ] Method \Documents\Ecommerce\StockItem::setInventory() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
75 | ERROR | [ ] Method \Documents\Ecommerce\StockItem::getInventory() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH499Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
47 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH499Document::__construct() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
53 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH499Document::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
58 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH499Document::getRefMany() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/CustomUser.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
24 | ERROR | Method \Documents\CustomUser::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
29 | ERROR | Method \Documents\CustomUser::setId() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
34 | ERROR | Method \Documents\CustomUser::setUsername() does not have parameter type hint nor @param annotation for its parameter $username.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
39 | ERROR | Method \Documents\CustomUser::getUsername() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
44 | ERROR | Method \Documents\CustomUser::setPassword() does not have parameter type hint nor @param annotation for its parameter $password.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
49 | ERROR | Method \Documents\CustomUser::getPassword() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
60 | ERROR | Method \Documents\CustomUser::getAccount() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Phonenumber.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | Method \Documents\Phonenumber::__construct() does not have parameter type hint nor @param annotation for its parameter $phonenumber.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
24 | ERROR | Method \Documents\Phonenumber::getPhonenumber() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
29 | ERROR | Method \Documents\Phonenumber::setPhonenumber() does not have parameter type hint nor @param annotation for its parameter $phonenumber.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
34 | ERROR | Method \Documents\Phonenumber::getLastCalledBy() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM52Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
48 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM52Container::__construct() does not have parameter type hint nor @param annotation for its parameter $items.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
48 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM52Container::__construct() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
50 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
56 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM52Container::getItems() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
61 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM52Container::getItem() does not have parameter type hint nor @param annotation for its parameter $index.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
61 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM52Container::getItem() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
66 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM52Container::removeItem() does not have parameter type hint nor @param annotation for its parameter $i.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH593Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
123 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH593User::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Ecommerce/Money.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
19 | ERROR | [ ] Method \Documents\Ecommerce\Money::__construct() does not have parameter type hint nor @param annotation for its parameter $amount.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
22 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
31 | ERROR | [ ] Method \Documents\Ecommerce\Money::getAmount() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
36 | ERROR | [ ] Method \Documents\Ecommerce\Money::getCurrency() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH1117Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
59 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1117EmbeddedDocument::__construct() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH1572Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
78 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1572PostRepository::getPostsForBlog() does not have parameter type hint nor @param annotation for its parameter $blog.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
78 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1572PostRepository::getPostsForBlog() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH602Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
93 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH602Test::enableDeletedFilter() does not have parameter type hint nor @param annotation for its parameter $class.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
121 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH602User::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
145 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH602Thing::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tools/sandbox/Documents/Address.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 8 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
24 | ERROR | Method \Documents\Address::getStreet() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
29 | ERROR | Method \Documents\Address::setStreet() does not have parameter type hint nor @param annotation for its parameter $street.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
34 | ERROR | Method \Documents\Address::getCity() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
39 | ERROR | Method \Documents\Address::setCity() does not have parameter type hint nor @param annotation for its parameter $city.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
44 | ERROR | Method \Documents\Address::getState() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
49 | ERROR | Method \Documents\Address::setState() does not have parameter type hint nor @param annotation for its parameter $state.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
54 | ERROR | Method \Documents\Address::getPostalCode() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
59 | ERROR | Method \Documents\Address::setPostalCode() does not have parameter type hint nor @param annotation for its parameter $postalCode.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Article.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 11 ERRORS AFFECTING 11 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
31 | ERROR | [ ] Method \Documents\Article::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
36 | ERROR | [ ] Method \Documents\Article::getTitle() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
41 | ERROR | [ ] Method \Documents\Article::setTitle() does not have parameter type hint nor @param annotation for its parameter $title.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
46 | ERROR | [ ] Method \Documents\Article::getBody() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
51 | ERROR | [ ] Method \Documents\Article::setBody() does not have parameter type hint nor @param annotation for its parameter $body.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
56 | ERROR | [ ] Method \Documents\Article::getCreatedAt() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
61 | ERROR | [ ] Method \Documents\Article::setCreatedAt() does not have parameter type hint nor @param annotation for its parameter $createdAt.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
66 | ERROR | [ ] Method \Documents\Article::addTag() does not have parameter type hint nor @param annotation for its parameter $tag.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
71 | ERROR | [ ] Method \Documents\Article::removeTag() does not have parameter type hint nor @param annotation for its parameter $tag.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
73 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
79 | ERROR | [ ] Method \Documents\Article::getTags() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/GraphLookup/Traveller.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
26 | ERROR | Method \Documents\GraphLookup\Traveller::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Address.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 9 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
38 | ERROR | Method \Documents\Address::getSubAddress() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
43 | ERROR | Method \Documents\Address::getAddress() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
48 | ERROR | Method \Documents\Address::setAddress() does not have parameter type hint nor @param annotation for its parameter $address.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
53 | ERROR | Method \Documents\Address::getCity() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
58 | ERROR | Method \Documents\Address::setCity() does not have parameter type hint nor @param annotation for its parameter $city.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
63 | ERROR | Method \Documents\Address::getState() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
68 | ERROR | Method \Documents\Address::setState() does not have parameter type hint nor @param annotation for its parameter $state.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
73 | ERROR | Method \Documents\Address::getZipcode() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
78 | ERROR | Method \Documents\Address::setZipcode() does not have parameter type hint nor @param annotation for its parameter $zipcode.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH611Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
140 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\GH611EmbeddedDocument::__construct() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
140 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\GH611EmbeddedDocument::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/NestedCollectionsTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
19 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\NestedCollectionsTest::testStrategy() does not have parameter type hint nor @param annotation for its parameter $field.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
68 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\NestedCollectionsTest::provideStrategy() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/FlushTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
34 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
60 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\FlushTest::assertSize() does not have parameter type hint nor @param annotation for its parameter $size.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/CmsAddress.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
32 | ERROR | Method \Documents\CmsAddress::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
37 | ERROR | Method \Documents\CmsAddress::getUser() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
42 | ERROR | Method \Documents\CmsAddress::getCountry() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
47 | ERROR | Method \Documents\CmsAddress::getZipCode() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
52 | ERROR | Method \Documents\CmsAddress::getCity() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tools/sandbox/Documents/User.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 10 ERRORS AFFECTING 9 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
37 | ERROR | Method \Documents\User::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
42 | ERROR | Method \Documents\User::setUsername() does not have parameter type hint nor @param annotation for its parameter $username.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
47 | ERROR | Method \Documents\User::getUsername() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
52 | ERROR | Method \Documents\User::setPassword() does not have parameter type hint nor @param annotation for its parameter $password.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
57 | ERROR | Method \Documents\User::checkPassword() does not have parameter type hint nor @param annotation for its parameter $password.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
57 | ERROR | Method \Documents\User::checkPassword() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
67 | ERROR | Method \Documents\User::getAddress() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
77 | ERROR | Method \Documents\User::getAccount() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
87 | ERROR | Method \Documents\User::getPhonenumbers() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
92 | ERROR | Method \Documents\User::__toString() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH1229Test.php
----------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 9 LINES
----------------------------------------------------------------------------------------------------------------------------------------------------------
21 | ERROR | [x] Useless documentation comment with @inheritDoc.
| | (SlevomatCodingStandard.Commenting.UselessInheritDocComment.UselessInheritDocComment)
49 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
53 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
76 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
81 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
97 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
101 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
118 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
123 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
----------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/DetachedDocumentTest.php
----------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------
104 | ERROR | [x] Use assertion instead of inline documentation comment.
| | (SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion)
----------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH977Test.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
25 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/CmsPhonenumber.php
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
25 | ERROR | Method \Documents\CmsPhonenumber::getUser() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tools/sandbox/Documents/Account.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | Method \Documents\Account::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
23 | ERROR | Method \Documents\Account::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
28 | ERROR | Method \Documents\Account::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
33 | ERROR | Method \Documents\Account::getName() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
38 | ERROR | Method \Documents\Account::__toString() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/DatabasesTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
22 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DatabasesTest::getConfiguration() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH880Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
17 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
23 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
53 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH880Document::__construct() does not have parameter type hint nor @param annotation for its parameter $status.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
53 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH880Document::__construct() does not have parameter type hint nor @param annotation for its parameter $category.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Message.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
18 | ERROR | Method \Documents\Message::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
23 | ERROR | Method \Documents\Message::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
28 | ERROR | Method \Documents\Message::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
33 | ERROR | Method \Documents\Message::getName() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tools/sandbox/Documents/Phonenumber.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
15 | ERROR | Method \Documents\Phonenumber::__construct() does not have parameter type hint nor @param annotation for its parameter $phonenumber.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
20 | ERROR | Method \Documents\Phonenumber::setPhonenumber() does not have parameter type hint nor @param annotation for its parameter $phonenumber.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
25 | ERROR | Method \Documents\Phonenumber::getPhonenumber() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
30 | ERROR | Method \Documents\Phonenumber::__toString() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM66Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
73 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM52A::__construct() does not have parameter type hint nor @param annotation for its parameter $b.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
78 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM52A::getB() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
93 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM52B::__construct() does not have parameter type hint nor @param annotation for its parameter $v.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
98 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM52B::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/IdentifiedChapter.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
22 | ERROR | Method \Documents\IdentifiedChapter::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH944Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
57 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH944Document::removeByText() does not have parameter type hint nor @param annotation for its parameter $text.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
77 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH944Embedded::__construct() does not have parameter type hint nor @param annotation for its parameter $text.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/AtomicSetTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
93 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\AtomicSetTest::testAtomicCollectionUnset() does not have parameter type hint nor @param annotation for its parameter $clearWith.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
120 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\AtomicSetTest::provideAtomicCollectionUnset() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
579 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\AtomicSetUser::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
603 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\AtomicSetInception::__construct() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM116Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
53 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM116Parent::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
58 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM116Parent::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
63 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM116Parent::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
68 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM116Parent::getChild() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM76Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
46 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM76A::__construct() does not have parameter type hint nor @param annotation for its parameter $b.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
46 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM76A::__construct() does not have parameter type hint nor @param annotation for its parameter $c.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
52 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM76A::getB() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
57 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM76A::getC() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
62 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM76A::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
74 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM76B::__construct() does not have parameter type hint nor @param annotation for its parameter $c.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
79 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM76B::getC() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH597Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
140 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH597Post::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
145 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH597Post::getComments() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
150 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH597Post::getReferenceMany() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
162 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH597Comment::__construct() does not have parameter type hint nor @param annotation for its parameter $comment.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
178 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH597ReferenceMany::__construct() does not have parameter type hint nor @param annotation for its parameter $field.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
183 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH597ReferenceMany::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH1011Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
62 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1011Embedded::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/Ecommerce/Currency.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 8 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
31 | ERROR | [ ] Method \Documents\Ecommerce\Currency::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
31 | ERROR | [ ] Method \Documents\Ecommerce\Currency::__construct() does not have parameter type hint nor @param annotation for its parameter $multiplier.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
34 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
44 | ERROR | [ ] Method \Documents\Ecommerce\Currency::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
49 | ERROR | [ ] Method \Documents\Ecommerce\Currency::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
54 | ERROR | [ ] Method \Documents\Ecommerce\Currency::getMultiplier() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
59 | ERROR | [ ] Method \Documents\Ecommerce\Currency::setMultiplier() does not have parameter type hint nor @param annotation for its parameter $multiplier.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
62 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
70 | ERROR | [ ] Method \Documents\Ecommerce\Currency::getAll() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/MemoryUsageTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
59 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\MemoryUsageTest::formatMemory() does not have parameter type hint nor @param annotation for its parameter $size.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
59 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\MemoryUsageTest::formatMemory() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Events/LifecycleCallbacksTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
15 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Events\LifecycleCallbacksTest::createUser() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
15 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Events\LifecycleCallbacksTest::createUser() does not have parameter type hint nor @param annotation for its parameter $fullName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
15 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Events\LifecycleCallbacksTest::createUser() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM29Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 7 ERRORS AFFECTING 7 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
45 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
61 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM29Doc::__construct() does not have parameter type hint nor @param annotation for its parameter $c.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
66 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM29Doc::set() does not have parameter type hint nor @param annotation for its parameter $c.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
71 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM29Doc::get() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
83 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM29Embedded::__construct() does not have parameter type hint nor @param annotation for its parameter $val.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
88 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM29Embedded::get() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
93 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM29Embedded::set() does not have parameter type hint nor @param annotation for its parameter $val.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH774Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
30 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\GH774Test::createMetadataDriverImpl() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/SpecialUser.php
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
20 | ERROR | Method \Documents\SpecialUser::getRules() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH1525Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 3 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
112 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1525Document::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
131 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1525DocumentIdStrategyNone::__construct() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
131 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1525DocumentIdStrategyNone::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
144 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1525Embedded::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/MappedSuperclassTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 14 ERRORS AFFECTING 14 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
53 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\MappedSuperclassBase::setMapped1() does not have parameter type hint nor @param annotation for its parameter $val.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
58 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\MappedSuperclassBase::getMapped1() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
63 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\MappedSuperclassBase::setMapped2() does not have parameter type hint nor @param annotation for its parameter $val.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
68 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\MappedSuperclassBase::getMapped2() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
73 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\MappedSuperclassBase::setMappedRelated1() does not have parameter type hint nor @param annotation for its parameter $mappedRelated1.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
78 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\MappedSuperclassBase::getMappedRelated1() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
93 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\MappedSuperclassRelated1::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
98 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\MappedSuperclassRelated1::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
103 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\MappedSuperclassRelated1::setId() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
108 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\MappedSuperclassRelated1::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
123 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DocumentSubClass::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
128 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DocumentSubClass::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
133 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DocumentSubClass::setId() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
138 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\DocumentSubClass::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM45Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
36 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM45A::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
41 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM45A::getB() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
46 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM45A::setB() does not have parameter type hint nor @param annotation for its parameter $b.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
58 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM45B::setVal() does not have parameter type hint nor @param annotation for its parameter $val.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
63 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM45B::getVal() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH1275Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
138 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1275Test::getCollectionStrategies() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
153 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1275Test::testResortEmbedManyCollection() does not have parameter type hint nor @param annotation for its parameter $strategy.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
203 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Item::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
221 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Element::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
321 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Container::flip() does not have parameter type hint nor @param annotation for its parameter $a.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
321 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Container::flip() does not have parameter type hint nor @param annotation for its parameter $b.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
330 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Container::move() does not have parameter type hint nor @param annotation for its parameter $move.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
330 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\Container::move() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Query/BuilderTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 21 ERRORS AFFECTING 17 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
188 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::testArrayUpdateOperatorsOnReferenceMany() does not have parameter type hint nor @param annotation for its parameter $class.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
188 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::testArrayUpdateOperatorsOnReferenceMany() does not have parameter type hint nor @param annotation for its parameter $field.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
202 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::provideArrayUpdateOperatorsOnReferenceMany() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
212 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::testArrayUpdateOperatorsOnReferenceOne() does not have parameter type hint nor @param annotation for its parameter $class.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
212 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::testArrayUpdateOperatorsOnReferenceOne() does not have parameter type hint nor @param annotation for its parameter $field.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
226 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::provideArrayUpdateOperatorsOnReferenceOne() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
445 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::testProxiedExprMethods() does not have parameter type hint nor @param annotation for its parameter $method.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
461 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::provideProxiedExprMethods() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
523 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::providePoint() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
546 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::provideSelectProjections() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
562 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::provideExcludeProjections() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
670 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::testSortWithFieldNameAndOrder() does not have parameter type hint nor @param annotation for its parameter $order.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
670 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::testSortWithFieldNameAndOrder() does not have parameter type hint nor @param annotation for its parameter $expectedOrder.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
678 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::provideSortOrders() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
723 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::testCurrentDateUpdateQuery() does not have parameter type hint nor @param annotation for its parameter $type.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
741 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::provideCurrentDateOptions() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
811 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::getTestQueryBuilder() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
816 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::getMockExpr() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
823 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::getMockGeometry() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
830 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::getMockPoint() does not have parameter type hint nor @param annotation for its parameter $json.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
830 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Query\BuilderTest::getMockPoint() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Types/DateTypeTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 6 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
16 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is date. (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
76 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\DateTypeTest::testConvertToDatabaseValueWithInvalidValues() does not have parameter type hint nor @param annotation for its parameter
| | $value. (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
83 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\DateTypeTest::provideInvalidDateValues() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
97 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\DateTypeTest::testConvertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $input.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
97 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\DateTypeTest::testConvertToPHPValue() does not have parameter type hint nor @param annotation for its parameter $output.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
116 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\DateTypeTest::testClosureToPHP() does not have parameter type hint nor @param annotation for its parameter $input.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
116 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\DateTypeTest::testClosureToPHP() does not have parameter type hint nor @param annotation for its parameter $output.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
131 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Types\DateTypeTest::provideDatabaseToPHPValues() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/CollectionPersisterTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
586 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\CollectionPersisterCategory::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
601 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\CollectionPersisterPhonenumber::__construct() does not have parameter type hint nor @param annotation for its parameter $phonenumber.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
619 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\CollectionPersisterPost::__construct() does not have parameter type hint nor @param annotation for its parameter $post.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
641 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\CollectionPersisterComment::__construct() does not have parameter type hint nor @param annotation for its parameter $comment.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
641 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\CollectionPersisterComment::__construct() does not have parameter type hint nor @param annotation for its parameter $by.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/UnitOfWorkTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 19 ERRORS AFFECTING 15 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
233 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\UnitOfWorkTest::testScheduleForUpdateWithArrays() does not have parameter type hint nor @param annotation for its parameter $origData.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
233 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\UnitOfWorkTest::testScheduleForUpdateWithArrays() does not have parameter type hint nor @param annotation for its parameter $updateData.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
233 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\UnitOfWorkTest::testScheduleForUpdateWithArrays() does not have parameter type hint nor @param annotation for its parameter $shouldInUpdate.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
250 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\UnitOfWorkTest::getScheduleForUpdateWithArraysTests() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
528 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\ParentAssociationTest::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
558 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\NotifyChangedDocument::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
563 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\NotifyChangedDocument::setId() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
568 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\NotifyChangedDocument::getData() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
573 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\NotifyChangedDocument::setData() does not have parameter type hint nor @param annotation for its parameter $data.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
583 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\NotifyChangedDocument::getItems() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
588 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\NotifyChangedDocument::setTransient() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
603 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\NotifyChangedDocument::_onPropertyChanged() does not have parameter type hint nor @param annotation for its parameter $propName.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
603 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\NotifyChangedDocument::_onPropertyChanged() does not have parameter type hint nor @param annotation for its parameter $oldValue.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
603 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\NotifyChangedDocument::_onPropertyChanged() does not have parameter type hint nor @param annotation for its parameter $newValue.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
620 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\NotifyChangedRelatedItem::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
625 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\NotifyChangedRelatedItem::setId() does not have parameter type hint nor @param annotation for its parameter $id.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
630 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\NotifyChangedRelatedItem::getOwner() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
635 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\NotifyChangedRelatedItem::setOwner() does not have parameter type hint nor @param annotation for its parameter $owner.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
650 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\ArrayTest::__construct() does not have parameter type hint nor @param annotation for its parameter $data.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Documents/ForumUser.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
21 | ERROR | Method \Documents\ForumUser::getId() does not have return type hint nor @return annotation for its return value. (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
26 | ERROR | Method \Documents\ForumUser::getUsername() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
31 | ERROR | Method \Documents\ForumUser::getAvatar() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Performance/UnitOfWorkPerformanceTest.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is microtime.
| | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
24 | ERROR | [x] Expected 1 lines after "for", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Performance/InsertPerformanceTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is gc_collect_cycles.
| | (SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses.IncorrectlyOrderedUses)
35 | ERROR | [x] Useless parentheses. (SlevomatCodingStandard.PHP.UselessParentheses.UselessParentheses)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH1232Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
73 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH1232CommentRepository::getLongComments() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/EcommerceTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
34 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
86 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\EcommerceTest::getProduct() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/DocumentManagerTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
121 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\DocumentManagerTest::dataMethodsAffectedByNoObjectArguments() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
143 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\DocumentManagerTest::dataAffectedByErrorIfClosedException() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Events/PreUpdateEventArgsTest.php
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 3 LINES
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
93 | ERROR | [x] Expected 1 lines after "case", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
94 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
99 | ERROR | [x] Expected 1 lines after "if", found 0.
| | (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH936Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
51 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH936Document::__construct() does not have parameter type hint nor @param annotation for its parameter $ref.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/DiscriminatorsDefaultValueTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 11 ERRORS AFFECTING 10 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
104 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ParentDocument::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
109 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ParentDocument::getReferencedChild() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
114 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ParentDocument::getReferencedChildren() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
119 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ParentDocument::getEmbeddedChild() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
124 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ParentDocument::getEmbeddedChildren() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
139 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ChildDocument::__construct() does not have parameter type hint nor @param annotation for its parameter $type.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
144 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ChildDocument::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
149 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ChildDocument::getType() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
216 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ChildDocumentWithDiscriminatorComplex::__construct() does not have parameter type hint nor @param annotation for its parameter $type.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
216 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ChildDocumentWithDiscriminatorComplex::__construct() does not have parameter type hint nor @param annotation for its parameter $value.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
222 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\ChildDocumentWithDiscriminatorComplex::getValue() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM47Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
36 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM47A::renameC() does not have parameter type hint nor @param annotation for its parameter $c.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
41 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\MODM47A::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/GH665Test.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
74 | ERROR | Method \Doctrine\ODM\MongoDB\Tests\Functional\Ticket\GH665Embedded::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/FilterTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 13 ERRORS AFFECTING 13 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
90 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\FilterTest::getUsernamesWithFind() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
99 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
124 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\FilterTest::getUsernamesWithFindBy() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
129 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
150 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\FilterTest::getJohnsUsernameWithFindOneBy() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
170 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\FilterTest::getUsernamesWithFindAll() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
175 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
196 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\FilterTest::getGroupsByReference() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
201 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
226 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\FilterTest::getProfileByReference() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
252 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\FilterTest::getUsernamesWithDocumentManager() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
289 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\FilterTest::getUsernamesWithQuery() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
296 | ERROR | [x] Expected 1 lines after "foreach", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: tests/Doctrine/ODM/MongoDB/Tests/Functional/NestedDocumentsTest.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 22 ERRORS AFFECTING 18 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
153 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Hierarchy::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
158 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Hierarchy::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
163 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Hierarchy::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
168 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Hierarchy::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
173 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Hierarchy::getChild() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
173 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Hierarchy::getChild() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
175 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
187 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Hierarchy::addChild() does not have parameter type hint nor @param annotation for its parameter $child.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
187 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Hierarchy::addChild() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
189 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
197 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Hierarchy::getChildren() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
212 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\BaseCategory::__construct() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
218 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\BaseCategory::setName() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
223 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\BaseCategory::getName() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
228 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\BaseCategory::getChild() does not have parameter type hint nor @param annotation for its parameter $name.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
228 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\BaseCategory::getChild() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
230 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
242 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\BaseCategory::addChild() does not have parameter type hint nor @param annotation for its parameter $child.
| | (SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint)
242 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\BaseCategory::addChild() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
244 | ERROR | [x] Expected 1 lines after "if", found 0. (SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountAfterControlStructure)
252 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\BaseCategory::getChildren() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
264 | ERROR | [ ] Method \Doctrine\ODM\MongoDB\Tests\Functional\Category::getId() does not have return type hint nor @return annotation for its return value.
| | (SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Time: 1.46 secs; Memory: 69.14MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment