Issue Task Closed

#90984Add `phpstan analyse` to Build/Scripts/runTests.sh

Jonas Eberle 04/09/20, 12:09 updated 05/12/21, 14:42

Description

command from Build/bamboo/src/main/java/core/AbstractCoreSpec.java

                            "    docker run \\\n" +
                            "        -u ${HOST_UID} \\\n" +
                            "        -v /bamboo-data/${BAMBOO_COMPOSE_PROJECT_NAME}/passwd:/etc/passwd \\\n" +
                            "        -v ${BAMBOO_COMPOSE_PROJECT_NAME}_bamboo-data:/srv/bamboo/xml-data/build-dir/ \\\n" +
                            "        --name ${BAMBOO_COMPOSE_PROJECT_NAME}sib_adhoc \\\n" +
                            "        --rm \\\n" +
                            "        typo3gmbh/" + requirementIdentifier.toLowerCase() + ":latest \\\n" +
                            "        bin/bash -c \"cd ${PWD}; ./bin/phpstan analyse --no-progress --no-interaction $*\"\n" +

It is using the same image as the other tests.

There should be no reason not to have it in our official local test runner script.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.