From 60e47cf2534747d3eed5fc1f72afb31fbef6e072 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Aug 2021 23:49:40 +0200 Subject: [PATCH] chore: Bump psalm/plugin-laravel from 1.4.7 to 1.5.1 (#5406) --- app/Models/Instance/SpecialDate.php | 2 +- composer.lock | 217 ++++++++++++++-------------- phpstan.neon | 2 + psalm.xml | 2 + 4 files changed, 115 insertions(+), 108 deletions(-) diff --git a/app/Models/Instance/SpecialDate.php b/app/Models/Instance/SpecialDate.php index d4bc6326c2d..44f739f3560 100644 --- a/app/Models/Instance/SpecialDate.php +++ b/app/Models/Instance/SpecialDate.php @@ -2,8 +2,8 @@ namespace App\Models\Instance; -use Carbon\Carbon; use App\Helpers\DateHelper; +use Illuminate\Support\Carbon; use App\Models\Account\Account; use App\Models\Contact\Contact; use Illuminate\Database\Eloquent\Model; diff --git a/composer.lock b/composer.lock index 13095425cd0..8de3572e421 100644 --- a/composer.lock +++ b/composer.lock @@ -924,24 +924,23 @@ }, { "name": "doctrine/cache", - "version": "1.11.0", + "version": "2.1.1", "source": { "type": "git", "url": "https://github.com/doctrine/cache.git", - "reference": "a9c1b59eba5a08ca2770a76eddb88922f504e8e0" + "reference": "331b4d5dbaeab3827976273e9356b3b453c300ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/a9c1b59eba5a08ca2770a76eddb88922f504e8e0", - "reference": "a9c1b59eba5a08ca2770a76eddb88922f504e8e0", + "url": "https://api.github.com/repos/doctrine/cache/zipball/331b4d5dbaeab3827976273e9356b3b453c300ce", + "reference": "331b4d5dbaeab3827976273e9356b3b453c300ce", "shasum": "" }, "require": { "php": "~7.1 || ^8.0" }, "conflict": { - "doctrine/common": ">2.2,<2.4", - "psr/cache": ">=3" + "doctrine/common": ">2.2,<2.4" }, "require-dev": { "alcaeus/mongo-php-adapter": "^1.1", @@ -950,8 +949,9 @@ "mongodb/mongodb": "^1.1", "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", "predis/predis": "~1.0", - "psr/cache": "^1.0 || ^2.0", - "symfony/cache": "^4.4 || ^5.2" + "psr/cache": "^1.0 || ^2.0 || ^3.0", + "symfony/cache": "^4.4 || ^5.2 || ^6.0@dev", + "symfony/var-exporter": "^4.4 || ^5.2 || ^6.0@dev" }, "suggest": { "alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver" @@ -1003,7 +1003,7 @@ ], "support": { "issues": "https://github.com/doctrine/cache/issues", - "source": "https://github.com/doctrine/cache/tree/1.11.0" + "source": "https://github.com/doctrine/cache/tree/2.1.1" }, "funding": [ { @@ -1019,38 +1019,39 @@ "type": "tidelift" } ], - "time": "2021-04-13T14:46:17+00:00" + "time": "2021-07-17T14:49:29+00:00" }, { "name": "doctrine/dbal", - "version": "3.1.0", + "version": "3.1.1", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "5ba62e7e40df119424866064faf2cef66cb5232a" + "reference": "8e0fde2b90e3f61361013d1e928621beeea07bc0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/5ba62e7e40df119424866064faf2cef66cb5232a", - "reference": "5ba62e7e40df119424866064faf2cef66cb5232a", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/8e0fde2b90e3f61361013d1e928621beeea07bc0", + "reference": "8e0fde2b90e3f61361013d1e928621beeea07bc0", "shasum": "" }, "require": { "composer/package-versions-deprecated": "^1.11.99", - "doctrine/cache": "^1.0", + "doctrine/cache": "^1.0|^2.0", "doctrine/deprecations": "^0.5.3", "doctrine/event-manager": "^1.0", "php": "^7.3 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "8.2.0", + "doctrine/coding-standard": "9.0.0", "jetbrains/phpstorm-stubs": "2020.2", "phpstan/phpstan": "0.12.81", "phpstan/phpstan-strict-rules": "^0.12.2", - "phpunit/phpunit": "9.5.0", + "phpunit/phpunit": "9.5.5", "psalm/plugin-phpunit": "0.13.0", "squizlabs/php_codesniffer": "3.6.0", - "symfony/console": "^2.0.5|^3.0|^4.0|^5.0", + "symfony/cache": "^5.2|^6.0", + "symfony/console": "^2.0.5|^3.0|^4.0|^5.0|^6.0", "vimeo/psalm": "4.6.4" }, "suggest": { @@ -1111,7 +1112,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.1.0" + "source": "https://github.com/doctrine/dbal/tree/3.1.1" }, "funding": [ { @@ -1127,7 +1128,7 @@ "type": "tidelift" } ], - "time": "2021-04-19T17:51:23+00:00" + "time": "2021-06-19T17:59:55+00:00" }, { "name": "doctrine/deprecations", @@ -13847,16 +13848,16 @@ }, { "name": "fakerphp/faker", - "version": "v1.14.1", + "version": "v1.15.0", "source": { "type": "git", "url": "https://github.com/FakerPHP/Faker.git", - "reference": "ed22aee8d17c7b396f74a58b1e7fefa4f90d5ef1" + "reference": "89c6201c74db25fa759ff16e78a4d8f32547770e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/ed22aee8d17c7b396f74a58b1e7fefa4f90d5ef1", - "reference": "ed22aee8d17c7b396f74a58b1e7fefa4f90d5ef1", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/89c6201c74db25fa759ff16e78a4d8f32547770e", + "reference": "89c6201c74db25fa759ff16e78a4d8f32547770e", "shasum": "" }, "require": { @@ -13906,9 +13907,9 @@ ], "support": { "issues": "https://github.com/FakerPHP/Faker/issues", - "source": "https://github.com/FakerPHP/Faker/tree/v.1.14.1" + "source": "https://github.com/FakerPHP/Faker/tree/v1.15.0" }, - "time": "2021-03-30T06:27:33+00:00" + "time": "2021-07-06T20:39:40+00:00" }, { "name": "felixfbecker/advanced-json-rpc", @@ -15039,25 +15040,25 @@ }, { "name": "orchestra/testbench", - "version": "v6.17.0", + "version": "v6.19.0", "source": { "type": "git", "url": "https://github.com/orchestral/testbench.git", - "reference": "1782d7d54312ebbf3bf79d66e4ac46e7dee78e0f" + "reference": "4e3ee38295d793f0d4864203d5e1f0b952635d1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench/zipball/1782d7d54312ebbf3bf79d66e4ac46e7dee78e0f", - "reference": "1782d7d54312ebbf3bf79d66e4ac46e7dee78e0f", + "url": "https://api.github.com/repos/orchestral/testbench/zipball/4e3ee38295d793f0d4864203d5e1f0b952635d1b", + "reference": "4e3ee38295d793f0d4864203d5e1f0b952635d1b", "shasum": "" }, "require": { - "laravel/framework": "^8.25", + "laravel/framework": "^8.26", "mockery/mockery": "^1.4.2", - "orchestra/testbench-core": "^6.21", + "orchestra/testbench-core": "^6.23", "php": "^7.3 || ^8.0", "phpunit/phpunit": "^8.4 || ^9.3.3", - "spatie/laravel-ray": "^1.17.1" + "spatie/laravel-ray": "^1.18" }, "type": "library", "extra": { @@ -15088,7 +15089,7 @@ ], "support": { "issues": "https://github.com/orchestral/testbench/issues", - "source": "https://github.com/orchestral/testbench/tree/v6.17.0" + "source": "https://github.com/orchestral/testbench/tree/v6.19.0" }, "funding": [ { @@ -15100,20 +15101,20 @@ "type": "liberapay" } ], - "time": "2021-04-06T12:07:42+00:00" + "time": "2021-07-01T02:50:07+00:00" }, { "name": "orchestra/testbench-core", - "version": "v6.21.1", + "version": "v6.23.1", "source": { "type": "git", "url": "https://github.com/orchestral/testbench-core.git", - "reference": "a4e0660f1cf85760853ae105f937632888b114c6" + "reference": "239bc0d99ae44f76c024e74ced0fc5aabfa00be3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/a4e0660f1cf85760853ae105f937632888b114c6", - "reference": "a4e0660f1cf85760853ae105f937632888b114c6", + "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/239bc0d99ae44f76c024e74ced0fc5aabfa00be3", + "reference": "239bc0d99ae44f76c024e74ced0fc5aabfa00be3", "shasum": "" }, "require": { @@ -15187,7 +15188,7 @@ "type": "liberapay" } ], - "time": "2021-04-21T02:44:17+00:00" + "time": "2021-07-14T02:34:48+00:00" }, { "name": "phar-io/manifest", @@ -16140,29 +16141,33 @@ }, { "name": "psalm/plugin-laravel", - "version": "v1.4.7", + "version": "v1.5.1", "source": { "type": "git", "url": "https://github.com/psalm/psalm-plugin-laravel.git", - "reference": "11f6fd4bc5703ff69a688429150a9569ab100505" + "reference": "183c230d330ce8b65fcd7f571083bfebc4f92d6d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/psalm/psalm-plugin-laravel/zipball/11f6fd4bc5703ff69a688429150a9569ab100505", - "reference": "11f6fd4bc5703ff69a688429150a9569ab100505", + "url": "https://api.github.com/repos/psalm/psalm-plugin-laravel/zipball/183c230d330ce8b65fcd7f571083bfebc4f92d6d", + "reference": "183c230d330ce8b65fcd7f571083bfebc4f92d6d", "shasum": "" }, "require": { "barryvdh/laravel-ide-helper": ">=2.8.0 <2.9.2", "ext-simplexml": "*", - "illuminate/container": "^6.0 || ^7.0 || ^8.0", - "illuminate/contracts": "^6.0 || ^7.0 || ^8.0", - "illuminate/database": "^6.0 || ^7.0 || ^8.0", - "illuminate/http": "^6.0 || ^7.0 || ^8.0", - "illuminate/support": "^6.0 || ^7.0 || ^8.0", + "illuminate/config": "^6.0 || ^8.0", + "illuminate/container": "^6.0 || ^8.0", + "illuminate/contracts": "^6.0 || ^8.0", + "illuminate/database": "^6.0 || ^8.0", + "illuminate/events": "^6.0 || ^8.0", + "illuminate/http": "^6.0 || ^8.0", + "illuminate/routing": "^6.0 || ^8.0", + "illuminate/support": "^6.0 || ^8.0", + "illuminate/view": "^6.0 || ^8.0", "orchestra/testbench": "^3.8 || ^4.0 || ^5.0 || ^6.0", "php": "^7.3|^8", - "vimeo/psalm": "^4.0" + "vimeo/psalm": "^4.8.1" }, "require-dev": { "codeception/codeception": "^4.1.6", @@ -16199,9 +16204,9 @@ "description": "A Laravel plugin for Psalm", "support": { "issues": "https://github.com/psalm/psalm-plugin-laravel/issues", - "source": "https://github.com/psalm/psalm-plugin-laravel/tree/v1.4.7" + "source": "https://github.com/psalm/psalm-plugin-laravel/tree/v1.5.1" }, - "time": "2021-06-10T05:24:57+00:00" + "time": "2021-07-19T18:16:35+00:00" }, { "name": "psy/psysh", @@ -17761,16 +17766,16 @@ }, { "name": "spatie/backtrace", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/spatie/backtrace.git", - "reference": "3440fe023a7d5b4497090fb6b2dcdc747daf7873" + "reference": "9b4df807fb65aaa8006dcd7a7ccdef8fb4bb002e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/backtrace/zipball/3440fe023a7d5b4497090fb6b2dcdc747daf7873", - "reference": "3440fe023a7d5b4497090fb6b2dcdc747daf7873", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/9b4df807fb65aaa8006dcd7a7ccdef8fb4bb002e", + "reference": "9b4df807fb65aaa8006dcd7a7ccdef8fb4bb002e", "shasum": "" }, "require": { @@ -17807,7 +17812,7 @@ ], "support": { "issues": "https://github.com/spatie/backtrace/issues", - "source": "https://github.com/spatie/backtrace/tree/1.1.0" + "source": "https://github.com/spatie/backtrace/tree/1.2.0" }, "funding": [ { @@ -17819,36 +17824,37 @@ "type": "other" } ], - "time": "2021-01-29T09:20:43+00:00" + "time": "2021-05-19T12:49:10+00:00" }, { "name": "spatie/laravel-ray", - "version": "1.17.4", + "version": "1.24.2", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ray.git", - "reference": "e48be16da1952ffca868c77f509a767d3fc632bc" + "reference": "375881d1ec77a367cae75014a282e688666f51bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/e48be16da1952ffca868c77f509a767d3fc632bc", - "reference": "e48be16da1952ffca868c77f509a767d3fc632bc", + "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/375881d1ec77a367cae75014a282e688666f51bc", + "reference": "375881d1ec77a367cae75014a282e688666f51bc", "shasum": "" }, "require": { "ext-json": "*", - "illuminate/contracts": "^7.20|^8.0", - "illuminate/database": "^7.20|^8.13", - "illuminate/queue": "^7.20|^8.13", - "illuminate/support": "^7.20|^8.13", + "illuminate/contracts": "^7.20|^8.19", + "illuminate/database": "^7.20|^8.19", + "illuminate/queue": "^7.20|^8.19", + "illuminate/support": "^7.20|^8.19", "php": "^7.3|^8.0", "spatie/backtrace": "^1.0", - "spatie/ray": "^1.21.2", + "spatie/ray": "^1.27.1", "symfony/stopwatch": "4.2|^5.1", "zbateson/mail-mime-parser": "^1.3.1" }, "require-dev": { "facade/ignition": "^2.5", + "guzzlehttp/guzzle": "^7.3", "laravel/framework": "^7.20|^8.19", "orchestra/testbench-core": "^5.0|^6.0", "phpunit/phpunit": "^9.3", @@ -17887,7 +17893,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-ray/issues", - "source": "https://github.com/spatie/laravel-ray/tree/1.17.4" + "source": "https://github.com/spatie/laravel-ray/tree/1.24.2" }, "funding": [ { @@ -17899,20 +17905,20 @@ "type": "other" } ], - "time": "2021-04-30T08:20:24+00:00" + "time": "2021-07-23T16:50:57+00:00" }, { "name": "spatie/ray", - "version": "1.22.1", + "version": "1.29.0", "source": { "type": "git", "url": "https://github.com/spatie/ray.git", - "reference": "e82408b78b1391eaee6c962b13c37e80080dc15a" + "reference": "585934a55b2642ca56c00043f422b888b7235dbe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/ray/zipball/e82408b78b1391eaee6c962b13c37e80080dc15a", - "reference": "e82408b78b1391eaee6c962b13c37e80080dc15a", + "url": "https://api.github.com/repos/spatie/ray/zipball/585934a55b2642ca56c00043f422b888b7235dbe", + "reference": "585934a55b2642ca56c00043f422b888b7235dbe", "shasum": "" }, "require": { @@ -17928,8 +17934,8 @@ "require-dev": { "illuminate/support": "6.x|^8.18", "nesbot/carbon": "^2.43", + "phpstan/phpstan": "^0.12.92", "phpunit/phpunit": "^9.5", - "rector/rector": "^0.9.16", "spatie/phpunit-snapshot-assertions": "^4.2", "spatie/test-time": "^1.2" }, @@ -17962,7 +17968,7 @@ ], "support": { "issues": "https://github.com/spatie/ray/issues", - "source": "https://github.com/spatie/ray/tree/1.22.1" + "source": "https://github.com/spatie/ray/tree/1.29.0" }, "funding": [ { @@ -17974,7 +17980,7 @@ "type": "other" } ], - "time": "2021-04-28T09:47:47+00:00" + "time": "2021-08-02T07:54:28+00:00" }, { "name": "symfony/debug", @@ -18109,16 +18115,16 @@ }, { "name": "symfony/stopwatch", - "version": "v5.2.4", + "version": "v5.3.4", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "b12274acfab9d9850c52583d136a24398cdf1a0c" + "reference": "b24c6a92c6db316fee69e38c80591e080e41536c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/b12274acfab9d9850c52583d136a24398cdf1a0c", - "reference": "b12274acfab9d9850c52583d136a24398cdf1a0c", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/b24c6a92c6db316fee69e38c80591e080e41536c", + "reference": "b24c6a92c6db316fee69e38c80591e080e41536c", "shasum": "" }, "require": { @@ -18151,7 +18157,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v5.2.4" + "source": "https://github.com/symfony/stopwatch/tree/v5.3.4" }, "funding": [ { @@ -18167,20 +18173,20 @@ "type": "tidelift" } ], - "time": "2021-01-27T10:15:41+00:00" + "time": "2021-07-10T08:58:57+00:00" }, { "name": "symfony/yaml", - "version": "v5.2.5", + "version": "v5.3.6", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "298a08ddda623485208506fcee08817807a251dd" + "reference": "4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/298a08ddda623485208506fcee08817807a251dd", - "reference": "298a08ddda623485208506fcee08817807a251dd", + "url": "https://api.github.com/repos/symfony/yaml/zipball/4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7", + "reference": "4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7", "shasum": "" }, "require": { @@ -18226,7 +18232,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.2.5" + "source": "https://github.com/symfony/yaml/tree/v5.3.6" }, "funding": [ { @@ -18242,7 +18248,7 @@ "type": "tidelift" } ], - "time": "2021-03-06T07:59:01+00:00" + "time": "2021-07-29T06:20:01+00:00" }, { "name": "thecodingmachine/phpstan-safe-rule", @@ -18507,30 +18513,27 @@ }, { "name": "zbateson/mail-mime-parser", - "version": "1.3.1", + "version": "1.3.2", "source": { "type": "git", "url": "https://github.com/zbateson/mail-mime-parser.git", - "reference": "706964d904798b8c22d63f62f0ec5f5bc84e30d9" + "reference": "8eb590750772849189c7fa30ed52bcdcd2c9d1ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zbateson/mail-mime-parser/zipball/706964d904798b8c22d63f62f0ec5f5bc84e30d9", - "reference": "706964d904798b8c22d63f62f0ec5f5bc84e30d9", + "url": "https://api.github.com/repos/zbateson/mail-mime-parser/zipball/8eb590750772849189c7fa30ed52bcdcd2c9d1ef", + "reference": "8eb590750772849189c7fa30ed52bcdcd2c9d1ef", "shasum": "" }, "require": { - "guzzlehttp/psr7": "^1.0", + "guzzlehttp/psr7": "^1.7.0|^2.0", "php": ">=5.4", "zbateson/mb-wrapper": "^1.0.1", - "zbateson/stream-decorators": "^1.0.4" + "zbateson/stream-decorators": "^1.0.6" }, "require-dev": { - "jms/serializer": "^1.1", "mikey179/vfsstream": "^1.6.0", - "phing/phing": "^2.15.0", - "phpdocumentor/phpdocumentor": "^2.9.0", - "phpunit/phpunit": "^4.8 || ^5.7 || ^6.5 || ^7.5" + "sanmai/phpunit-legacy-adapter": "^6.3 || ^8" }, "suggest": { "ext-iconv": "For best support/performance", @@ -18578,7 +18581,7 @@ "type": "github" } ], - "time": "2020-12-02T21:55:45+00:00" + "time": "2021-07-08T19:06:28+00:00" }, { "name": "zbateson/mb-wrapper", @@ -18649,25 +18652,25 @@ }, { "name": "zbateson/stream-decorators", - "version": "1.0.4", + "version": "1.0.6", "source": { "type": "git", "url": "https://github.com/zbateson/stream-decorators.git", - "reference": "6f54738dfecc65e1d5bfb855035836748083a6dd" + "reference": "3403c4323bd1cd15fe54348b031b26b064c706af" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zbateson/stream-decorators/zipball/6f54738dfecc65e1d5bfb855035836748083a6dd", - "reference": "6f54738dfecc65e1d5bfb855035836748083a6dd", + "url": "https://api.github.com/repos/zbateson/stream-decorators/zipball/3403c4323bd1cd15fe54348b031b26b064c706af", + "reference": "3403c4323bd1cd15fe54348b031b26b064c706af", "shasum": "" }, "require": { - "guzzlehttp/psr7": "^1.0.0", + "guzzlehttp/psr7": "^1.7.0|^2.0", "php": ">=5.4", "zbateson/mb-wrapper": "^1.0.0" }, "require-dev": { - "phpunit/phpunit": "^4.8 || ^5.7 || ^6.5 || ^7.5" + "sanmai/phpunit-legacy-adapter": "^6.3 || ^8" }, "type": "library", "autoload": { @@ -18698,7 +18701,7 @@ ], "support": { "issues": "https://github.com/zbateson/stream-decorators/issues", - "source": "https://github.com/zbateson/stream-decorators/tree/master" + "source": "https://github.com/zbateson/stream-decorators/tree/1.0.6" }, "funding": [ { @@ -18706,7 +18709,7 @@ "type": "github" } ], - "time": "2020-08-10T18:59:43+00:00" + "time": "2021-07-08T19:01:59+00:00" } ], "aliases": [], diff --git a/phpstan.neon b/phpstan.neon index bbca6453575..b1247ea318c 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -36,3 +36,5 @@ parameters: path: */Http/Controllers/Api/ApiContactController.php - message: '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder::sortedBy\(\)\.#' path: */Traits/Searchable.php + - message: '#Access to an undefined property Faker\\Generator::\$state\.#' + path: */Console/Commands/SetupTest.php diff --git a/psalm.xml b/psalm.xml index c5e5ee6df3b..bfc24dde9ba 100644 --- a/psalm.xml +++ b/psalm.xml @@ -126,7 +126,9 @@ <UndefinedMagicMethod> <errorLevel type="suppress"> <file name="app/Traits/Searchable.php" /> + <file name="app/Http/Controllers/SettingsController.php" /> <file name="app/Http/Controllers/Api/ApiContactController.php" /> + <file name="app/Http/Controllers/Contacts/RelationshipsController.php" /> </errorLevel> </UndefinedMagicMethod>