Skip to content

Commit 9eff8a2

Browse files
committed
Ignore deprecation error
1 parent 505bd43 commit 9eff8a2

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

composer.json

+5
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,10 @@
5252
"TestApp\\": "tests/test_app/TestApp",
5353
"Cake\\Test\\Fixture\\": "vendor/cakephp/cakephp/tests/Fixture"
5454
}
55+
},
56+
"config": {
57+
"allow-plugins": {
58+
"dealerdirect/phpcodesniffer-composer-installer": true
59+
}
5560
}
5661
}

tests/bootstrap.php

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?php
22
declare(strict_types=1);
33

4+
use Cake\Core\Configure;
5+
46
/**
57
* Test suite bootstrap.
68
*
@@ -30,3 +32,7 @@
3032
}
3133

3234
require $root . '/vendor/cakephp/cakephp/tests/bootstrap.php';
35+
36+
Configure::write('Error.ignoredDeprecationPaths', [
37+
'src/TestSuite/Fixture/FixtureInjector.php',
38+
]);

0 commit comments

Comments
 (0)