diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-08-17 00:04:55 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-08-17 18:38:28 +0200 |
commit | 2ec68b1eb90aca54e69defd42bf0a610a09f4f49 (patch) | |
tree | 836365d1736cde0b3a887d6944b794741d5ea16b /psalm.xml | |
parent | 81b4ced07653e8d66004b76db659cbabe06e65b5 (diff) | |
download | nextcloud-server-2ec68b1eb90aca54e69defd42bf0a610a09f4f49.tar.gz nextcloud-server-2ec68b1eb90aca54e69defd42bf0a610a09f4f49.zip |
refactor(Log): Use new in initializer instead of constructor body
PHP 8.1 allows us to now move the `new` into the initializer,
this makes the code a bit nicer (and 3 lines shorter).
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'psalm.xml')
-rw-r--r-- | psalm.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/psalm.xml b/psalm.xml index dece0c3eb88..1d62b7327bc 100644 --- a/psalm.xml +++ b/psalm.xml @@ -8,8 +8,8 @@ resolveFromConfigFile="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://getpsalm.org/schema/config" - xsi:schemaLocation="https://getpsalm.org/schema/config" - errorBaseline="build/psalm-baseline.xml" + xsi:schemaLocation="https://getpsalm.org/schema/config https://getpsalm.org/schema/config" + errorBaseline="build/psalm-baseline.xml" findUnusedBaselineEntry="false" findUnusedCode="false" phpVersion="8.1" |