riconet / dynamic-faq
此扩展提供了一套完整的FAQ解决方案,由管理员回答用户创建的问题
6.0.0
2021-01-11 12:34 UTC
Requires
- helhum/typoscript-rendering: ^2.3
- typo3/cms-core: ^10.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- helmich/typo3-typoscript-lint: ^2.3
- nimut/testing-framework: ^5.1
- phpmd/phpmd: ^2.9
- phpstan/phpstan: 0.12.*
- squizlabs/php_codesniffer: ^3.5
README
依赖
- TYPO3 9.5.0+
- typoscript_rendering 2.3.0+
概述
此扩展提供了一套完整的FAQ解决方案,由管理员回答用户创建的问题
安装
- 通过扩展模块激活扩展。
- 包含静态typoscript文件。
- 导航到扩展的根目录并运行
yarn install
信息
只有标记为已回答并发布的题目在前端可见。
如何在本地运行测试
要运行测试、质量检查和构建,执行脚本Build/Scripts/runTests.sh
。
测试运行器脚本选项
-s <...>
Specifies which test suite to run
- build: Builds the project (composer)
- lint: Lints the php files
- functional: functional tests
- unit (default): PHP unit tests
- quality: executes code quality checks (phpstan, phpcs, phpmd)
- find-debugs: Finds usages of debug calls.
-p <7.2|7.3>
Specifies the PHP minor version to be used
- 7.2 (default): use PHP 7.2
- 7.3: use PHP 7.3
-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.