Bug#1003694: gosa: PHP deprecation warnings

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Thu Jan 13 19:47:55 GMT 2022


Package: src:gosa
Severity: important
Version: 2.7.4+reloaded3-16

There are some PHP deprecations warnings appearing on screen when  
using GOsa on Debian bullseye against PHP 7.4. Probably much worse  
with upcoming PHP 8.x:

```

Deprecated: Array and string offset access syntax with curly braces is  
deprecated in  
/usr/share/gosa/include/utils/excel/class.writeexcel_formula.inc.php  
on line 156

Deprecated: Array and string offset access syntax with curly braces is  
deprecated in  
/usr/share/gosa/include/utils/excel/class.writeexcel_formula.inc.php  
on line 1013

Deprecated: Array and string offset access syntax with curly braces is  
deprecated in  
/usr/share/gosa/include/utils/excel/class.writeexcel_formula.inc.php  
on line 1035

Deprecated: Array and string offset access syntax with curly braces is  
deprecated in  
/usr/share/gosa/include/utils/excel/class.writeexcel_formula.inc.php  
on line 1039

Deprecated: Array and string offset access syntax with curly braces is  
deprecated in  
/usr/share/gosa/include/utils/excel/class.writeexcel_formula.inc.php  
on line 1045

Deprecated: Array and string offset access syntax with curly braces is  
deprecated in  
/usr/share/gosa/include/utils/excel/class.writeexcel_formula.inc.php  
on line 1047

Deprecated: Array and string offset access syntax with curly braces is  
deprecated in  
/usr/share/gosa/include/utils/excel/class.writeexcel_formula.inc.php  
on line 1062

Deprecated: Array and string offset access syntax with curly braces is  
deprecated in  
/usr/share/gosa/include/utils/excel/class.writeexcel_formula.inc.php  
on line 1194

Warning: "continue" targeting switch is equivalent to "break". Did you  
mean to use "continue 2"? in  
/usr/share/gosa/plugins/admin/systems/services/shares/class_servNfs.inc on  
line 130

Warning: "continue" targeting switch is equivalent to "break". Did you  
mean to use "continue 2"? in  
/usr/share/gosa/plugins/admin/systems/services/shares/class_goShareServer.inc  
on line 383

```

I will collect more of these an propose a fix for them...

Mike
-- 

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: Digitale PGP-Signatur
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-pkg-team/attachments/20220113/275630f5/attachment.sig>


More information about the Debian-edu-pkg-team mailing list