Browse Source

minor fixes

Olivier Massot 6 months ago
parent
commit
6cb4a877c5
2 changed files with 1 additions and 3 deletions
  1. 0 3
      .gitlab-ci.yml
  2. 1 0
      src/Entity/Message/AbstractReport.php

+ 0 - 3
.gitlab-ci.yml

@@ -57,9 +57,6 @@ code_quality:
   <<: *default_config
   stage: analysis
   script:
-    - composer show api-platform/core
-    - composer show phpstan/phpstan
-    - composer show --locked | grep -E "(api-platform|phpstan)"
     - php vendor/bin/phpstan analyse -c phpstan.neon.dist --error-format gitlab > phpstan.json || true    # Display code quality in MR
     - php vendor/bin/phpstan analyse -c phpstan.neon.dist
   artifacts:

+ 1 - 0
src/Entity/Message/AbstractReport.php

@@ -13,6 +13,7 @@ use Doctrine\ORM\Mapping as ORM;
 /**
  * TODO: documenter.
  */
+#[ORM\MappedSuperclass]
 #[ORM\Table(name: 'ReportMessage')]
 #[ORM\Entity]
 class AbstractReport