Commit graph

38 commits

Author SHA1 Message Date
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 feeb7d4235 Migrate to php-cs-fixer 2023-04-27 11:12:10 +02:00
Daniel Siepmann a0d577e89f Remove leftovers of rector 2023-04-27 11:12:10 +02:00
Daniel Siepmann d604014297 Streamline composer.json 2023-04-27 11:12:10 +02:00
Daniel Siepmann cd9cb3f2a8
Support TYPO3 v12.4 LTS (#104) 2023-04-25 09:32:33 +02:00
Daniel Siepmann 6f71db0abd
Support TYPO3 v12.3 (#103) 2023-04-03 09:55:26 +02:00
Daniel Siepmann 60a1932a71
Support TYPO3 12.2 (#102)
Adjust tests to still work with TYPO3 commit
1fd78d5daa489a487df0682a38a1a1ecc5d0f3d0.
2023-02-07 12:39:48 +01:00
Daniel Siepmann c14cba6b53
Add PHP 8.2 support (#101) 2023-01-08 15:34:37 +01: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 1dbdaac9c6
Support PHP 8.1 (#95) 2022-09-21 13:21:45 +02:00
Daniel Siepmann 7f63ae8262 Satisfy phpstan for now 2022-04-14 10:26:07 +02:00
Daniel Siepmann b7adf27475 Fix new PHPStan issues 2022-01-06 08:36:28 +01:00
Daniel Siepmann 2efe65c5b2 Support composer 2.2 new allow-plugins configuration
In order to install all necessary composer plugins which we already
trust.
2022-01-06 08:36:28 +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 e55f1da281 Raise from TYPO3 11.4 to 11.5 2021-11-25 09:35:47 +01:00
Daniel Siepmann 337f0b1098 Use custom fork of typo3/testing-framework for now
This includes a bug fix to allow execution of functional tests.
The fix is already open as PR in the upstream repo.
2021-09-17 09:36:59 +02:00
Daniel Siepmann 8103025899 Support TYPO3 11.4 2021-09-17 09:36:59 +02: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 721b6e5a31 Support PHP 7.3
- Extend CI to test everything against PHP 7.3
- Update composer to allow installation with PHP 7.3
- Remove dependency checker, install loosely within CI to get compatible
  version with actual PHP version.
- Adjust CI to use PHP compatible MySQL versions.

Relates: #69
2021-08-11 12:15:57 +02:00
Daniel Siepmann f3b4ae3c3b Raise from TYPO3 11.2 to 11.3
Only support latest public release of current TYPO3 dev releases.
2021-08-03 10:27:12 +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 165b110e01 Always use TestCase of testing framework
That way the framework can add extra logic like cleanup.
We don't have to worry about such things.
2021-05-19 22:39:22 +02:00
Daniel Siepmann 3c10aa6d10 Support TYPO3 v11.2 and PHP 8.0 beside current v10.4 and 7.4. 2021-05-19 22:21:17 +02:00
Daniel Siepmann 443e042d82 Remove security checker
It will report old TYPO3 versions which we support, but don't require.
Therefore it does not provide a benefit but breaks builds.
The package is intended for projects, not libraries.
2020-12-01 11:23:23 +01:00
Daniel Siepmann f06684c660 Add sensiolabs secutiy checker to ci 2020-08-07 12:43:28 +02:00
Daniel Siepmann 7d3aeabcdd Adjust branch alias for composer
As master was replaced by main.
2020-08-06 16:34:11 +02:00
Daniel Siepmann 7346616663 Allow older versions of symfony components
This should prevent conflicts with other tools like typoscript linter.
2020-08-03 12:31:16 +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
Daniel Siepmann 7e0f5760db Require TYPO3 10.4 dev state
As extension uses features from upcoming TYPO3 10.4 release.
2020-04-16 11:54:42 +02:00
Daniel Siepmann d3878d928d Improve CI
* Adjust names of tasks.
* Add composer require checker.
* Install without plugins to not use custom installer and stay
  compatible with require checker.
* Stay phpunit 10 compatible.
2020-04-07 15:32:29 +02:00
Daniel Siepmann 669d75ce86 Add PHPStan to ensure code quality and prevent bugs 2020-04-01 20:43:30 +02:00
Daniel Siepmann 81e98ec269
As master branch is used, adjust branch-alias (#5)
Also add further urls to composer.
2020-02-26 07:43:56 +01:00
Daniel Siepmann 548ad0b07c
Make widgets configurable via DI
As no configuration API is provided, we use Services.yaml for now.
2020-02-25 22:35:30 +01:00
Daniel Siepmann 9452e66a51
Add Unittests 2020-02-25 22:35:30 +01:00
Daniel Siepmann 50dcb619ea
Add PSR-12 2020-02-25 22:35:29 +01:00
Daniel Siepmann 73ec4641ff
Prepare usage as standalone composer package 2020-02-25 22:35:28 +01:00
Daniel Siepmann b8cde34d60
Update to 10.3 release 2020-02-25 22:35:28 +01:00
Daniel Siepmann cece44c735
Add first basic tracking for page views 2020-02-25 22:35:25 +01:00