diff --git a/composer.json b/composer.json index 8be0e37a..809ccfbb 100644 --- a/composer.json +++ b/composer.json @@ -133,9 +133,9 @@ "test:cli:pretty": "GENERATE_COVERAGE=pretty composer test:cli", "infect:ci:base": "infection --threads=max --only-covered --only-covering-test-cases --skip-initial-tests", "infect:ci:unit": "@infect:ci:base --coverage=build/coverage-unit --min-msi=84", - "infect:ci:db": "@infect:ci:base --coverage=build/coverage-db --min-msi=95 --configuration=infection-db.json", - "infect:ci:api": "@infect:ci:base --coverage=build/coverage-api --min-msi=80 --configuration=infection-api.json", - "infect:ci:cli": "@infect:ci:base --coverage=build/coverage-cli --min-msi=80 --configuration=infection-cli.json", + "infect:ci:db": "@infect:ci:base --coverage=build/coverage-db --min-msi=95 --configuration=infection-db.json5", + "infect:ci:api": "@infect:ci:base --coverage=build/coverage-api --min-msi=80 --configuration=infection-api.json5", + "infect:ci:cli": "@infect:ci:base --coverage=build/coverage-cli --min-msi=80 --configuration=infection-cli.json5", "infect:ci": "@parallel infect:ci:unit infect:ci:db infect:ci:api infect:ci:cli", "infect:test": [ "@parallel test:unit:ci test:db:sqlite:ci test:api:ci", diff --git a/infection-api.json b/infection-api.json deleted file mode 100644 index 27453018..00000000 --- a/infection-api.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "source": { - "directories": [ - "module/*/src" - ] - }, - "timeout": 5, - "logs": { - "text": "build/infection-api/infection-log.txt", - "html": "build/infection-api/infection-log.html", - "summary": "build/infection-api/summary-log.txt", - "debug": "build/infection-api/debug-log.txt" - }, - "tmpDir": "build/infection-api/temp", - "phpUnit": { - "configDir": "." - }, - "testFrameworkOptions": "--configuration=phpunit-api.xml", - "mutators": { - "@default": true, - "IdenticalEqual": false, - "NotIdenticalNotEqual": false - } -} diff --git a/infection-api.json5 b/infection-api.json5 new file mode 100644 index 00000000..e2cd08dc --- /dev/null +++ b/infection-api.json5 @@ -0,0 +1,24 @@ +{ + source: { + directories: [ + 'module/*/src' + ] + }, + timeout: 5, + logs: { + text: 'build/infection-api/infection-log.txt', + html: 'build/infection-api/infection-log.html', + summary: 'build/infection-api/summary-log.txt', + debug: 'build/infection-api/debug-log.txt' + }, + tmpDir: 'build/infection-api/temp', + phpUnit: { + configDir: '.' + }, + testFrameworkOptions: '--configuration=phpunit-api.xml', + mutators: { + '@default': true, + IdenticalEqual: false, + NotIdenticalNotEqual: false + } +} diff --git a/infection-cli.json b/infection-cli.json deleted file mode 100644 index 60552d11..00000000 --- a/infection-cli.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "source": { - "directories": [ - "module/*/src" - ] - }, - "timeout": 5, - "logs": { - "text": "build/infection-cli/infection-log.txt", - "html": "build/infection-cli/infection-log.html", - "summary": "build/infection-cli/summary-log.txt", - "debug": "build/infection-cli/debug-log.txt" - }, - "tmpDir": "build/infection-cli/temp", - "phpUnit": { - "configDir": "." - }, - "testFrameworkOptions": "--configuration=phpunit-cli.xml", - "mutators": { - "@default": true, - "IdenticalEqual": false, - "NotIdenticalNotEqual": false - } -} diff --git a/infection-cli.json5 b/infection-cli.json5 new file mode 100644 index 00000000..cc809fba --- /dev/null +++ b/infection-cli.json5 @@ -0,0 +1,24 @@ +{ + source: { + directories: [ + 'module/*/src' + ] + }, + timeout: 5, + logs: { + text: 'build/infection-cli/infection-log.txt', + html: 'build/infection-cli/infection-log.html', + summary: 'build/infection-cli/summary-log.txt', + debug: 'build/infection-cli/debug-log.txt' + }, + tmpDir: 'build/infection-cli/temp', + phpUnit: { + configDir: '.' + }, + testFrameworkOptions: '--configuration=phpunit-cli.xml', + mutators: { + '@default': true, + IdenticalEqual: false, + NotIdenticalNotEqual: false + } +} diff --git a/infection-db.json b/infection-db.json deleted file mode 100644 index d633cb05..00000000 --- a/infection-db.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "source": { - "directories": [ - "module/*/src" - ] - }, - "timeout": 5, - "logs": { - "text": "build/infection-db/infection-log.txt", - "html": "build/infection-db/infection-log.html", - "summary": "build/infection-db/summary-log.txt", - "debug": "build/infection-db/debug-log.txt" - }, - "tmpDir": "build/infection-db/temp", - "phpUnit": { - "configDir": "." - }, - "testFrameworkOptions": "--configuration=phpunit-db.xml", - "mutators": { - "@default": true, - "IdenticalEqual": false, - "NotIdenticalNotEqual": false - } -} diff --git a/infection-db.json5 b/infection-db.json5 new file mode 100644 index 00000000..1f484343 --- /dev/null +++ b/infection-db.json5 @@ -0,0 +1,24 @@ +{ + source: { + directories: [ + 'module/*/src' + ] + }, + timeout: 5, + logs: { + text: 'build/infection-db/infection-log.txt', + html: 'build/infection-db/infection-log.html', + summary: 'build/infection-db/summary-log.txt', + debug: 'build/infection-db/debug-log.txt' + }, + tmpDir: 'build/infection-db/temp', + phpUnit: { + configDir: '.' + }, + testFrameworkOptions: '--configuration=phpunit-db.xml', + mutators: { + '@default': true, + IdenticalEqual: false, + NotIdenticalNotEqual: false + } +} diff --git a/infection.json b/infection.json deleted file mode 100644 index 9a4f7f00..00000000 --- a/infection.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "source": { - "directories": [ - "module/*/src" - ] - }, - "timeout": 5, - "logs": { - "text": "build/infection-unit/infection-log.txt", - "html": "build/infection-unit/infection-log.html", - "summary": "build/infection-unit/summary-log.txt", - "debug": "build/infection-unit/debug-log.txt", - "stryker": { - "report": "develop" - } - }, - "tmpDir": "build/infection-unit/temp", - "phpUnit": { - "configDir": "." - }, - "mutators": { - "@default": true, - "IdenticalEqual": false, - "NotIdenticalNotEqual": false - } -} diff --git a/infection.json5 b/infection.json5 new file mode 100644 index 00000000..050a08e3 --- /dev/null +++ b/infection.json5 @@ -0,0 +1,26 @@ +{ + source: { + directories: [ + 'module/*/src' + ] + }, + timeout: 5, + logs: { + text: 'build/infection-unit/infection-log.txt', + html: 'build/infection-unit/infection-log.html', + summary: 'build/infection-unit/summary-log.txt', + debug: 'build/infection-unit/debug-log.txt', + stryker: { + report: 'develop' + } + }, + tmpDir: 'build/infection-unit/temp', + phpUnit: { + configDir: '.' + }, + mutators: { + '@default': true, + IdenticalEqual: false, + NotIdenticalNotEqual: false + } +}