File tree 9 files changed +76
-3
lines changed
9 files changed +76
-3
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ pull_request :
3
+ paths-ignore :
4
+ - ' docs/**'
5
+ - ' README.md'
6
+ - ' CHANGELOG.md'
7
+ - ' .gitignore'
8
+ - ' .gitattributes'
9
+ - ' psalm.xml'
10
+
11
+ push :
12
+ paths-ignore :
13
+ - ' docs/**'
14
+ - ' README.md'
15
+ - ' CHANGELOG.md'
16
+ - ' .gitignore'
17
+ - ' .gitattributes'
18
+ - ' psalm.xml'
19
+
20
+ name : mutation test
21
+
22
+ jobs :
23
+ mutation :
24
+ uses : php-forge/actions/.github/workflows/roave-infection.yml@main
25
+ secrets :
26
+ AUTH_TOKEN : ${{ secrets.AUTH_TOKEN }}
27
+ STRYKER_DASHBOARD_API_KEY : ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
28
+ with :
29
+ os : >-
30
+ ['ubuntu-latest']
31
+ php : >-
32
+ ['8.1']
Original file line number Diff line number Diff line change 19
19
<a href="https://codecov.io/gh/yii2-extensions/asset-bootstrap5" target="_blank">
20
20
<img src="https://codecov.io/gh/yii2-extensions/asset-bootstrap5/branch/main/graph/badge.svg?token=MF0XUGVLYC" alt="Codecov">
21
21
</a>
22
+ <a href="https://dashboard.stryker-mutator.io/reports/github.com/yii2-extensions/asset-bootstrap5/main" target="_blank">
23
+ <img src="https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fyii2-extensions%2Fasset-bootstrap5%2Fmain" alt="Infection">
24
+ </a>
22
25
<a href="https://github.com/yii2-extensions/asset-bootstrap5/actions/workflows/static.yml" target="_blank">
23
26
<img src="https://github.com/yii2-extensions/gii/actions/workflows/static.yml/badge.svg" alt="PHPStan">
24
27
</a>
25
28
<a href="https://github.com/yii2-extensions/asset-bootstrap5/actions/workflows/static.yml" target="_blank">
26
- <img src="https://img.shields.io/badge/PHPStan%20level-5 -blue" alt="PHPStan level">
29
+ <img src="https://img.shields.io/badge/PHPStan%20level-7 -blue" alt="PHPStan level">
27
30
</a>
28
31
<a href="https://github.styleci.io/repos/719651888?branch=main" target="_blank">
29
32
<img src="https://github.styleci.io/repos/719651888/shield?branch=main" alt="Code style">
Original file line number Diff line number Diff line change 21
21
"maglnet/composer-require-checker" : " ^4.6" ,
22
22
"php-forge/support" : " dev-main" ,
23
23
"phpunit/phpunit" : " ^10.2" ,
24
+ "roave/infection-static-analysis-plugin" : " ^1.32" ,
24
25
"yii2-extensions/phpstan" : " dev-main"
25
26
},
26
27
"autoload" : {
53
54
"allow-plugins" : {
54
55
"yiisoft/yii2-composer" : true ,
55
56
"composer/installers" : true ,
56
- "oomphinc/composer-installers-extender" : true
57
+ "oomphinc/composer-installers-extender" : true ,
58
+ "infection/extension-installer" : true
57
59
}
58
60
},
59
61
"scripts" : {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ parameters:
7
7
dynamicConstantNames :
8
8
- YII_ENV
9
9
10
- level : 5
10
+ level : 7
11
11
12
12
paths :
13
13
- src
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <psalm
3
+ errorLevel =" 1"
4
+ resolveFromConfigFile =" true"
5
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
6
+ xmlns =" https://getpsalm.org/schema/config"
7
+ xsi : schemaLocation =" https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
8
+ findUnusedBaselineEntry =" true"
9
+ findUnusedCode =" false"
10
+ >
11
+ <projectFiles >
12
+ <directory name =" src" />
13
+ <ignoreFiles >
14
+ <directory name =" vendor" />
15
+ </ignoreFiles >
16
+ </projectFiles >
17
+ <issueHandlers >
18
+ <MixedAssignment errorLevel =" suppress" />
19
+ </issueHandlers >
20
+ </psalm >
Original file line number Diff line number Diff line change @@ -13,13 +13,17 @@ final class BootstrapCdnAsset extends AssetBundle
13
13
{
14
14
/**
15
15
* @inheritDoc
16
+ *
17
+ * @phpstan-var array<array-key, mixed>
16
18
*/
17
19
public $ css = [
18
20
'https://cdn.jsdelivr.net/npm/[email protected] /dist/css/bootstrap.min.css ' ,
19
21
];
20
22
21
23
/**
22
24
* @inheritDoc
25
+ *
26
+ * @phpstan-var array<array-key, mixed>
23
27
*/
24
28
public $ cssOptions = [
25
29
'crossorigin ' => 'anonymous ' ,
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ final class BootstrapPluginAsset extends AssetBundle
18
18
19
19
/**
20
20
* @inheritDoc
21
+ *
22
+ * @phpstan-var array<array-key, mixed>
21
23
*/
22
24
public $ depends = [
23
25
BootstrapAsset::class,
Original file line number Diff line number Diff line change @@ -13,13 +13,17 @@ final class BootstrapPluginCdnAsset extends AssetBundle
13
13
{
14
14
/**
15
15
* @inheritDoc
16
+ *
17
+ * @phpstan-var array<array-key, mixed>
16
18
*/
17
19
public $ js = [
18
20
'https://cdn.jsdelivr.net/npm/[email protected] /dist/js/bootstrap.bundle.min.js ' ,
19
21
];
20
22
21
23
/**
22
24
* @inheritDoc
25
+ *
26
+ * @phpstan-var array<array-key, mixed>
23
27
*/
24
28
public $ jsOptions = [
25
29
'crossorigin ' => 'anonymous ' ,
@@ -28,6 +32,8 @@ final class BootstrapPluginCdnAsset extends AssetBundle
28
32
29
33
/**
30
34
* @inheritDoc
35
+ *
36
+ * @phpstan-var array<array-key, mixed>
31
37
*/
32
38
public $ depends = [
33
39
BootstrapCdnAsset::class,
Original file line number Diff line number Diff line change @@ -13,13 +13,17 @@ final class PopperCdnAsset extends AssetBundle
13
13
{
14
14
/**
15
15
* @inheritDoc
16
+ *
17
+ * @phpstan-var array<array-key, mixed>
16
18
*/
17
19
public $ js = [
18
20
'https://cdn.jsdelivr.net/npm/@popperjs/[email protected] /dist/umd/popper.min.js ' ,
19
21
];
20
22
21
23
/**
22
24
* @inheritDoc
25
+ *
26
+ * @phpstan-var array<array-key, mixed>
23
27
*/
24
28
public $ jsOptions = [
25
29
'crossorigin ' => 'anonymous ' ,
You can’t perform that action at this time.
0 commit comments