Skip to content

Commit

Permalink
Merge pull request #298 from FriendsOfCake/ci
Browse files Browse the repository at this point in the history
Update CI
  • Loading branch information
ADmad authored Mar 4, 2022
2 parents 4bcb8af + 378a2fa commit 405dc8b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
1 change: 0 additions & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0"?>
<psalm
totallyTyped="false"
resolveFromConfigFile="true"
ignoreInternalFunctionFalseReturn="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Expand Down
5 changes: 5 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
declare(strict_types=1);

use Cake\Core\Configure;
use Cake\Core\Plugin;

/*
Expand All @@ -26,3 +27,7 @@
require $root . '/vendor/cakephp/cakephp/tests/bootstrap.php';

Plugin::getCollection()->add(new \CrudView\Plugin());

Configure::write('Error.ignoredDeprecationPaths', [
'src/TestSuite/Fixture/FixtureInjector.php',
]);

0 comments on commit 405dc8b

Please sign in to comment.