@@ -19,7 +19,7 @@ |
||
| 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([ |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -$loader = @include __DIR__ . '/../vendor/autoload.php'; |
|
| 3 | +$loader = @include __DIR__.'/../vendor/autoload.php'; |
|
| 4 | 4 | if (!$loader) { |
| 5 | 5 | die(<<<'EOT' |
| 6 | 6 | You must set up the project dependencies, run the following commands: |