@@ -9,12 +9,12 @@ |
||
9 | 9 | define('TESTS_TEMP_DIR', __DIR__.'/temp'); |
10 | 10 | define('VENDOR_PATH', realpath(__DIR__.'/../vendor')); |
11 | 11 | if (!class_exists('PHPUnit_Framework_TestCase') || |
12 | - version_compare(PHPUnit_Runner_Version::id(), '3.5') < 0 |
|
12 | + version_compare(PHPUnit_Runner_Version::id(), '3.5') < 0 |
|
13 | 13 | ) { |
14 | - die('PHPUnit framework is required, at least 3.5 version'); |
|
14 | + die('PHPUnit framework is required, at least 3.5 version'); |
|
15 | 15 | } |
16 | 16 | if (!class_exists('PHPUnit_Framework_MockObject_MockBuilder')) { |
17 | - die('PHPUnit MockObject plugin is required, at least 1.0.8 version'); |
|
17 | + die('PHPUnit MockObject plugin is required, at least 1.0.8 version'); |
|
18 | 18 | } |
19 | 19 | /** @var $loader ClassLoader */ |
20 | 20 | $loader = require __DIR__.'/../vendor/autoload.php'; |
@@ -17,6 +17,9 @@ |
||
17 | 17 | */ |
18 | 18 | class StingerSoftEntitySearchBundle extends Bundle { |
19 | 19 | |
20 | + /** |
|
21 | + * @param string $env |
|
22 | + */ |
|
20 | 23 | public static function getRequiredBundles($env) { |
21 | 24 | $bundles = array(); |
22 | 25 | $bundles['StingerSoftEntitySearchBundle'] = '\StingerSoft\EntitySearchBundle\StingerSoftEntitySearchBundle'; |
@@ -25,7 +25,6 @@ |
||
25 | 25 | * Tries to create a document from the given object |
26 | 26 | * |
27 | 27 | * @param ObjectManager $manager |
28 | - * @param object $object |
|
29 | 28 | * @return boolean|Document Returns false if no document could be created |
30 | 29 | */ |
31 | 30 | public function getEntity(ObjectManager $manager, Document $document); |