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

1172 commits

Author SHA1 Message Date
Karsten Nowak
7568608c48
Merge 055a2f07bc into 0a01e3f20c 2024-11-07 01:03:39 -05:00
dependabot[bot]
0a01e3f20c
[TASK][Dependabot] Update phpstan/phpstan requirement (#1510)
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.7...1.12.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-11-06 22:51:15 +00:00
dependabot[bot]
15a92250b7
[TASK][Dependabot] Bump eslint from 9.13.0 to 9.14.0 (#1509)
Bumps [eslint](https://github.com/eslint/eslint) from 9.13.0 to 9.14.0.
- [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/v9.13.0...v9.14.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 06:03:28 +00:00
dependabot[bot]
a2ae79de2f
[TASK][Dependabot] Bump eslint from 9.2.0 to 9.13.0 (#1507)
Bumps [eslint](https://github.com/eslint/eslint) from 9.2.0 to 9.13.0.
- [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/v9.2.0...v9.13.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-30 17:09:46 +00:00
dependabot[bot]
6594465565
[TASK][Dependabot] Bump prettier from 3.2.5 to 3.3.3 (#1508)
Bumps [prettier](https://github.com/prettier/prettier) from 3.2.5 to 3.3.3.
- [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.5...3.3.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-30 17:08:47 +00:00
dependabot[bot]
2d8049d6ef
[TASK][Dependabot] Bump eslint-plugin-prettier from 5.1.3 to 5.2.1 (#1506)
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 5.1.3 to 5.2.1.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.1.3...v5.2.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-30 17:02:26 +00:00
dependabot[bot]
fa9fd5d96a
[TASK][Dependabot] Bump stylelint from 16.5.0 to 16.10.0 (#1505)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.5.0 to 16.10.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.5.0...16.10.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-30 17:01:02 +00:00
Bernd Sengupta
54165bbdfa
[BUGFIX] package.json for dependabot (#1504)
Add dependabot npm version
2024-10-30 17:47:39 +01:00
Oliver Klee
57a2639edf
[TASK] Rework how we solicate feedback (#1501)
We have decided to no longer ask users to create GitHub issues for
feedback as this doesn't work well with how we work.

- drop the issue template for technical feedback
- in the README, link to GitHub discussions instead of issues

Fixes #1500
2024-10-29 16:55:43 +01:00
Oliver Klee
8a7bd78df1
[DOCS] Add comment for controller unit tests (#1502)
Explain that those tests are not best practice anymore, and that we're
in the process of migrating them to functional tests.

Fixes #1499
2024-10-29 16:54:53 +01:00
Oliver Klee
fdf4f53d8e
[TASK] Configure Dependabot to create specific commit messages (#1503)
We want to be able to easily recognize PRs/commits created by
Dependabot.

Fixes #1498
2024-10-29 16:53:20 +01:00
bernd
0f976a2c58
[TASK] Add if condition from core runTests.sh (#1497) 2024-10-28 14:52:08 +01:00
dependabot[bot]
24d0755f7a
[TASK] Update spaze/phpstan-disallowed-calls requirement (#1496)
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.5.0...v3.5.1)

---
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-28 05:15:36 +00:00
Wu Tingfeng
16ac145b0a
[BUGFIX] Fix the image URL of the CI status badge (#1495) 2024-10-26 17:20:29 +02:00
dependabot[bot]
e6837fdafe
[TASK] Update ssch/typo3-rector requirement from 2.10.2 to 2.11.0 (#1494)
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.2...v2.11.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-10-25 20:52:56 +00:00
Karsten Nowak
055a2f07bc [BUGFIX] Fix error with spread operator in php 7.4
In php 7.4 error occured:
`Cannot unpack array with string keys`

Related #1120
2024-10-20 11:49:44 +02:00
Karsten Nowak
bf7ade8f98 [BUGFIX] Fix some php stan errors
Related #1120
2024-10-20 11:49:44 +02:00
Karsten Nowak
f86b37df41 [TASK] Remove unused imports
Related #1120
2024-10-20 11:49:44 +02:00
Karsten Nowak
a1cf83ccbc [TASK] Rename test functions
Related #1120
2024-10-20 11:49:44 +02:00
Karsten Nowak
a4ba103993 [TASK] Check that existing teas in other pids were not deleted
Related #1120
2024-10-20 11:49:44 +02:00
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