dolibarr/htdocs/theme/md
Jam Balaya 6f0bc87209
Qual: Fix PHPStan always true/false errors breaking develop CI (#39114)
The full PHPStan analysis that runs on push to develop (and *.0 branches)
reported 5 new 'always true/false' errors, not caught by the per-PR diff
analysis and not yet in the baseline:

- htdocs/document.php: is_numeric() on the int-cast $entity is always true;
  the redundant check is removed.
- htdocs/salaries/stats/index.php: $mode is hardcoded to 'statistics', so the
  three view-switch button state comparisons are constant; replaced with their
  literal results (1/1/2) and removed the now-unused $mode.
- htdocs/theme/md/style.css.php: method_exists($menumanager, 'showmenu') is
  always true since $menumanager is a MenuManager; the redundant check is removed.

Behaviour is unchanged.
2026-07-13 16:11:51 +02:00
..
ckeditor
img
tinymce Better compatibility tinymce / ckeditor (position and size) 2026-04-25 12:03:27 +02:00
tpl Clean files 2026-01-07 19:01:54 +01:00
.gitignore
AUTHOR
badges.inc.php CSS 2026-03-20 12:29:00 +01:00
btn.inc.php Debug v24 2026-07-01 14:24:54 +02:00
dropdown.inc.php CSS 2026-06-30 00:36:56 +02:00
flags-sprite.inc.php Qual: Fix phan notices (theme) 2025-02-19 13:28:35 +01:00
info-box.inc.php Debug CSS 2026-06-28 17:24:02 +02:00
main_menu_fa_icons.inc.php fix colored icon setting (#34512) 2025-06-23 18:36:12 +02:00
progress.inc.php Qual: Fix phan notices (theme) 2025-02-19 13:28:35 +01:00
search-input.inc.css
style.css.php Qual: Fix PHPStan always true/false errors breaking develop CI (#39114) 2026-07-13 16:11:51 +02:00
theme_vars.inc.php css 2026-04-09 13:02:56 +02:00
thumb.png
tooltips.inc.css WIP : UIUX : Add tooltip doc and tooltip css alternatives needed for some cases in full js interface context (#37556) 2026-03-20 15:45:51 +01:00