Skip to content

clean host fonts CSS when enabling/disabling CDN

Codacy Production / Codacy Static Code Analysis required action Dec 6, 2024 in 0s

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

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

Issues
======
- Added 3
           

Complexity increasing per file
==============================
- inc/Engine/Media/Fonts/Clean/Subscriber.php  1
- inc/Engine/Media/Fonts/Clean/Clean.php  3
         

See the complete overview on Codacy

Annotations

Check notice on line 91 in inc/Engine/Media/Fonts/Clean/Clean.php

See this annotation in the file changed.

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

inc/Engine/Media/Fonts/Clean/Clean.php#L91

Expected 2 spaces after parameter type; 1 found

Check notice on line 92 in inc/Engine/Media/Fonts/Clean/Clean.php

See this annotation in the file changed.

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

inc/Engine/Media/Fonts/Clean/Clean.php#L92

Expected 2 spaces after parameter type; 1 found

Check notice on line 96 in inc/Engine/Media/Fonts/Clean/Clean.php

See this annotation in the file changed.

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

inc/Engine/Media/Fonts/Clean/Clean.php#L96

Expected type hint "mixed"; found "array" for $old_value