mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 17:56:12 +01:00
Commit graph

1152 commits

Author SHA1 Message Date
13b1116532 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-10-20 11:49:44 +02:00
Karsten Nowak
271bd24c4f [TASK] Add functional test for createTestDataCommand
Related #1120
2024-10-20 11:49:44 +02:00
Karsten Nowak
1af328f27b [TASK] Remove unnecessary is_int check of pageUid
Related #1120
2024-10-20 11:49:44 +02:00
Karsten Nowak
e3544f4ade [TASK] Update reference index after changing test data
Related #1120
2024-10-20 11:49:44 +02:00
Karsten Nowak
18b804f179 [TASK] use assert to state data restrictions
Related #1120
2024-10-20 11:49:44 +02:00
Karsten Nowak
d1420a21b3 [TASK] Rename pageId to pageUid
Related #1120
2024-10-20 11:49:44 +02:00
Karsten Nowak
8200302d31 [TASK] Move comment directly above the class
Related #1120
2024-10-20 11:49:44 +02:00
Karsten Nowak
dd1f4832ff Update Classes/Command/CreateTestDataCommand.php
Co-authored-by: Oliver Klee <typo3-coding@oliverklee.de>
2024-10-20 11:49:44 +02:00
Karsten Nowak
5ad2d2d8ad Update Classes/Command/CreateTestDataCommand.php
Co-authored-by: Oliver Klee <typo3-coding@oliverklee.de>
2024-10-20 11:49:43 +02:00
Karsten Nowak
72d449b9bd [BUGFIX] Fix errors from php cs fixer
Related: #1120
2024-10-20 11:49:43 +02:00
Karsten Nowak
277a167621 [DOCS] Add documentation part for command controller
Related: #1120
2024-10-20 11:49:43 +02:00
Karsten Nowak
cc64515cd6 [TASK] Remove phpDocumentor reflection type
Related: #1120
2024-10-20 11:49:43 +02:00
Karsten Nowak
b42f6ed08e [FEATURE] Add command controller to create test data
Related: #11120
2024-10-20 11:49:43 +02:00
dependabot[bot]
94487006b1
[TASK] Update phpstan/phpstan requirement from 1.12.6 to 1.12.7 (#1493)
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/2.0.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.12.6...1.12.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-10-19 16:39:27 +00:00
dependabot[bot]
bc0af0d503
[TASK] Update ssch/typo3-rector requirement from 2.10.1 to 2.10.2 (#1492)
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.10.1...v2.10.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-10-17 06:03:10 +00:00
dependabot[bot]
6b1c2d7670
[TASK] Update ssch/typo3-rector requirement from 2.9.2 to 2.10.1 (#1491)
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.9.2...v2.10.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-10-16 05:55:11 +00:00
Oliver Klee
9a8834998f
[TASK] Reorder the PHP-related steps in the ci:static script (#1489)
Check for syntax errors with PHP lint first, then check for
structural problems with Rector and PHPStan, and after that check
the coding style.
2024-10-13 17:19:52 +02:00
dependabot[bot]
7c4504600f
[TASK] Update spaze/phpstan-disallowed-calls requirement (#1488)
Updates the requirements on [spaze/phpstan-disallowed-calls](https://github.com/spaze/phpstan-disallowed-calls) to permit the latest version.
- [Release notes](https://github.com/spaze/phpstan-disallowed-calls/releases)
- [Commits](https://github.com/spaze/phpstan-disallowed-calls/compare/v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: spaze/phpstan-disallowed-calls
  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-10-11 05:14:04 +00:00
bernd
f134e193cd
[TASK] Use the development php.ini on GitLab CI (#1481)
Fixes #1214
2024-10-07 21:01:36 +02:00
Oliver Klee
9446d14b77
[TASK] Move a repository test from unit to functional (#1484)
Unit tests for repositories are quite a hassle as we then need to
set up all dependencies in `setUp()` ourselves.

So convert the test to a functional tests where we can rely on the
container to create and initialize the subject for us.
2024-10-06 20:50:24 +02:00
dependabot[bot]
f93c998a92
[TASK] Update phpstan/phpstan requirement from 1.12.5 to 1.12.6 (#1486)
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/2.0.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.12.5...1.12.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-10-06 18:34:47 +00:00
Muhammad Salman
c99b073bf6
[TASK] Rework the testing framework section in the docs (#1480) 2024-10-06 20:20:31 +02:00
dependabot[bot]
82a1df5eda
[TASK] Update ssch/typo3-rector requirement from 2.8.0 to 2.9.2 (#1485)
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.8.0...v2.9.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-10-04 14:53:53 +00:00
dependabot[bot]
1a4fc18b6c
[TASK] Update tomasvotruba/type-coverage requirement from 0.3.1 to 1.0.0 (#1478)
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.1...1.0.0)

---
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-10-02 05:15:37 +00:00
dependabot[bot]
13be4d6c37
[TASK] Update ergebnis/composer-normalize requirement (#1477)
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.43.0...2.44.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-10-01 06:01:13 +00:00
dependabot[bot]
9ad48b528f
[TASK] Update ssch/typo3-rector requirement from 2.7.0 to 2.8.0 (#1476)
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.7.0...v2.8.0)

---
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-09-30 15:51:06 +00:00
Oliver Klee
a3d72de1de
[FEATURE] Add Composer scripts and a CI job for Rector (#1459)
* [FEATURE] Add Composer scripts and a CI job for Rector

Closes #851
2024-09-30 07:21:41 +02:00
Oliver Klee
d8323ffb2d
[TASK] Used fixed versions for most development dependencies (#1475)
We don't want our build to break when a new version of a development
dependency like PHPUnit or PHPStan gets released. Instead, we want to
be able to examine the (possibly changed) behavior in the pull request
by Dependabot that updates this dependency.
2024-09-29 08:56:01 +02:00
Oliver Klee
ef1e39b20d
[TASK] Bump the Symfony development dependencies (#1468)
For development versions, we don't need to bother supporting
lower versions of dependencies.
2024-09-27 16:17:18 +02:00
Oliver Klee
b0a4a7c611
[TASK] Sort the includes for GitLab CI (#1464)
This will make maintenance of this file a bit easier.
2024-09-27 13:02:29 +02:00
dependabot[bot]
76eb2b22d5
[TASK] Update ssch/typo3-rector requirement from ^2.6.5 to ^2.7.0 (#1474)
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.5...v2.7.0)

---
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-09-27 10:46:23 +00:00
Oliver Klee
adb2b6693e
[TASK] Add a time limit to the documentation check on CI (#1472)
This will avoid that a hung job will consume up to 30 minutes
of CPU time.
2024-09-27 09:12:36 +02:00
dependabot[bot]
6e987aca7b
[TASK] Update phpstan/phpstan requirement from ^1.12.4 to ^1.12.5 (#1473)
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/2.0.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.12.4...1.12.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-09-26 13:09:39 +00:00
dependabot[bot]
8cbf6abd27
[TASK] Update phpstan/phpstan-strict-rules requirement (#1467)
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.6.0...1.6.1)

---
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-09-20 14:18:02 +00:00
dependabot[bot]
3c5c350937
[TASK] Update phpstan/phpstan requirement from ^1.12.3 to ^1.12.4 (#1466)
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/2.0.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.12.3...1.12.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-09-19 08:30:37 +00:00
dependabot[bot]
1014f19fe5
[TASK] Update squizlabs/php_codesniffer requirement (#1465)
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.2...3.10.3)

---
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-09-18 11:23:46 +00:00
bernd
026b13a52b
[TASK] Set npm to version 10.8.2 (#1463) 2024-09-17 15:08:09 +02:00
bernd
fb7b22a559
[TASK] Change the image to the official core testing image (#1462) 2024-09-17 14:32:40 +02:00
Łukasz Uznański
fdace0a094
[BUGFIX] Fix functional php8.2 v12 highest job in GitLab CI(#1460) 2024-09-17 13:34:16 +02:00
Oliver Klee
79601e8aa6
[TASK] Remove redundancies in the prepare-release Composer script (#1458)
We're already removing the whole `Build/` directory in this script.

So there is no need to also remove the individual files in this
directory.
2024-09-17 13:20:30 +02:00
bernd
ead187c779
[BUGFIX] Add node version 20.17.0 to package.json (#1457) 2024-09-17 12:42:15 +02:00
Łukasz Uznański
902097b7dd
[BUGFIX] Fix parallel lint in GitLab CI (#1456) 2024-09-17 12:23:40 +02:00
Łukasz Uznański
ac8c1248ea
[TASK] Move php sniff to Build dir (#1357)
Part of #1186
2024-09-17 11:41:40 +02:00
dependabot[bot]
ab23166274
[TASK] Update phpstan/phpstan requirement from ^1.12.2 to ^1.12.3 (#1454)
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/2.0.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.12.2...1.12.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-09-09 09:05:35 +00:00
Oliver Klee
022cdadec9
[TASK] Update the testing framework (#1453)
Co-authored-by: Daniel Siepmann <coding@daniel-siepmann.de>
2024-09-07 14:33:57 +02:00
bernd
534de16770
[TASK] Add two new ISSUE_TEMPLATES, feature and task (#1446)
* Update .github/ISSUE_TEMPLATE/feature.md
Co-authored-by: Oliver Klee <typo3-coding@oliverklee.de>
* Update .github/ISSUE_TEMPLATE/task.md
Co-authored-by: Oliver Klee <typo3-coding@oliverklee.de>
2024-09-07 12:33:23 +02:00
dependabot[bot]
db7bb0c73e
[TASK] Update phpstan/phpstan requirement from ^1.12.1 to ^1.12.2 (#1452)
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/2.0.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.12.1...1.12.2)

---
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-09-06 06:05:49 +00:00
Oliver Klee
c5d9e1d08e
[TASK] Drop .phpstorm.meta.php (#1448)
With modern PHPDoc annotations and modern PhpStorm versions, this
file is not needed anymore.
2024-09-06 07:24:49 +02:00
Oliver Klee
a0fa00564c
[TASK] Unify the coverage-related directories (#1450)
As we'll need to have `build/logs/` for the merged coverage data
anyway, there is no point to have the separate coverage files
in `.Build/coverage/` instead of in `build/coverage/`.

Now the setup is more consistent.

Please note that this only affects the CI builds as we usually
only collect coverage data there for the pull requests.
2024-09-06 07:23:29 +02:00
dependabot[bot]
22598ef789
[TASK] Update phpstan/extension-installer requirement (#1449)
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.2...1.4.3)

---
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-09-05 05:26:41 +00:00