Skip to content

Commit

Permalink
Add stub for ConstraintViolationListInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
ossinkine authored and ondrejmirtes committed Jan 8, 2021
1 parent 2f2e8a3 commit d8313ec
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extension.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ parameters:
stubFiles:
- stubs/ChoiceLoaderInterface.stub
- stubs/Constraint.stub
- stubs/ConstraintViolationInterface.stub
- stubs/ConstraintViolationListInterface.stub
- stubs/ContainerBuilder.stub
- stubs/ContextAwareDecoderInterface.stub
- stubs/ContextAwareDenormalizerInterface.stub
Expand Down
7 changes: 7 additions & 0 deletions stubs/ConstraintViolationInterface.stub
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

namespace Symfony\Component\Validator;

interface ConstraintViolationInterface
{
}
10 changes: 10 additions & 0 deletions stubs/ConstraintViolationListInterface.stub
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace Symfony\Component\Validator;

/**
* @extends \Traversable<int, ConstraintViolationInterface>
*/
interface ConstraintViolationListInterface extends \Traversable
{
}

0 comments on commit d8313ec

Please sign in to comment.