mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-21 22:16:13 +01:00
Mirror of TYPO3 Extension tea, managed by the Best Practice Team https://typo3.org/community/teams/best-practices
Find a file
Daniel Siepmann 1462282da6
[TASK] Add PHPStan extension for disallowed calls (#1159)
A new composer package "spaze/phpstan-disallowed-calls" is added.
This one is a PHPStan extension which will check for forbidden calls.
Those calls need to be defined per project.
We use this to prevent debugging and other none good practices from
showing up in our code base.

We include the pre defined rules from the package.
Those can be argued and adjusted once we hit them.

Resolves: #1158
2024-02-06 12:55:29 +00:00
.ddev [TASK] Update php to 8.3 on ddev by default (#1145) 2024-01-31 09:44:45 +01:00
.github [TASK] Add a commit message prefix (#1150) 2024-02-02 13:43:58 +01:00
.gitlab [TASK] Add PHP CS Fixer to GitLab (#1151) 2024-02-04 10:03:06 +01:00
Build [TASK] Change webdir of TYPO3 to public (#1144) 2024-01-31 10:14:57 +01:00
Classes [!!!][TASK] Drop additional namespace segment for the Tea model (#1025) 2024-01-16 15:21:21 +01:00
Configuration [!!!][TASK] Drop additional namespace segment for the Tea model (#1025) 2024-01-16 15:21:21 +01:00
Documentation V3.1.0: New features, bugfixes and cleanup (#1112) 2024-01-08 19:47:37 +01:00
Resources [!!!][TASK] Drop additional namespace segment for the Tea model (#1025) 2024-01-16 15:21:21 +01:00
Tests [TASK] Consistently quote string values in fixture CSV files (#1137) 2024-01-24 13:21:58 +01:00
tools [TASK] Remove phpcpd (PHP Copy/Paste Detector) (#800) 2023-04-06 16:26:51 +02:00
.editorconfig Change default rst indentation to 4 spaces (#508) 2022-08-20 13:59:53 +02:00
.eslintignore [TASK] Move npm tools and config to default places (#445) 2022-05-18 17:17:45 +02:00
.eslintrc.json [TASK] Improved ESLint config for Backend JavaScript (#476) 2022-07-08 12:43:19 +02:00
.gitattributes [TASK] Move the PHPUnit configuration files to Configuration/ (#1108) 2024-01-08 00:41:08 +01:00
.gitignore [FEATURE] Integrate runTests.sh execution wrapper - round one (#900) 2023-07-31 13:38:07 +02:00
.php-cs-fixer.php [TASK] Migrate to typo3 coding standards (#340) 2021-11-17 16:45:49 +01:00
.phpstorm.meta.php [BUGFIX] Add hidden files to find in PHP lint (#559) 2022-09-07 11:47:31 +02:00
.prettierrc.js [TASK] Move npm tools and config to default places (#445) 2022-05-18 17:17:45 +02:00
CHANGELOG.md [!!!][TASK] Drop additional namespace segment for the Tea model (#1025) 2024-01-16 15:21:21 +01:00
CODE_OF_CONDUCT.md [TASK] Switch to the TYPO3 Code of Conduct (#430) 2022-04-14 18:11:50 +02:00
composer.json [TASK] Add PHPStan extension for disallowed calls (#1159) 2024-02-06 12:55:29 +00:00
CONTRIBUTING.md [TASK] Add contribution guide (#1044) 2023-12-05 16:26:37 +01:00
ext_emconf.php V3.1.0: New features, bugfixes and cleanup (#1112) 2024-01-08 19:47:37 +01:00
ext_localconf.php [FEATURE] Add a delete functionality for the Tea FE editor (#876) 2023-06-23 11:55:19 +02:00
ext_tables.sql [!!!][TASK] Drop additional namespace segment for the Tea model (#1025) 2024-01-16 15:21:21 +01:00
LICENSE [TASK] Change from GPL V3+ to GPL V2+ (#40) 2019-08-08 12:38:56 +02:00
package.json [TASK] Update prettier requirement from ^3.2.4 to ^3.2.5 (#1153) 2024-02-04 09:02:21 +00:00
phive.xml [TASK] Remove phpcpd (PHP Copy/Paste Detector) (#800) 2023-04-06 16:26:51 +02:00
phpcs.xml [TASK] Remove the ancient acceptance tests (#512) 2022-08-28 09:33:50 +02:00
phpstan-baseline.neon [BUGFIX] Add allow empty base line for phpstan check (#1018) 2023-11-27 15:29:58 +00:00
phpstan.neon [TASK] Add PHPStan extension for disallowed calls (#1159) 2024-02-06 12:55:29 +00:00
README.md [TASK] Update repository urls (#946) 2023-10-08 21:53:41 +02:00
stylelint.config.js [TASK] Move npm tools and config to default places (#445) 2022-05-18 17:17:45 +02:00

Example TYPO3 extension for code quality checks and automated tests

TYPO3 V12 TYPO3 V11 License Total downloads GitHub CI status GitLab CI status Coverage Status

This TYPO3 extension, based on Extbase and Fluid, is an example of best practices in automated code checks, unit/functional/acceptance testing and continuous integration.

You can also use this extension to manage your collection of delicious teas.

URL
Repository: https://github.com/FriendsOfTYPO3/tea
Read online: https://docs.typo3.org/p/ttn/tea/main/en-us/
TER: https://extensions.typo3.org/extension/tea/
Slack: https://typo3.slack.com/channels/qa-best-practices

Presentation at the TYPO3 Online Days 2021

At the TYPO3 Online Days 2021, Oliver Klee held a session where her presented our approach for automating the code quality of extensions.

Slides

cover slide

Video recording

video still