Skip to content

Closes #7243: preload fonts frontend rockethead (PR #7320)

Codacy Production / Codacy Static Code Analysis required action Feb 22, 2025 in 0s

2 new issues (1 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 2
           

Complexity increasing per file
==============================
- inc/Engine/Media/PreloadFonts/Frontend/Controller.php  5
         

See the complete overview on Codacy

Annotations

Check warning on line 154 in inc/Engine/Media/PreloadFonts/Frontend/Controller.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

inc/Engine/Media/PreloadFonts/Frontend/Controller.php#L154

The method add_preload_fonts_in_head() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.

Check warning on line 100 in inc/Plugin.php

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

inc/Plugin.php#L100

Avoid unused private fields such as '$options_api'.