Commit graph

8 commits

Author SHA1 Message Date
Daniel Siepmann 413afa1851
Update
* Rector result with cgl applied
* Fix constructor multi line by hand
* Migrate away from prophecy.
2024-02-07 19:21:15 +01:00
Daniel Siepmann 38a2be296a Migrate test fixtures to PHP Data Sets
That will ease maintenance.
XML is no longer supported by TYPO3 Testing Framework.

Resolves: #109
2023-05-11 15:16:43 +02:00
Daniel Siepmann 9f24518a0b
Support TYPO3 v12.1 (#96)
* Support TYPO3 v12.0

All dependencies are compatible now.
We can update to support v12.0.

This commit will shift TYPO3 support from 10 and 11 to 11 and 12.
See Changelog entry.

Update dev dependencies to our latest best practice.
Auto migrate code base to follow CGL and use PHP 7.4.
2022-12-07 13:37:19 +01:00
Daniel Siepmann 456c86b492 Update PHPStan
PHPStan was released with first stable public version 1.x.
The version is updated together with extensions.

The new version finds new issues which are solved right away to not
break CI.
2022-01-06 08:10:02 +01:00
Daniel Siepmann 73e2ec0214 Add functional tests regarding actual frontend request tracking
Ensures pageview and recordview are tracked as expected.

Relates: #46
2021-08-16 11:18:32 +02:00
Daniel Siepmann adb73eeffc Switch to ECS for coding style
This allows configuration via PHP.
It also combines code sniffer and php cs fixer.

Used commands:

composer remove --dev squizlabs/php_codesniffer
composer req --dev symplify/easy-coding-standard
./vendor/bin/ecs --fix
2021-05-24 22:11:46 +02:00
Daniel Siepmann 1cbec2e51d Support language restriction for all widgets
Relates: #15
2020-08-03 14:29:42 +02:00
Daniel Siepmann f3d69eed45 Add multi language support
Allow integrator to limit results in widget to certain languages.
If only one language is allowed, labels will be translated.
Otherwise default system language is used.

E.g. one record will be displayed in multiple languages, it would be
confusing to show him multiple times for each language.

Add TYPO3 extension for phpstan as many things would break within tests.

Relates: #15
2020-08-03 08:46:31 +02:00