From 19fabbfc68bd1d0fca94530e2d6da67afb3e068e Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Sun, 3 Sep 2023 10:36:16 +0200 Subject: [PATCH] TASK #4471 lint distributionintegrity --- composer.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 1232b88a851..405d9cfa90d 100644 --- a/composer.json +++ b/composer.json @@ -92,9 +92,11 @@ "@lint:phpcs-psr12 --exclude=Generic.Files.LineLength" ], "lint:phpstan": "../../bin/phpstan analyse", + "lint:distributionintegrity": "[ -d 'Neos.ContentRepository' ] && { echo 'Package Neos.ContentRepository should not exist.' 1>&2; exit 1; } || exit 0;", "lint": [ "@lint:phpcs", - "@lint:phpstan" + "@lint:phpstan", + "@lint:distributionintegrity" ], "test:unit": [ "../../bin/phpunit --colors --stop-on-failure -c ../../Build/BuildEssentials/PhpUnit/UnitTests.xml Neos.ContentRepository.Core/Tests/Unit",