Commit graph

23 commits

Author SHA1 Message Date
17a0f7589d
WIP|Add mutation testing
Allows to check whether tests cover code manipulation.

WIP:
    * Fix existing issues

Resolves: #27
2021-05-24 23:09:03 +02:00
1c669f52c7 Remove --no-suggest from CI
This is no longer supported by composer V2.
2021-05-24 23:06:34 +02:00
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
3c10aa6d10 Support TYPO3 v11.2 and PHP 8.0 beside current v10.4 and 7.4. 2021-05-19 22:21:17 +02:00
dfa75fb436 Fix broken CI due to unwanted PHP update
Force specific PHP version for all necessary CI steps.
2021-01-07 09:55:24 +01:00
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
13cbd3c2a9 Use composer v1 in CI
Not all dev dependencies are v2 ready.

maglnet/composer-require-checker has a dependency to
ocramius/package-versions version which requires v1 composer API.
Once a newer version is required, we can use v2.
2020-12-01 11:23:23 +01:00
93353630b0 Execute tests with all supported PHP versions 2020-09-23 08:50:27 +02:00
9fe11b300c Extend dependency checker to TYPO3 specific files
Only autoloaded files will be checked by default.
TYPO3 has some additional files which should be scanned as well.
2020-09-16 09:13:29 +02:00
8ecc704cd9 Fetch XSD for xliff from official source 2020-09-16 09:09:58 +02:00
8f755f79f2 Execute tests for MySQL in addition to existing sqlite 2020-08-13 10:11:45 +02:00
204eddf9e1 Fix path to PHPUnit schema
PHPUnit changed path of 9.3 aka current xsd.
2020-08-12 15:38:20 +02:00
f06684c660 Add sensiolabs secutiy checker to ci 2020-08-07 12:43:28 +02:00
2c4db3078d Add php linting
Ensure PHP Code is valid for all supported PHP versions.
2020-08-07 12:43:15 +02:00
04fcaaaad2 Add XML linting to GitHub CI 2020-08-07 12:43:04 +02:00
80055b0642 Split GitHub Actions CI Jobs
It doesn't make sense to place all jobs into a single job.
Instead split them up into single jobs.
2020-08-07 12:10:59 +02:00
5d4b724485 Do not separate unit and functional tests
Both can be run with a single command and configuration.
Therefore merge both configurations into one and adjust CI call.
2020-08-07 10:40:19 +02:00
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
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
60f76b0d9f Use human readable output of phpunit in CI 2020-04-01 20:43:30 +02:00
669d75ce86 Add PHPStan to ensure code quality and prevent bugs 2020-04-01 20:43:30 +02:00
9452e66a51
Add Unittests 2020-02-25 22:35:30 +01:00
d7c07aee79
Add GitHub workflows 2020-02-25 22:35:29 +01:00