mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-09-19 23:36:13 +02:00
Commit graph

1079 commits

Author SHA1 Message Date
Karsten Nowak
ed4d0aee72 [TASK] Check that existing teas in other pids were not deleted
Related #1120
2024-07-30 20:19:18 +02:00
5e40f6f105
Fix broken functional test
SQLite does reset the UID autoincrement during deletion.
That way the assertions do not match.
We now use a different set up and remove the uids from assertions.

That way we still ensure that the imported data is removed and new data
is imported. We do not need to care about UID.
2024-07-30 19:51:15 +02:00
Karsten Nowak
9902677e84 [TASK] Add functional test for createTestDataCommand
Related #1120
2024-07-30 19:14:34 +02:00
Karsten Nowak
7af57e0625 [TASK] Remove unnecessary is_int check of pageUid
Related #1120
2024-07-30 19:14:34 +02:00
Karsten Nowak
f2fe703196 [TASK] Update reference index after changing test data
Related #1120
2024-07-30 19:14:34 +02:00
Karsten Nowak
1262cfbb7b [TASK] use assert to state data restrictions
Related #1120
2024-07-30 19:14:34 +02:00
Karsten Nowak
153c79b053 [TASK] Rename pageId to pageUid
Related #1120
2024-07-30 19:14:34 +02:00
Karsten Nowak
9e0694ff72 [TASK] Move comment directly above the class
Related #1120
2024-07-30 19:14:34 +02:00
Karsten Nowak
58b6ade493 Update Classes/Command/CreateTestDataCommand.php
Co-authored-by: Oliver Klee <typo3-coding@oliverklee.de>
2024-07-30 19:14:34 +02:00
Karsten Nowak
cd817d8648 Update Classes/Command/CreateTestDataCommand.php
Co-authored-by: Oliver Klee <typo3-coding@oliverklee.de>
2024-07-30 19:14:34 +02:00
Karsten Nowak
837745d8dc [BUGFIX] Fix errors from php cs fixer
Related: #1120
2024-07-30 19:14:34 +02:00
Karsten Nowak
eef4db9b61 [DOCS] Add documentation part for command controller
Related: #1120
2024-07-30 19:14:34 +02:00
Karsten Nowak
6577dbf737 [TASK] Remove phpDocumentor reflection type
Related: #1120
2024-07-30 19:14:34 +02:00
Karsten Nowak
8999738e9d [FEATURE] Add command controller to create test data
Related: #11120
2024-07-30 19:14:34 +02:00
Eike Starkmann
48dfc14a15
[BUGFIX] Remove debug echo (#1401)
Related: #1399
2024-07-30 16:55:58 +00:00
Eike Starkmann
1571ef0cff
[BUGFIX] No longer create not needed temp folder (#1394)
Resolves: #1222
2024-07-30 14:06:23 +02:00
Felix Althaus
0dce81e9ca
[FEATURE] Add composerUnused suite to runTests.sh (#1390) 2024-07-30 13:45:06 +02:00
Oliver Klee
8d80a25d43
[BUGFIX] Remove unavailable PHPUnit configuration option (#1395)
The PHPUnit configuration option `controlGarbageCollector` was
introduced for PHPUnit 10 and 11 only and hence is not available
for version 9 yet (the version we're using). So we cannot use
this configuration option yet.

This reverts commit 7dea2ddc0b.
2024-07-30 13:35:15 +02:00
1a33abac95
[TASK] Clean up the unit tests configuration (#1389)
Remove no longer needed bootstrap option.
Remove no longer needed backupGlobals options.

Resolves: #1347
2024-07-29 17:53:04 +00:00
5a25569a19
[TASK] Use typoscript instead of ts within script names (#1392)
As ts is usually understood as TypeScript instead of TypoScript.
TYPO3 itself also changed its file extension from `.ts` to `.typoscript`.
We reflect that by adopting the script name.

Resolves: #1385
2024-07-29 19:49:37 +02:00
3dca33ebec
[TASK] Allow additional composer options for -s composerInstall (#1380)
This change modifies the `Build/Script/runTests.sh`
command dispatcher to allow passing composer options
to the `composer install` subcommand, for example

  Build/Scripts/runTests.sh -s composerInstall \
    -- --prefer-source

Note that this is already possible using the generic
`-s composer` dispatcher but would resolve some user
confusion.

This aligns our implementation of runTests.sh with TYPO3 core,
see: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84870

Resolves: #1346
2024-07-29 19:44:01 +02:00
Felix Althaus
93d8c3c781
[FEATURE] Include composer-unused to find unused packages (#1382)
typo3/cms-fluid and typo3/cms-frontend are ignored because
of their indirect usage.

Fixes: #348
2024-07-29 19:20:24 +02:00
7dea2ddc0b
[TASK] Enable PHPUnit garbage collector control (#1384)
This is disabled by default and enabled with this change.
This has the following effect:

- Deactivate automatic garbage collection using gc_disable() before the
  first test is run
- Trigger garbage collection using gc_collect_cycles() before the first
  test is run
- Trigger garbage collection using gc_collect_cycles() after each n-th
  test
- Trigger garbage collection after using gc_collect_cycles() after the
  last test was run
- Activate automatic garbage collection using gc_enable() after the last
  test was run

Resolves: #1328
2024-07-29 19:02:50 +02:00
521c57d886
[TASK] Allow installation of typo3/coding-standards 0.8.x (#1374)
This is necessary as older versions block installation of Symfony 7
components.
We also keep 0.6 as 0.8 drops support for older Symfony versions

Resolves: #1113
2024-07-29 18:41:48 +02:00
Eike Starkmann
f0118614ae
[TASK] Add missing switch, hint to run composer install at beginning (#1377) 2024-07-29 18:04:41 +02:00
Eike Starkmann
e87c7403a6
[BUGFIX] Use correct path for functional and unit tests (#1375) 2024-07-29 16:55:44 +02:00
dependabot[bot]
37602a09a2
[TASK] Update friendsofphp/php-cs-fixer requirement (#1373)
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.59.3...v3.60.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-07-26 05:35:40 +00:00
dependabot[bot]
4ae05422dc
[TASK] Update phpstan/phpstan requirement from ^1.11.7 to ^1.11.8 (#1371)
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.12.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.11.7...1.11.8)

---
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-07-24 07:45:44 +00:00
dependabot[bot]
863d7222f9
[TASK] Update squizlabs/php_codesniffer requirement (#1370)
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.10.1...3.10.2)

---
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-07-22 05:42:39 +00:00
dependabot[bot]
e827f63eeb
[TASK] Update ssch/typo3-rector requirement from ^2.6.3 to ^2.6.4 (#1367)
Updates the requirements on [ssch/typo3-rector](https://github.com/sabbelasichon/typo3-rector) to permit the latest version.
- [Release notes](https://github.com/sabbelasichon/typo3-rector/releases)
- [Commits](https://github.com/sabbelasichon/typo3-rector/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: ssch/typo3-rector
  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-07-18 11:33:49 +00:00
dependabot[bot]
a917dba5f2
[TASK] Update ssch/typo3-rector requirement from ^2.6.2 to ^2.6.3 (#1366)
Updates the requirements on [ssch/typo3-rector](https://github.com/sabbelasichon/typo3-rector) to permit the latest version.
- [Release notes](https://github.com/sabbelasichon/typo3-rector/releases)
- [Commits](https://github.com/sabbelasichon/typo3-rector/compare/v2.6.2...v2.6.3)

---
updated-dependencies:
- dependency-name: ssch/typo3-rector
  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-07-16 07:34:26 +00:00
dependabot[bot]
c3dc33a280
[TASK] Update seld/jsonlint requirement from ^1.10.2 to ^1.11.0 (#1365)
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.2...1.11.0)

---
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-07-12 05:24:25 +00:00
dependabot[bot]
7caa733038
[TASK] Update phpunit/phpunit requirement from ^9.6.19 to ^9.6.20 (#1364)
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.20/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.19...9.6.20)

---
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-07-11 05:48:09 +00:00
Oliver Klee
5b4337fd01
[TASK] Sort the list of non-packaged files (#1358)
This pre-patch helps us keep clean-up changes separate when we
move the QA tool configuration files.
2024-07-08 10:02:39 +02:00
Łukasz Uznański
395281c299
[TASK] Move xliff linter to xliff dir (#1356)
Part of: #1186
2024-07-08 09:40:01 +02:00
dependabot[bot]
7bbf2a98c6
[TASK] Update phpstan/phpstan requirement from ^1.11.6 to ^1.11.7 (#1355)
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.11.6...1.11.7)

---
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-07-06 12:08:15 +00:00
Łukasz Uznański
b0f0450fe1
[TASK] Move tests configuration to Build directory (#1352)
Part of: #1186
2024-07-03 09:01:21 +02:00
dependabot[bot]
fe6f4539bf
[TASK] Update ssch/typo3-rector requirement from ^2.6.1 to ^2.6.2 (#1351)
Updates the requirements on [ssch/typo3-rector](https://github.com/sabbelasichon/typo3-rector) to permit the latest version.
- [Release notes](https://github.com/sabbelasichon/typo3-rector/releases)
- [Commits](https://github.com/sabbelasichon/typo3-rector/compare/v2.6.1...v2.6.2)

---
updated-dependencies:
- dependency-name: ssch/typo3-rector
  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-07-02 13:05:23 +00:00
dependabot[bot]
76055e3aaf
[TASK] Update phpstan/phpstan requirement from ^1.11.5 to ^1.11.6 (#1350)
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.11.5...1.11.6)

---
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-07-02 05:23:46 +00:00
dependabot[bot]
674a1a86a4
[TASK] Update ssch/typo3-rector requirement from ^2.6.0 to ^2.6.1 (#1349)
Updates the requirements on [ssch/typo3-rector](https://github.com/sabbelasichon/typo3-rector) to permit the latest version.
- [Release notes](https://github.com/sabbelasichon/typo3-rector/releases)
- [Commits](https://github.com/sabbelasichon/typo3-rector/compare/v2.6.0...v2.6.1)

---
updated-dependencies:
- dependency-name: ssch/typo3-rector
  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-06-28 05:28:26 +00:00
dependabot[bot]
ce76e80ba2
[TASK] Update typo3/testing-framework requirement from ^7.0.4 to ^7.0.5 (#1348)
Updates the requirements on [typo3/testing-framework](https://github.com/TYPO3/testing-framework) to permit the latest version.
- [Release notes](https://github.com/TYPO3/testing-framework/releases)
- [Commits](https://github.com/TYPO3/testing-framework/compare/7.0.4...7.0.5)

---
updated-dependencies:
- dependency-name: typo3/testing-framework
  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-06-28 05:27:47 +00:00
dependabot[bot]
872027dd2f
[TASK] Update phpstan/phpstan requirement from ^1.11.4 to ^1.11.5 (#1344)
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.11.4...1.11.5)

---
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-06-18 05:54:29 +00:00
dependabot[bot]
2dd88cd800
[TASK] Update ergebnis/composer-normalize requirement (#1343)
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.42.0...2.43.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-06-17 05:26:25 +00:00
dependabot[bot]
f8057b7cca
[TASK] Update friendsofphp/php-cs-fixer requirement (#1342)
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.58.1...v3.59.3)

---
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-06-17 05:24:15 +00:00
dependabot[bot]
079b0b30af
[TASK] Update tomasvotruba/type-coverage requirement (#1341)
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.3.0...0.3.1)

---
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-06-15 10:49:55 +00:00
Oliver Klee
8dad7bd5ca
[TASK] Document our approach to assertions and type checks (#1339)
Fixes #1330
2024-06-11 11:56:20 +02:00
dependabot[bot]
072475abc1
[TASK] Update phpstan/extension-installer requirement (#1340)
Updates the requirements on [phpstan/extension-installer](https://github.com/phpstan/extension-installer) to permit the latest version.
- [Release notes](https://github.com/phpstan/extension-installer/releases)
- [Commits](https://github.com/phpstan/extension-installer/compare/1.4.0...1.4.1)

---
updated-dependencies:
- dependency-name: phpstan/extension-installer
  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-06-11 05:13:56 +00:00
dependabot[bot]
ae90800c25
[TASK] Update phpstan/phpstan requirement from ^1.11.3 to ^1.11.4 (#1337)
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.11.3...1.11.4)

---
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-06-06 14:52:09 +00:00
dependabot[bot]
47483fc882
[TASK] Update phpstan/extension-installer requirement (#1336)
Updates the requirements on [phpstan/extension-installer](https://github.com/phpstan/extension-installer) to permit the latest version.
- [Release notes](https://github.com/phpstan/extension-installer/releases)
- [Commits](https://github.com/phpstan/extension-installer/compare/1.3.1...1.4.0)

---
updated-dependencies:
- dependency-name: phpstan/extension-installer
  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-06-06 14:49:35 +00:00
dependabot[bot]
279188d38c
[TASK] Update phpstan/phpstan requirement from ^1.11.2 to ^1.11.3 (#1334)
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.11.2...1.11.3)

---
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-05-31 14:00:38 +00:00