bug fixes

This commit is contained in:
Dennis Eichhorn 2023-12-08 21:52:22 +00:00
parent d6e3420b71
commit 2b1be588ea
2 changed files with 12 additions and 13 deletions

View File

@ -27,17 +27,16 @@
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/Sandbox/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/OAuth2/*</exclude-pattern><!-- @todo: temporarily disabled-->
<exclude-pattern>*/Mail/*</exclude-pattern><!-- @todo: temporarily disabled-->
<exclude-pattern>*/Interfaces/*</exclude-pattern><!-- @todo: temporarily disabled-->
<exclude-pattern>*/Workflows/*</exclude-pattern><!-- @todo: temporarily disabled-->
<exclude-pattern>*/Accounting/*</exclude-pattern><!-- @todo: temporarily disabled-->
<exclude-pattern>*/JobScheduling/*</exclude-pattern><!-- @todo: temporarily disabled-->
<exclude-pattern>*/TrueSkill.php</exclude-pattern><!-- @todo: temporarily disabled-->
<exclude-pattern>*/BayesianPersonalizedRanking.php</exclude-pattern><!-- @todo: temporarily disabled-->
<exclude-pattern>*/Parser/Spreadsheet/*</exclude-pattern><!-- @note: false positive due to libs -->
<exclude-pattern>*/Parser/Presentation/*</exclude-pattern><!-- @note: false positive due to libs -->
<exclude-pattern>*/Parser/Document/*</exclude-pattern><!-- @note: false positive due to libs -->
<exclude-pattern>*/Mail/*</exclude-pattern><!-- @todo temporarily disabled-->
<exclude-pattern>*/Interfaces/*</exclude-pattern><!-- @todo temporarily disabled-->
<exclude-pattern>*/Workflows/*</exclude-pattern><!-- @todo temporarily disabled-->
<exclude-pattern>*/Accounting/*</exclude-pattern><!-- @todo temporarily disabled-->
<exclude-pattern>*/JobScheduling/*</exclude-pattern><!-- @todo temporarily disabled-->
<exclude-pattern>*/TrueSkill.php</exclude-pattern><!-- @todo temporarily disabled-->
<exclude-pattern>*/BayesianPersonalizedRanking.php</exclude-pattern><!-- @todo temporarily disabled-->
<exclude-pattern>*/Parser/Spreadsheet/*</exclude-pattern><!-- false positive due to libs -->
<exclude-pattern>*/Parser/Presentation/*</exclude-pattern><!-- false positive due to libs -->
<exclude-pattern>*/Parser/Document/*</exclude-pattern><!-- false positive due to libs -->
<exclude-pattern>*Hooks.php</exclude-pattern>
<exclude-pattern>*Markdown.js</exclude-pattern>
<exclude-pattern>*ObjLoader.js</exclude-pattern>
@ -50,7 +49,7 @@
<arg value="q"/>
<arg name="colors"/>
<arg name="tab-width" value="4"/>
<!-- <rule ref="Generic.Classes.DuplicateClassName"/> @todo: disabled until bug is fixed. currently namespace is ignored which creates a lot of false positives e.g. Installer, Updater, Controller, etc. -->
<!-- <rule ref="Generic.Classes.DuplicateClassName"/> @todo disabled until bug is fixed. currently namespace is ignored which creates a lot of false positives e.g. Installer, Updater, Controller, etc. -->
<rule ref="Generic.CodeAnalysis.EmptyStatement"/>
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall">
<exclude-pattern>*Sort.php</exclude-pattern>

View File

@ -26,7 +26,7 @@ service fail2ban restart
# SSH
# TODO: upload ssh key and disable password login if successful
# upload ssh key and disable password login if successful
# https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-20-04
# copy the public key (e.g. *.pub to the file ~/.ssh/authorized_keys of the respective user)