mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-14 05:16:12 +01:00
Commit graph

1007 commits

Author SHA1 Message Date
Oliver Klee
188ca41922
[TASK] Reduce the DB fixtures some more (#1226)
Do not provide the PID where the PID is not relevant to the test.

This allows the reader to see more easily what is relevant for the
test.

Also reduce unnecessary quoting of integers in the DB fixtures.
2024-04-15 07:57:18 +02:00
Oliver Klee
e9019ddae8
[TASK] Test that TeaRepository.findByOwnerUid ignores the storage PID (#1227) 2024-04-15 07:21:27 +02:00
Oliver Klee
781c6f6521
[TASK] Separate the fixture TypoScript into setup and constants (#1225)
To prepare for more extended functional controller tests, we now
have a dedicated folder for fixture TypoScript setup, allowing us to have
a clear separation between setup and constants.
2024-04-15 07:19:53 +02:00
Oliver Klee
dcdb653fbc
[BUGFIX] Add resname to all language labels (#1221)
Fixes #1220
2024-04-14 22:47:19 +02:00
dependabot[bot]
4e6fd04eb7
[TASK] Update friendsofphp/php-cs-fixer requirement (#1219)
Updates the requirements on [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) to permit the latest version.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.52.1...v3.53.0)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 16:26:15 +00:00
dependabot[bot]
29d1c5441e
[TASK] Update phpstan/phpstan-strict-rules requirement (#1217)
Updates the requirements on [phpstan/phpstan-strict-rules](https://github.com/phpstan/phpstan-strict-rules) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan-strict-rules/releases)
- [Commits](https://github.com/phpstan/phpstan-strict-rules/compare/1.5.2...1.5.3)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-strict-rules
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 05:45:34 +00:00
dependabot[bot]
c4b75638e3
[TASK] Update phpunit/phpunit requirement from ^9.6.18 to ^9.6.19 (#1215)
Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.19/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.18...9.6.19)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 05:15:07 +00:00
Oliver Klee
444b39af08
[TASK] Use the development PHP INI on CI (#1207)
This allows us to see (and fail on) more PHP warnings and notices.

Fixes #1197
2024-04-04 08:54:49 +02:00
Oliver Klee
186bd32caf
[BUGFIX] Raise the minimal TYPO3 V12 version (#1212)
TYPO3 12.4.2 has some bug fixes for PHP 8.3 to avoid a class loading
issue.
2024-04-03 16:38:42 +02:00
Oliver Klee
33a014d549
[TASK] Stop using the predefined GitHub Actions (#1211)
We won't maintain the predefined GitHub Actions anymore and hence
should not use them in the example extension.

Fixes #1210
2024-04-03 16:37:41 +02:00
Oliver Klee
d65598e8fa
[TASK] Use unique and more realistic test data in the unit tests (#1206)
Fixes #1204
2024-04-02 07:19:31 +02:00
Oliver Klee
b68a1886fb
[BUGFIX] Avoid warnings in PHP 8.2/8.3 with lowest dependencies (#1208)
Lower versions of `webmozart/assert` do not play nice with PHP 8.2/8.3
in our tests.

So require the higher version.
2024-04-02 07:19:18 +02:00
dependabot[bot]
9c555f2d41
[TASK] Update squizlabs/php_codesniffer requirement (#1205)
Updates the requirements on [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) to permit the latest version.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.9.0...3.9.1)

---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 05:15:11 +00:00
dependabot[bot]
a10eee61eb
[TASK] Update phpstan/phpstan requirement from ^1.10.65 to ^1.10.66 (#1203)
Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.65...1.10.66)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-29 05:19:54 +00:00
dependabot[bot]
28cf48ed58
[TASK] Update phpstan/phpstan requirement from ^1.10.64 to ^1.10.65 (#1201)
Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.64...1.10.65)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 05:30:08 +00:00
dependabot[bot]
5520472e3d
[TASK] Update phpunit/phpunit requirement from ^9.6.17 to ^9.6.18 (#1200)
Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.18/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.17...9.6.18)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-22 05:44:28 +00:00
dependabot[bot]
efa04529a2
[TASK] Update phpstan/phpstan requirement from ^1.10.63 to ^1.10.64 (#1199)
Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.63...1.10.64)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-22 05:41:57 +00:00
dependabot[bot]
9bcb6439f1
[TASK] Bump dependabot/fetch-metadata from 1 to 2 (#1198)
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1 to 2.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v1...v2)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-22 05:18:54 +00:00
dependabot[bot]
ab70c2cf07
[TASK] Update friendsofphp/php-cs-fixer requirement (#1196)
Updates the requirements on [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) to permit the latest version.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.52.0...v3.52.1)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-20 05:29:49 +00:00
dependabot[bot]
63c86221ad
[TASK] Update friendsofphp/php-cs-fixer requirement (#1194)
Updates the requirements on [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) to permit the latest version.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.51.0...v3.52.0)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-19 05:22:32 +00:00
dependabot[bot]
ed8be1352a
[TASK] Update phpstan/phpstan requirement from ^1.10.62 to ^1.10.63 (#1193)
Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.62...1.10.63)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 17:07:46 +00:00
dependabot[bot]
65f38e9819
[TASK] Update tomasvotruba/type-coverage requirement (#1192)
Updates the requirements on [tomasvotruba/type-coverage](https://github.com/TomasVotruba/type-coverage) to permit the latest version.
- [Commits](https://github.com/TomasVotruba/type-coverage/compare/0.2.1...0.2.5)

---
updated-dependencies:
- dependency-name: tomasvotruba/type-coverage
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 05:28:11 +00:00
dependabot[bot]
c897467710
[TASK] Update phpstan/phpstan requirement from ^1.10.60 to ^1.10.62 (#1191)
Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.60...1.10.62)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-14 05:43:52 +00:00
Łukasz Uznański
964efa4963
[TASK] Migrate to Core testing docker image in GitLab CI (#1187) 2024-03-11 12:25:59 +01:00
dependabot[bot]
05e3bc8c35
[TASK] Update phpstan/phpstan requirement from ^1.10.59 to ^1.10.60 (#1188)
Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.59...1.10.60)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 14:10:56 +00:00
dependabot[bot]
65bd8fca9b
[TASK] Update friendsofphp/php-cs-fixer requirement (#1181)
Updates the requirements on [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) to permit the latest version.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.50.0...v3.51.0)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-29 06:05:34 +00:00
dependabot[bot]
0199c27b0f
[TASK] Update helmich/typo3-typoscript-lint requirement (#1180)
Updates the requirements on [helmich/typo3-typoscript-lint](https://github.com/martin-helmich/typo3-typoscript-lint) to permit the latest version.
- [Release notes](https://github.com/martin-helmich/typo3-typoscript-lint/releases)
- [Commits](https://github.com/martin-helmich/typo3-typoscript-lint/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: helmich/typo3-typoscript-lint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 15:55:23 +00:00
dependabot[bot]
b97dd4c3ab
[TASK] Update eslint requirement from ^8.56.0 to ^8.57.0 (#1179)
Updates the requirements on [eslint](https://github.com/eslint/eslint) to permit the latest version.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-24 10:09:23 +00:00
dependabot[bot]
6dd4f21567
[TASK] Update phpunit/phpunit requirement from ^9.6.16 to ^9.6.17 (#1178)
Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.17/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.16...9.6.17)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-24 10:08:31 +00:00
dependabot[bot]
f3d464a43d
[TASK] Update friendsofphp/php-cs-fixer requirement (#1177)
Updates the requirements on [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) to permit the latest version.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.49.0...v3.50.0)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-24 10:07:47 +00:00
dependabot[bot]
7f8721e6ff
[TASK] Update phpstan/phpstan-phpunit requirement (#1176)
Updates the requirements on [phpstan/phpstan-phpunit](https://github.com/phpstan/phpstan-phpunit) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan-phpunit/releases)
- [Commits](https://github.com/phpstan/phpstan-phpunit/compare/1.3.15...1.3.16)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-phpunit
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-23 11:02:42 +00:00
dependabot[bot]
7be5874a1b
[TASK] Update phpstan/phpstan requirement from ^1.10.58 to ^1.10.59 (#1175)
Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.58...1.10.59)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-20 14:38:32 +00:00
dependabot[bot]
519ee237da
[TASK] Update stylelint-no-browser-hacks requirement (#1174)
Updates the requirements on [stylelint-no-browser-hacks](https://github.com/Slamdunk/stylelint-no-browser-hacks) to permit the latest version.
- [Release notes](https://github.com/Slamdunk/stylelint-no-browser-hacks/releases)
- [Commits](https://github.com/Slamdunk/stylelint-no-browser-hacks/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: stylelint-no-browser-hacks
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-20 05:20:26 +00:00
dependabot[bot]
afd77d1826
[TASK] Update squizlabs/php_codesniffer requirement (#1168)
Updates the requirements on [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) to permit the latest version.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.8.1...3.9.0)

---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 05:40:04 +00:00
dependabot[bot]
4fc2c3c653
[TASK] Update phpstan/phpstan requirement from ^1.10.57 to ^1.10.58 (#1166)
Updates the requirements on [phpstan/phpstan](https://github.com/phpstan/phpstan) to permit the latest version.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.10.57...1.10.58)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-15 06:17:28 +00:00
dependabot[bot]
241988d841
[TASK] Update seld/jsonlint requirement from ^1.10.1 to ^1.10.2 (#1162)
Updates the requirements on [seld/jsonlint](https://github.com/Seldaek/jsonlint) to permit the latest version.
- [Release notes](https://github.com/Seldaek/jsonlint/releases)
- [Changelog](https://github.com/Seldaek/jsonlint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Seldaek/jsonlint/compare/1.10.1...1.10.2)

---
updated-dependencies:
- dependency-name: seld/jsonlint
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 05:43:44 +00:00
ae233d8de0
[TASK] Prevent composer.lock file (#1161)
This is a TYPO3 extension, a library.
We do not track the `composer.lock` file for that reason.
Composer itself offers an option to prevent generation of the file.
This is now configured to prevent the creation of the file.

That should prevent issues with local version of the file.
One might change the `composer.json` version constraints but updates
might fail due to locked version constraints.
This no longer happens if no locked version, due to missing lock file,
exist.

Composer would render warnings when using `composer install` without a
lock file. That's why we update the CI commands to use `composer update`
instead. That warning was already rendered within CI due to missing
file.
2024-02-07 09:54:59 +01:00
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
db5535a7a0
[TASK] Add PHPStan extension for cognitive load (#1156)
A new composer package "tomasvotruba/cognitive-complexity" is added.
This one is a PHPStan extension which will check the cognitive
complexity of classes and functions/methods.

We have very low numbers as our examples are not too complex yet.
Real projects adopting the extension might configure higher values in
the beginning or use the baseline approach.

Resolves: #1154
2024-02-06 13:52:03 +01:00
024f2e70b7
[TASK] Streamline indentation levels of phpstan.neon (#1155)
There were mixed indentation levels.
Those are now streamlined to level of 2.
This follows the existing convention for yaml files.
2024-02-06 13:27:28 +01:00
Simon Schaufelberger
1f4370c92f
[TASK] Add PHP CS Fixer to GitLab (#1151) 2024-02-04 10:03:06 +01:00
dependabot[bot]
56592d6a3d
[TASK] Update prettier requirement from ^3.2.4 to ^3.2.5 (#1153)
Updates the requirements on [prettier](https://github.com/prettier/prettier) to permit the latest version.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.2.4...3.2.5)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-04 09:02:21 +00:00
Simon Schaufelberger
79e44ee8c5
[TASK] Add a commit message prefix (#1150)
See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#commit-message
2024-02-02 13:43:58 +01:00
dependabot[bot]
6798c40f7f
Update friendsofphp/php-cs-fixer requirement from ^3.48.0 to ^3.49.0 (#1146)
Updates the requirements on [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) to permit the latest version.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.48.0...v3.49.0)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-02 05:10:28 +00:00
Łukasz Uznański
33a7a0425e
[TASK] Change webdir of TYPO3 to public (#1144)
Resolves: #1140
2024-01-31 10:14:57 +01:00
Łukasz Uznański
659e4dbccc
[TASK] Update php to 8.3 on ddev by default (#1145)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2024-01-31 09:44:45 +01:00
dependabot[bot]
3a4f196f45
Update saschaegerer/phpstan-typo3 requirement from ^1.9.1 to ^1.10.0 (#1143)
Updates the requirements on [saschaegerer/phpstan-typo3](https://github.com/sascha-egerer/phpstan-typo3) to permit the latest version.
- [Release notes](https://github.com/sascha-egerer/phpstan-typo3/releases)
- [Commits](https://github.com/sascha-egerer/phpstan-typo3/compare/1.9.1...1.10.0)

---
updated-dependencies:
- dependency-name: saschaegerer/phpstan-typo3
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 12:51:42 +00:00
dependabot[bot]
2e7496a3b6
Update ergebnis/composer-normalize requirement from ^2.28.3 to ^2.42.0 (#1142)
Updates the requirements on [ergebnis/composer-normalize](https://github.com/ergebnis/composer-normalize) to permit the latest version.
- [Release notes](https://github.com/ergebnis/composer-normalize/releases)
- [Changelog](https://github.com/ergebnis/composer-normalize/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ergebnis/composer-normalize/compare/2.28.3...2.42.0)

---
updated-dependencies:
- dependency-name: ergebnis/composer-normalize
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 12:49:30 +00:00
Oliver Klee
532c30a1ff
[TASK] Consistently quote string values in fixture CSV files (#1137) 2024-01-24 13:21:58 +01:00
Oliver Klee
94a494240e
[TASK] Prefer string casts over explictly calling __toString (#1136) 2024-01-24 13:21:49 +01:00