From 378a2fabd6767b353494741cbaafce657fba7d9b Mon Sep 17 00:00:00 2001 From: ADmad Date: Fri, 4 Mar 2022 23:27:23 +0530 Subject: [PATCH] Update CI --- .github/workflows/ci.yml | 2 +- composer.json | 2 +- psalm.xml | 1 - tests/bootstrap.php | 5 +++++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9bd50073..db57c4b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,7 @@ jobs: php-version: '7.4' extensions: mbstring, intl coverage: none - tools: vimeo/psalm:4.15, phpstan:1.2 + tools: vimeo/psalm:4.22, phpstan:1.4 - name: Composer Install run: composer require --dev cakephp/cakephp-codesniffer:^4.1 diff --git a/composer.json b/composer.json index 8ac8a0d4..aa162fcd 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,7 @@ "require-dev": { "friendsofcake/cakephp-test-utilities": "^2.0", "markstory/asset_compress": "^4.0", - "phpunit/phpunit": "~8.5.0" + "phpunit/phpunit": "~8.5.0 || ^9.3" }, "autoload": { "psr-4": { diff --git a/psalm.xml b/psalm.xml index 048f79f3..fa13ae4a 100644 --- a/psalm.xml +++ b/psalm.xml @@ -1,6 +1,5 @@ add(new \CrudView\Plugin()); + +Configure::write('Error.ignoredDeprecationPaths', [ + 'src/TestSuite/Fixture/FixtureInjector.php', +]);