Completed
Push — master ( 2143b0...f496a8 )
by Sebastien
10:07 queued 08:38
created
Fixture/AbstractFixture.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@  discard block
 block discarded – undo
14 14
 
15 15
     protected $manager;
16 16
 
17
+    /**
18
+     * @param \Khepin\YamlFixturesBundle\Loader\YamlLoader $loader
19
+     */
17 20
     public function __construct(array $data, $loader)
18 21
     {
19 22
         $this->file = $data;
@@ -25,7 +28,7 @@  discard block
 block discarded – undo
25 28
 
26 29
     /**
27 30
      * Returns if the given tag is set for the current fixture
28
-     * @param  type    $tag
31
+     * @param  type    $tags
29 32
      * @return boolean
30 33
      */
31 34
     public function hasTag(Array $tags)
Please login to merge, or discard this patch.
Loader/YamlLoader.php 2 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -45,6 +45,10 @@  discard block
 block discarded – undo
45 45
      */
46 46
     protected $directory;
47 47
 
48
+    /**
49
+     * @param string[] $bundles
50
+     * @param string $directory
51
+     */
48 52
     public function __construct(KernelInterface $kernel, $bundles, $directory)
49 53
     {
50 54
         $this->bundles = $bundles;
@@ -126,6 +130,7 @@  discard block
 block discarded – undo
126 130
 
127 131
     /**
128 132
      * Remove all fixtures from the database
133
+     * @param string $persistence
129 134
      */
130 135
     public function purgeDatabase($persistence, $databaseName = null, $withTruncate = false)
131 136
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Khepin\YamlFixturesBundle\Loader;
4 4
 
5 5
 use Khepin\YamlFixturesBundle\Fixture\YamlAclFixture;
6
-use Doctrine\Common\Persistence\ObjectManager;
7 6
 use Doctrine\Common\DataFixtures\Purger\ORMPurger;
8 7
 use Symfony\Component\Yaml\Yaml;
9 8
 use Symfony\Component\HttpKernel\KernelInterface;
Please login to merge, or discard this patch.
tests/Khepin/Utils/BaseTestCaseMongo.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * Creates default mapping driver
43 43
      *
44
-     * @return \Doctrine\ORM\Mapping\Driver\Driver
44
+     * @return AnnotationDriver
45 45
      */
46 46
     protected function getMetadataDriverImplementation()
47 47
     {
@@ -56,8 +56,7 @@  discard block
 block discarded – undo
56 56
      * annotation mapping driver and pdo_sqlite
57 57
      * database in memory
58 58
      *
59
-     * @param  EventManager  $evm
60
-     * @return EntityManager
59
+     * @return m\MockInterface
61 60
      */
62 61
     protected function getDoctrine()
63 62
     {
Please login to merge, or discard this patch.
tests/Khepin/Utils/BaseTestCaseOrm.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * Creates default mapping driver
43 43
      *
44
-     * @return \Doctrine\ORM\Mapping\Driver\Driver
44
+     * @return AnnotationDriver
45 45
      */
46 46
     protected function getMetadataDriverImplementation()
47 47
     {
@@ -56,8 +56,7 @@  discard block
 block discarded – undo
56 56
      * annotation mapping driver and pdo_sqlite
57 57
      * database in memory
58 58
      *
59
-     * @param  EventManager  $evm
60
-     * @return EntityManager
59
+     * @return m\MockInterface
61 60
      */
62 61
     protected function getDoctrine()
63 62
     {
Please login to merge, or discard this patch.