Gets all issues for this file. The issues will be sorted by line
numbers, not by order of addition to this report.

@return Issue[] The issues for this file.
770201
public function getIssues(): array
    {
        usort(
            $this->issues,
            function (Issue $a, Issue $b) {
                return $a->getLine() - $b->getLine();
            }
        );
        return $this->issues;
    }
856919
public function detectConflicts()
    {
        $conflicts = [];
        $apps = $this->graph->getLeafNodes();
        foreach ($apps as $name => $latest) {
            if (count($latest) > 1) {
                $conflicts[$name] = $latest;
            }
        }

        return $conflicts;
    }
1323067
public function issue()
    {
        $url = $this->getEntityUrl() . $this->id . '/issue';

        return $this->request(Requests::POST, $url);
    }
1078036
public static function getStatusList()
    {
        return [
            self::STATUS_OK => 'ok',
            self::STATUS_SENDING => 'sending',
            self::STATUS_PENDING => 'pending',
            self::STATUS_ERROR => 'error',
            self::STATUS_ENCODING => 'encoding',
        ];
    }
333762
public function getContextsNumberOfIssues()
	{
		$list = [];

		foreach ($this->getChildren() as $child)
		{
			if ($child instanceof FunctionContext)
			{
				$list[] = [
					'name'      => $child->getName(),
					'startLine' => $child->startLine,
					'issues'    => $child->getIssuesCount()
				];
			}
			else
			{
				// this might be a class, look for methods
				foreach ($child->getChildren() as $method)
				{
					if ($method instanceof MethodContext)
					{
						$list[] = [
							'name'      => $child->getName().'::'.$method->getName(),
							'startLine' => $method->startLine,
							'issues'    => $method->getIssuesCount()
						];
					}
				}
			}
		}

		return $list;
	}
1168716
public static function errors()
    {
        $result                    = array();
        $result['error_reporting'] = error_reporting();
        $errTypes                  = self::_getErrorTypes();

        foreach ($errTypes as $errTypeKey => $errTypeName) {
            if ($result['error_reporting'] & $errTypeKey) {
                $result['show_types'][] = $errTypeName . ' (' . $errTypeKey . ')';
            }
        }

        return self::i()->dump($result, '! errors info !');
    }
1155007
def check_issues(issues, after=None):
    """"""
    issues = closed_issues(issues, after) if after else all_issues(issues)
    issues = sorted(issues, key=ISSUES_SORT_KEY)

    have_warnings = False

    for section, issue_group in groupby(issues, key=ISSUES_BY_SECTION):
        for issue in issue_group:
            have_warnings |= check_issue(issue, after)

    return have_warnings
778344
public function issues(array $parameters = [])
    {
        $data = $this->client->issues()->all($this->id, $parameters);

        $issues = array();
        foreach ($data as $issue) {
            $issues[] = Issue::fromArray($this->getClient(), $this, $issue);
        }

        return $issues;
    }
940803
public function getErrorList(): array
    {
        $errorList = $this->errorList;
        foreach ($this->fieldResultList as $fieldResult) {
            foreach ($fieldResult->getErrorList() as $error) {
                $errorList[] = $error;
            }
        }

        return $errorList;
    }
418780
public function getErrors(): array
    {
        $error = [];

        foreach ($this->list as $r) {
            $error[$r->getPropertyPath()] = $r->getMessage();
        }

        return $error;
    }
925147
public function getStatus()
    {
        $reports = [];
        $solrConnections = GeneralUtility::makeInstance(ConnectionManager::class)->getAllConnections();

        foreach ($solrConnections as $solrConnection) {
            $adminService = $solrConnection->getAdminService();
            if ($adminService->ping()) {
                $installationStatus = $this->checkPluginInstallationStatus($adminService);
                $versionStatus = $this->checkPluginVersion($adminService);

                if (!is_null($installationStatus)) {
                    $reports[] = $installationStatus;
                }

                if (!is_null($versionStatus)) {
                    $reports[] = $versionStatus;
                }
            }
        }

        return $reports;
    }
518399
def all_issues(issues):
    """"""
    logging.info('finding issues...')
    seen = set()
    for issue in issues:
        if issue['title'] not in seen:
            seen.add(issue['title'])
            yield issue
425191
public function getErrors()
    {
        if (!empty($this->fixed_error))
            return count($this->errors) ? [$this->fixed_error] : [];

        return $this->errors;
    }
1346790
public function getExceptions(): array
    {
        $exceptions = [];

        foreach ($this->exceptions as $request) {
            $exceptions[] = $this->exceptions[$request];
        }

        return $exceptions;
    }
1289558
@Override
	public List<Issue> listAllIssues() {
		return getRestOperations().exchange(buildUri("/issues?per_page=25"), HttpMethod.GET, null, issueListTypeRef).getBody();
	}
53123
protected static List<FeatureIssueLink> getIssueLinks(JSONArray issueLinkArray) {
        if (issueLinkArray == null) {
            return Collections.EMPTY_LIST;
        }
        List<FeatureIssueLink> jiraIssueLinks = new ArrayList<>();

        issueLinkArray.forEach(issueLink -> {
            JSONObject outward = (JSONObject) ((JSONObject) issueLink).get("outwardIssue");
            JSONObject inward = (JSONObject) ((JSONObject) issueLink).get("inwardIssue");
            JSONObject type = (JSONObject) ((JSONObject) issueLink).get("type");
            String targetKey = "";
            String direction = "";
            String name = "";
            String description = "";
            String targetUrl = "";

            if (outward != null) {
                targetKey = getString(outward, "key");
                direction = "OUTBOUND";
                name = getString(type, "name");
                description = getString(type, "outward");
                targetUrl = getString(outward, "self");

            } else if (inward != null) {
                targetKey = getString(inward, "key");
                direction = "INBOUND";
                name = getString(type, "name");
                description = getString(type, "inward");
                targetUrl = getString(inward, "self");
            }
            FeatureIssueLink jiraIssueLink = new FeatureIssueLink();
            // story number of the linked issue
            jiraIssueLink.setTargetIssueKey(targetKey);
            // name of the linked issue
            jiraIssueLink.setIssueLinkName(name);
            // type of the linked issue
            jiraIssueLink.setIssueLinkType(description);
            // direction of the linked issue (inbount/outbound)
            jiraIssueLink.setIssueLinkDirection(direction);
            // uri of the linked issue
            jiraIssueLink.setTargetIssueUri(targetUrl);
            jiraIssueLinks.add(jiraIssueLink);
        });
        return jiraIssueLinks;
    }
798135
public function getErrors()
	{
		if ($msg = $this->options->message) {
			$errors[] = $msg;
		} else {

			$messages = $this->messages();
			foreach ($this->errors as $code) {
				$errors[] = $messages[$code];
			}
		}

		return $errors;
	}