From 8ff39ed515982534e85d61498544b6e03ff2d304 Mon Sep 17 00:00:00 2001 From: core23 Date: Sat, 8 Feb 2025 09:52:55 +0100 Subject: [PATCH 1/2] Remove infection testing --- .gitattributes | 1 - Makefile | 6 ------ infection.json | 14 -------------- vendor-bin/tools/composer.lock | 2 +- 4 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 infection.json diff --git a/.gitattributes b/.gitattributes index 4afd4666..98cb17bc 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,4 @@ .* export-ignore -infection.json export-ignore Makefile export-ignore phpstan.neon.dist export-ignore phpstan-baseline.neon export-ignore diff --git a/Makefile b/Makefile index 708d1988..250c412d 100644 --- a/Makefile +++ b/Makefile @@ -35,10 +35,6 @@ lint-symfony-yaml: test: vendor-bin/tools/vendor vendor/bin/phpunit --colors=always -.PHONY: infection -infection: vendor/bin/infection - vendor/bin/infection --threads=4 - .PHONY: coverage coverage: vendor-bin/tools/vendor vendor/bin/phpunit --colors=always --coverage-clover=build/logs/clover.xml @@ -79,5 +75,3 @@ check-dependencies: vendor-bin/tools/vendor vendor-bin/tools/vendor: composer --working-dir=vendor-bin/tools install -vendor/bin/infection: vendor-bin/tools/vendor - wget -O vendor/bin/infection https://github.com/infection/infection/releases/latest/download/infection.phar && chmod +x vendor/bin/infection diff --git a/infection.json b/infection.json deleted file mode 100644 index 7a259f94..00000000 --- a/infection.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "timeout": 10, - "source": { - "directories": [ - "src" - ] - }, - "logs": { - "text": "build/infection/infection-log.txt" - }, - "ignoreMsiWithNoMutations": true, - "minMsi": 30, - "minCoveredMsi": 58 -} diff --git a/vendor-bin/tools/composer.lock b/vendor-bin/tools/composer.lock index 5036af0f..b94ab9c8 100644 --- a/vendor-bin/tools/composer.lock +++ b/vendor-bin/tools/composer.lock @@ -6500,5 +6500,5 @@ "prefer-lowest": false, "platform": [], "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } From 840643d967973cb7b5131754c8fbdc90cef2db18 Mon Sep 17 00:00:00 2001 From: core23 Date: Sat, 8 Feb 2025 09:55:03 +0100 Subject: [PATCH 2/2] Remove type coverage information from README as psalm was removed --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index c36417be..7a7b22ac 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,6 @@ NucleosUserBundle [![Continuous Integration](https://github.com/nucleos/NucleosUserBundle/actions/workflows/continuous-integration.yml/badge.svg?event=push)](https://github.com/nucleos/NucleosUserBundle/actions?query=workflow%3A"Continuous+Integration"+event%3Apush) [![Code Coverage](https://codecov.io/gh/nucleos/NucleosUserBundle/graph/badge.svg)](https://codecov.io/gh/nucleos/NucleosUserBundle) -[![Type Coverage](https://shepherd.dev/github/nucleos/NucleosUserBundle/coverage.svg)](https://shepherd.dev/github/nucleos/NucleosUserBundle) The NucleosUserBundle is a fork of [FOSUserBundle](https://github.com/FriendsOfSymfony/FOSUserBundle/) which adds a lightweight support for a database-backed user system in symfony.