diff --git a/.gitattributes b/.gitattributes index 6105002..4640c0d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,7 +3,8 @@ # Ignoring files for distribution archieves .github/ export-ignore -etc/ export-ignore +etc/ci/ export-ignore +etc/qa/ export-ignore examples/ export-ignore tests/ export-ignore var/ export-ignore diff --git a/Makefile b/Makefile index 286f020..11e11c9 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ all-raw: ## The real runs everything, but due to sponge it has to be ran inside ## Temporary set of migrations to get all my repos in shape migrations-git-enforce-gitattributes-contents: #### Enforce .gitattributes contents ##*I*## - ($(DOCKER_RUN) php -r 'file_put_contents(".gitattributes", base64_decode("IyBTZXQgdGhlIGRlZmF1bHQgYmVoYXZpb3IsIGluIGNhc2UgcGVvcGxlIGRvbid0IGhhdmUgY29yZS5hdXRvY3JsZiBzZXQuCiogdGV4dCBlb2w9bGYKCiMgSWdub3JpbmcgZmlsZXMgZm9yIGRpc3RyaWJ1dGlvbiBhcmNoaWV2ZXMKLmdpdGh1Yi8gZXhwb3J0LWlnbm9yZQpldGMvIGV4cG9ydC1pZ25vcmUKZXhhbXBsZXMvIGV4cG9ydC1pZ25vcmUKdGVzdHMvIGV4cG9ydC1pZ25vcmUKdmFyLyBleHBvcnQtaWdub3JlCi5kZXZjb250YWluZXIuanNvbiBleHBvcnQtaWdub3JlCi5lZGl0b3Jjb25maWcgZXhwb3J0LWlnbm9yZQouZ2l0YXR0cmlidXRlcyBleHBvcnQtaWdub3JlCi5naXRpZ25vcmUgZXhwb3J0LWlnbm9yZQpDT05UUklCVVRJTkcubWQgZXhwb3J0LWlnbm9yZQpjb21wb3Nlci5sb2NrIGV4cG9ydC1pZ25vcmUKTWFrZWZpbGUgZXhwb3J0LWlnbm9yZQpSRUFETUUubWQgZXhwb3J0LWlnbm9yZQoKIyBEaWZmaW5nCioucGhwIGRpZmY9cGhwCg=="));' || true) + ($(DOCKER_RUN) php -r 'file_put_contents(".gitattributes", base64_decode("IyBTZXQgdGhlIGRlZmF1bHQgYmVoYXZpb3IsIGluIGNhc2UgcGVvcGxlIGRvbid0IGhhdmUgY29yZS5hdXRvY3JsZiBzZXQuCiogdGV4dCBlb2w9bGYKCiMgSWdub3JpbmcgZmlsZXMgZm9yIGRpc3RyaWJ1dGlvbiBhcmNoaWV2ZXMKLmdpdGh1Yi8gZXhwb3J0LWlnbm9yZQpldGMvY2kvIGV4cG9ydC1pZ25vcmUKZXRjL3FhLyBleHBvcnQtaWdub3JlCmV4YW1wbGVzLyBleHBvcnQtaWdub3JlCnRlc3RzLyBleHBvcnQtaWdub3JlCnZhci8gZXhwb3J0LWlnbm9yZQouZGV2Y29udGFpbmVyLmpzb24gZXhwb3J0LWlnbm9yZQouZWRpdG9yY29uZmlnIGV4cG9ydC1pZ25vcmUKLmdpdGF0dHJpYnV0ZXMgZXhwb3J0LWlnbm9yZQouZ2l0aWdub3JlIGV4cG9ydC1pZ25vcmUKQ09OVFJJQlVUSU5HLm1kIGV4cG9ydC1pZ25vcmUKY29tcG9zZXIubG9jayBleHBvcnQtaWdub3JlCk1ha2VmaWxlIGV4cG9ydC1pZ25vcmUKUkVBRE1FLm1kIGV4cG9ydC1pZ25vcmUKCiMgRGlmZmluZwoqLnBocCBkaWZmPXBocAo="));' || true) migrations-git-make-sure-gitignore-exists: #### Make sure .gitignore exists ##*I*## ($(DOCKER_RUN) touch .gitignore || true) @@ -287,10 +287,10 @@ stan: ## Run static analysis (PHPStan) ##*LCH*## $(DOCKER_RUN) vendor/bin/phpstan analyse --ansi --configuration=./etc/qa/phpstan.neon unit-testing: ## Run tests ##*A*## - $(DOCKER_RUN) vendor/bin/phpunit --colors=always -c ./etc/qa/phpunit.xml --coverage-text --coverage-html ./var/tests-unit-coverage-html --coverage-clover ./var/tests-unit-clover-coverage.xml + $(DOCKER_RUN) vendor/bin/phpunit --colors=always -c ./etc/qa/phpunit.xml $(shell $(DOCKER_RUN) php -r 'if (function_exists("xdebug_get_code_coverage")) { echo " --coverage-text --coverage-html ./var/tests-unit-coverage-html --coverage-clover ./var/tests-unit-clover-coverage.xml"; }') unit-testing-raw: ## Run tests ##*D*## #### - php vendor/phpunit/phpunit/phpunit --colors=always -c ./etc/qa/phpunit.xml --coverage-text --coverage-html ./var/tests-unit-coverage-html --coverage-clover ./var/tests-unit-clover-coverage.xml + php vendor/phpunit/phpunit/phpunit --colors=always -c ./etc/qa/phpunit.xml $(shell php -r 'if (function_exists("xdebug_get_code_coverage")) { echo " --coverage-text --coverage-html ./var/tests-unit-coverage-html --coverage-clover ./var/tests-unit-clover-coverage.xml"; }') mutation-testing: ## Run mutation testing ##*LCH*## $(DOCKER_RUN) vendor/bin/infection --ansi --log-verbosity=all --ignore-msi-with-no-mutations --configuration=./etc/qa/infection.json5 --static-analysis-tool=phpstan --static-analysis-tool-options="--memory-limit=-1" --threads=$(THREADS) || (cat ./var/infection.log && false) diff --git a/composer.json b/composer.json index 1bd63fb..019c8e7 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "react-parallel/stubs": "^1.2", "react/promise-timer": "^1.11", "wyrihaximus/async-test-utilities": "^10.5.0", - "wyrihaximus/makefiles": "^0.7.11" + "wyrihaximus/makefiles": "^0.7.12" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index 3025124..d25233c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e8725ddd2d44be8fe6f66a6c6a3a3c84", + "content-hash": "7f31e2c2c658121550c89ce706624da6", "packages": [ { "name": "lcobucci/clock", @@ -9102,16 +9102,16 @@ }, { "name": "wyrihaximus/makefiles", - "version": "0.7.11", + "version": "0.7.12", "source": { "type": "git", "url": "https://github.com/WyriHaximus/Makefiles.git", - "reference": "1aac2fbee79c43fe8ce78d9663f8784dd2a8b37b" + "reference": "9419d6ee290018f90d38cf869675aaadb480af52" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WyriHaximus/Makefiles/zipball/1aac2fbee79c43fe8ce78d9663f8784dd2a8b37b", - "reference": "1aac2fbee79c43fe8ce78d9663f8784dd2a8b37b", + "url": "https://api.github.com/repos/WyriHaximus/Makefiles/zipball/9419d6ee290018f90d38cf869675aaadb480af52", + "reference": "9419d6ee290018f90d38cf869675aaadb480af52", "shasum": "" }, "require": { @@ -9147,7 +9147,7 @@ "description": "🧱 Makefile building blocks", "support": { "issues": "https://github.com/WyriHaximus/Makefiles/issues", - "source": "https://github.com/WyriHaximus/Makefiles/tree/0.7.11" + "source": "https://github.com/WyriHaximus/Makefiles/tree/0.7.12" }, "funding": [ { @@ -9155,7 +9155,7 @@ "type": "github" } ], - "time": "2025-11-08T14:19:45+00:00" + "time": "2025-11-14T15:56:44+00:00" }, { "name": "wyrihaximus/phpstan-react",