Completed
Pull Request — develop (#39)
by Axel
02:51
created
Model/ProjectModel.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Developtech\AgilityBundle\Model;
4 4
 
5
-use Doctrine\ORM\Mapping as ORM;
6
-
7 5
 use Doctrine\Common\Collections\ArrayCollection;
8 6
 
9 7
 /**
Please login to merge, or discard this patch.
Repository/FeedbackRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public function countPerStatus(ProjectModel $project, $status) {
21 21
         $statement = $this->getEntityManager()->getConnection()->prepare(
22
-            "SELECT COUNT(*) as nb_feedbacks FROM {$this->getClassMetadata()->getTableName()} " .
22
+            "SELECT COUNT(*) as nb_feedbacks FROM {$this->getClassMetadata()->getTableName()} ".
23 23
             "WHERE project_id = :project_id AND status = :status"
24 24
         );
25 25
         $statement->execute([
Please login to merge, or discard this patch.
DataFixtures/ORM/LoadFeedbackData.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /** @var ContainerInterface */
18 18
     private $container;
19 19
     /**
20
-     * @param ContainerInterface $container
20
+     * @param \Symfony\Component\DependencyInjection\ContainerInterface $container
21 21
      */
22 22
     public function setContainer(ContainerInterface $container = null) {
23 23
         $this->container = $container;
Please login to merge, or discard this patch.
Tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
  * For the full copyright and license information, please view the LICENSE
8 8
  * file that was distributed with this source code.
9 9
  */
10
-if (!($loader = @include __DIR__ . '/../vendor/autoload.php')) {
10
+if (!($loader = @include __DIR__.'/../vendor/autoload.php')) {
11 11
     echo <<<EOT
12 12
 You need to install the project dependencies using Composer:
13 13
 $ wget http://getcomposer.org/composer.phar
Please login to merge, or discard this patch.