Project

General

Profile

Actions

Task #90984

closed

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

Added by Jonas Eberle about 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Tests
Target version:
-
Start date:
2020-04-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
phpstan
Complexity:
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #93367: runTests.sh: Add phpstan and docBlockCheckClosed2021-01-26

Actions
Actions

Also available in: Atom PDF