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

690 commits

Author SHA1 Message Date
Łukasz Uznański
13ba07f31c
[TASK] Migrate to typo3 coding standards (#340) 2021-11-17 16:45:49 +01:00
Łukasz Uznański
f0127b3b64
[TASK] Fix php cs related to official configuration (#341)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-11-17 13:14:43 +01:00
Jonas Eberle
02e3633756
[TASK] allow newlines for ternary operator (#338)
The previous configuration disallowed newlines in ternary operator like:

$a = $condition1 && $condition2
    ? $foo_man_this_is_too_long_what_should_i_do
    : $bar;

This seems very arbitrary since breaking on other operators is in fact
allowed.

This change allows such longer statements to be broken apart over
several lines.
2021-11-12 15:25:06 +01:00
Oliver Klee
9c1a522ebb
[FEATURE] Also run the unit tests with V11 in the CI pipeline (#336) 2021-11-06 15:57:36 +01:00
Oliver Klee
51254eb88c
[TASK] Drop the helhum/typo3-composer-setup dev dependency (#334)
This package is no longer needed for running the tests with
modern TYPO3 versions.
2021-11-05 10:36:09 +01:00
Oliver Klee
659735dd5f
[BUGFIX] Require at least TYPO3 11.5.2 for 11LTS (#335)
This fixes a missing Symfony polyfill for `str_starts_with` in
TYPO3 11.5.0 and 11.5.1, which fixes a crash in the unit tests with
TYPO3 11LTS and PHP 7.4 using the lowest possible Composer dependencies.
2021-11-04 01:30:42 +01:00
Łukasz Uznański
1d9d3b2f69
[TASK] Upgrade ddev to v1.18.0 (#331)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-11-03 10:40:10 +01:00
Oliver Klee
6616f79634
[TASK] Upgrade to PHPUnit 8.5 (#328)
Also upgrade to nimut/testing-framework 6.0.

This removes another blocker for running the tests with TYPO3 11LTS.

Fixes #326
2021-11-03 01:15:21 +01:00
Oliver Klee
19f3820d0d
[BUGFIX] Only publish to the TER if the tag is a valid version number (#329)
Tags named like `test-tag` should not trigger a TER releasen, but only
valid version numbers in the format major.minor.bugfix.

Fixes #327
2021-11-03 01:07:00 +01:00
Oliver Klee
696ec68eb0
[TASK] Only install Composer packages once in a CI build (#330)
If the CI build will do a composer update in the next step anyway,
there is no need to actually install any packages when requiring
the desired TYPO3 version.

Fixes #324
2021-11-03 01:05:16 +01:00
Oliver Klee
bd68297b90
[TASK] Update the development dependencies (#325) 2021-11-02 00:52:41 +01:00
Oliver Klee
e9606534b6
[FEATURE] Re-allow installations on TYPO3 11LTS (#323) 2021-10-19 02:22:07 +02:00
Oliver Klee
d8d55e05a6
V1.0.0: First public release (#322) 2021-10-12 19:06:56 +02:00
Oliver Klee
27c535b7d2
[TASK] Temporarily remove support for TYPO3 11LTS (#321)
This reverts commit d548eda14e.
2021-10-12 18:59:55 +02:00
Łukasz Uznański
9bf78a580b
[FEATURE] Calculate code coverage (#266) 2021-10-06 16:23:35 +02:00
Oliver Klee
4ff6bbfc46
[TASK] Keep the PHPStorm meta file out of Composer packaging (#315)
Also re-sort the `.gitattributes` file.

Fixes #313
2021-10-06 16:04:55 +02:00
Oliver Klee
a4a238dcee
[CLEANUP] Drop a 11.4-specific entry from the composer.json (#316)
`ignore-as-root` was needed in TYPO3 11.4 only and is obsolete with
11.5.
2021-10-06 15:44:25 +02:00
Oliver Klee
cb7cdc3dcd
[CLEANUP] Polish the PhpStorm meta file (#317) 2021-10-06 15:43:51 +02:00
Oliver Klee
abca8f73fc
[TASK] Add support for Symfony 6 (#318) 2021-10-06 15:42:52 +02:00
Łukasz Uznański
d548eda14e
[TASK] Add support for TYPO3 11.5 (#314)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-10-06 13:42:35 +02:00
Simon Schaufelberger
31f6a6600e
[TASK] Add PhpStorm meta file (#312)
Add PhpStorm meta file for autocomplete of `GeneralUtility::makeInstance`, `getAccessibleMock` and `getAccessibleMockForAbstractClass` in unit tests
2021-10-02 10:17:59 +02:00
Łukasz Uznański
f49a8bcae3
[TASK] Add php8 compatibility (#311)
Resolves: #287

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-09-23 10:50:10 +02:00
Oliver Klee
0816fad65b
[CLEANUP] Make lazy-loading proxies visible via type annotations (#310)
Relates to #291
2021-09-22 22:34:58 +02:00
Oliver Klee
3939ad083e
[TASK] Also check Configuration/ and Tests/ with PHPStan (#308) 2021-09-22 17:53:03 +02:00
Łukasz Uznański
a2342d5421
[TASK] Allow installation on TYPO3 V11 (#293)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-09-22 17:14:29 +02:00
Łukasz Uznański
8282a886c0
[TASK] Do not package the ddev directory (#309)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-09-22 10:50:41 +02:00
Oliver Klee
ca9a8e4e15
[TASK] Always use @covers annotations in the tests (#298) 2021-09-15 02:11:15 +02:00
Oliver Klee
6e927a8656
[CLEANUP] Fix the Prophecy-related type annotations (#299) 2021-09-15 02:09:37 +02:00
Oliver Klee
a173900a7f
[TASK] Enhance the PHPStan configuration (#302)
- configure the checked paths via the configuration file
- do not output a progress bar on CI
- add a baseline file and a command for creating it
- cap the number of processes

Fixes #281
2021-09-13 04:06:10 +02:00
Oliver Klee
dc07603e21
[BUGFIX] Complete the typo3/cms section in the composer.json (#304)
- make the app dir explicit
- allow the root project to be used as an extension
  (this fixes the test in TYPO3 >= 11.4)
2021-09-11 13:56:03 +02:00
Oliver Klee
610c54d30f
[TASK] Update the development dependencies (#305) 2021-09-11 13:53:27 +02:00
Łukasz Uznański
4bde411dd8
[TASK] Remove author annotations (#294)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-09-07 08:51:11 +02:00
Łukasz Uznański
04d8ffed31
[CLEANUP] Split GitLab jobs (#273) 2021-08-24 10:27:50 +02:00
Oliver Klee
20112ac115
[TASK] Move most development tools from PHIVE to Composer (#282)
We now only use PHIVE for those tools that are not compatible
with the PHP versions we currently support (7.2-7.4).
This currently is only the PHP copy-paste detector
(which requires PHP >= 7.3).

This also (as a nice side effect) provides `ddev composer normalize`
out of the box.

For YAML linting, we now use the `symfony/yaml` package (which already
was installed as an indirected dependency, and which we now explicitly
require).

Fixes #274
Fixes #279
2021-08-24 02:42:02 +02:00
Oliver Klee
01c0d4b4d5
[TASK] Use the Composer scripts for the CI builds by default (#283)
Also stop running the other CI workflow on every push/PR
(as the results of both workflows provide the same results).

Fixes #275
2021-08-24 02:34:05 +02:00
Oliver Klee
32d456f593
[TASK] Move the Composer script descriptions to the composer.json (#284)
Composer has a built-in functionality for describing Composer scripts,
and we should use it for documentating our custom scripts.
2021-08-24 02:27:27 +02:00
Mathias Bolt Lesniak
47455a8941
[FEATURE] Add Composer command for rendering documentation (#277)
Adds the command `docs:generate` to `composer.json`.
2021-08-22 17:47:05 +02:00
Oliver Klee
c7fa1fddd9
[TASK] Completely rewrite the README (#270) 2021-08-13 14:39:15 +02:00
Łukasz Uznański
09ee6e1ffc
[TASK] Clean up the PHIVE configuration file (#272)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-08-10 11:56:38 +02:00
jpmschuler
2f5e1d2826
[BUGFIX] Fix default template names for GitLab CI (#271) 2021-07-31 20:52:45 +02:00
Łukasz Uznański
3be8d3a91a
[TASK] Run functional tests in ddev (#259)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-07-21 13:16:46 +02:00
Łukasz Uznański
8e3e3630a5
[TASK] Add separate workflow for composer scripts (#258)
Co-authored-by: David Bruchmann <david.bruchmann@gmail.com>
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-07-21 13:06:59 +02:00
Łukasz Uznański
4d3520580d
[TASK] Upgrade to CoC-v2 (#262)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-07-14 13:00:32 +02:00
Simon Schaufelberger
40754b7044
[BUGFIX] Actually remove .gitignore (#260)
Actually remove .gitignore in GitHub Action -  release to TER
2021-07-08 02:08:36 +02:00
Łukasz Uznański
403eafb820
[BUGFIX] Fix phpcs fix script (#247) 2021-05-19 13:41:30 +02:00
Łukasz Uznański
c1e713240b
[FEATURE] Add base ddev setup and command (#234) 2021-05-18 23:33:35 +02:00
Łukasz Uznański
6b7684ba77
[TASK] Remove php occurencies in lint scripts (#236) 2021-05-18 23:28:37 +02:00
Łukasz Uznański
406076d8a6
[BUGFIX] Add conflict for doctrine/dbal (#254) 2021-05-18 10:53:10 +02:00
Oliver Klee
f4050e01e8
[TASK] Limit the line length for Markdown files via .editorconfig (#251)
The indentation of 4 spaces for Markdown and XML files already is
set via the default configuration in the `.editorconfig`.

Fixes #244
2021-05-15 01:35:25 +02:00
Łukasz Uznański
dd2378416e
[TASK] Migrate the PHPStan check to GitHub actions (#239) 2021-05-05 13:05:44 +02:00