]> source.dussan.org Git - nextcloud-server.git/commit
Minor cleanup: php-cs-fixer, tests, interface consistency 17456/head
authorBrad Rubenstein <brad@wbr.tech>
Wed, 2 Sep 2020 15:16:24 +0000 (17:16 +0200)
committerBrad Rubenstein <brad@wbr.tech>
Wed, 2 Sep 2020 15:54:36 +0000 (17:54 +0200)
commit442af8c5d57797bf255db036c8c04ab48f36c3a1
tree579ba91c0f93a21023477d73fdc9a4f887e1ea41
parentb0687b1182e0c2da8873b2224d299f4c933f29db
Minor cleanup:  php-cs-fixer, tests, interface consistency

IMipPlugin.php Removed blank lines to make php-cs-fixer happy.
Minor cleanup:  bugs found by Psalm static checker
IEMailTemplate: The public interface to addBodyListItem also needs to include the new plainIndent parameter.
IMipPlugin: Fixes an undefined variable for events that do not have DTEND.  Also use explicit string conversion for parameters and properties in several places.

The new email template adds an additional blank line before "button" links in plain text, so the tests were fixed to include that additional blank line.

Signed-off-by: Brad Rubenstein <brad@wbr.tech>
apps/dav/lib/CalDAV/Schedule/IMipPlugin.php
apps/dav/tests/unit/CalDAV/Schedule/IMipPluginTest.php
apps/settings/tests/Mailer/NewUserMailHelperTest.php
lib/private/Mail/EMailTemplate.php
lib/public/Mail/IEMailTemplate.php
tests/data/emails/new-account-email-custom-text-alternative.txt
tests/data/emails/new-account-email-custom.txt
tests/data/emails/new-account-email.txt