Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Auditor.php

function Auditor::getCVE

2 calls to Auditor::getCVE()
Auditor::outputAdvisoriesPlain in vendor/composer/composer/src/Composer/Advisory/Auditor.php
Auditor::outputAdvisoriesTable in vendor/composer/composer/src/Composer/Advisory/Auditor.php

File

vendor/composer/composer/src/Composer/Advisory/Auditor.php, line 387

Class

Auditor
@internal

Namespace

Composer\Advisory

Code

private function getCVE(SecurityAdvisory $advisory) : string {
    if ($advisory->cve === null) {
        return 'NO CVE';
    }
    return '<href=https://cve.mitre.org/cgi-bin/cvename.cgi?name=' . $advisory->cve . '>' . $advisory->cve . '</>';
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal