-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes about platform style theme - refs BT#21621 #5614
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5614 +/- ##
============================================
- Coverage 39.07% 39.06% -0.02%
- Complexity 10989 11024 +35
============================================
Files 867 872 +5
Lines 45411 45477 +66
============================================
+ Hits 17746 17767 +21
- Misses 27665 27710 +45 ☔ View full report in Codecov by Sentry. |
*/ | ||
function api_get_visual_theme() | ||
function api_get_visual_theme(): string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider putting global function "api_get_visual_theme" in a static class
b671ba8
to
3984206
Compare
return $this->colorThemes; | ||
} | ||
|
||
public function addColorTheme(AccessUrlRelColorTheme $colorTheme): static |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scope keyword "static" must be followed by a single space
return $this; | ||
} | ||
|
||
public function removeColorTheme(AccessUrlRelColorTheme $colorTheme): static |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scope keyword "static" must be followed by a single space
3a57e11
to
f0d9e9a
Compare
|
||
/* For licensing terms, see /license.txt */ | ||
|
||
declare(strict_types=1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a single space around assignment operators
e346837
to
d186d97
Compare
…eme and migrating the legacy themes - refs BT#21621
…theme/* to var/themes - refs BT#21621
Code Climate has analyzed commit 54e6796 and detected 191 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
@@ -9,30 +9,30 @@ | |||
<table border="0" cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td colspan="3"> | |||
<img src="{{ url('index') ~ 'build/css/themes/' ~ stylesheet_name ~ '/images/cuadro.png' }}"> | |||
<img src="{{ theme_asset('images/cuadre.png') }}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure where cuadre.png or cuadro.png come from. I cannot see them as files in a default installation... (not even in 1.11.x)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are the files used for the general certificate from OFAJ (which is custom as indicated in the name of the template).
No description provided.