From 196a3bd1151a98b22762ce14b02414ce3f93cf33 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Jan 2024 04:11:25 +0000 Subject: [PATCH 1/2] [PHP]: Update friendsofphp/php-cs-fixer requirement in /vendor-bin/phpcs Updates the requirements on [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) to permit the latest version. - [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases) - [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md) - [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.45.0...v3.46.0) --- updated-dependencies: - dependency-name: friendsofphp/php-cs-fixer dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- vendor-bin/phpcs/composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor-bin/phpcs/composer.json b/vendor-bin/phpcs/composer.json index cd7619ee..23622ce5 100644 --- a/vendor-bin/phpcs/composer.json +++ b/vendor-bin/phpcs/composer.json @@ -1,6 +1,6 @@ { "require-dev": { - "friendsofphp/php-cs-fixer": "3.45.0", + "friendsofphp/php-cs-fixer": "3.46.0", "serendipity_hq/phpcs-config": "1.2.5" } } From 86ceb970854daf0e70a6b8b89e7cee4b2dd99a0c Mon Sep 17 00:00:00 2001 From: Aerendir Date: Thu, 4 Jan 2024 10:53:42 +0100 Subject: [PATCH 2/2] Apply fixes. --- .phan/config.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.phan/config.php b/.phan/config.php index 12244121..70c28dcb 100644 --- a/.phan/config.php +++ b/.phan/config.php @@ -16,9 +16,12 @@ * default configuration. Command line arguments will be applied * after this file is read. */ + +use Phan\Issue; + return [ 'target_php_version' => '7.4', - 'minimum_severity' => \Phan\Issue::SEVERITY_LOW, + 'minimum_severity' => Issue::SEVERITY_LOW, // A list of directories that should be parsed for class and // method information. After excluding the directories