psvneo/qs-toolset-t3

This package is abandoned and no longer maintained. The author suggests using the https://git.riconnect.de/riconet-public/qa-toolset-t3 package instead.

This package contains a collection of tools used for QA of TYPO3 extensions developed at PSV NEO GmbH.

2.0.1 2023-11-14 13:41 UTC

This package is auto-updated.

Last update: 2023-11-14 13:51:28 UTC


README

This package contains a collection of tools used for QA of TYPO3 extensions developed at PSV NEO GmbH.

Contained tools

  • phpunit
  • php-cs-fixer
  • phpstan
  • phpmd
  • typoscript-linter
  • rector

How to use

You can run the binary with the following options:

Usage: $0 [options] [file]

Options:
    -s <...>
        Specifies which test suite to run
            - lint-php: Lints php files.
            - lint-code-style: Lints code style errors.
            - lint-typoscript: Lints typoscript files.
            - lint-debug: Lints for debug usage.
            - lint-feature-support: Checks if the code is ready for used TYPO3 and PHP version.
            - analyze: Analyzes php code.
            - qa: Checks general code quality.
            - fix-code-style: Fixes code style errors automatically.
            - fix-feature-support: Fixes code to be ready for used TYPO3 and PHP version.
            - unit: Runs unit tests.
            - functional: Runs functional tests.

    -p <8.1>
        Specifies the PHP minor version to be used
            - 8.1 (default): use PHP 8.1

    -e "<phpunit options>"
        Only with -s functional|unit
        Additional options to send to phpunit (unit & functional tests).
        Starting with "--" must be added after options starting with "-".
        Example -e "-v --filter canRetrieveValueWithGP" to enable verbose output AND filter tests
        named "canRetrieveValueWithGP"

    -h
        Show this help.

Examples:
    # Run code quality checks.
    .Build/bin/t3qa.sh -s qa