Oliver Klee
c79986b614
[TASK] Drop the TYPO3 V9 badge ( #372 )
...
We should not advertise what we're not supporting anymore.
2022-01-27 17:08:08 +01:00
Tobias Gaertner
d26feda812
[BUGFIX] Avoid xargs error for empty project ( #370 )
...
The `xargs` shell command will throw an error if find will return an empty result.
Adding `-r` will prevent this error.
Example:
A project has no yml files.
- Before: The yaml-linting fails.
- With that patch: The yaml-linting succeed.
2022-01-27 14:14:02 +01:00
Oliver Klee
a999668f85
[BUGFIX] Avoid php-cs-fixer 3.5.0 ( #371 )
...
Version 3.5.0 has a bug concerning intersection types that breaks our
build.
Fixes #368
2022-01-26 18:25:46 +01:00
Oliver Klee
fda9a53c82
[TASK] Add the TYPO3 Online Days presentation to the README ( #365 )
2022-01-13 12:57:48 +01:00
Oliver Klee
8520b55898
[CLEANUP] Remove code specific to TYPO3 9LTS ( #367 )
2022-01-13 03:26:30 +01:00
Oliver Klee
34eaf0cab1
[TASK] Drop support for TYPO3 9LTS ( #363 )
...
Now that we have added support for TYPO3 11LTS, we have been supporting
3 different TYPO3 LTS versions in the same branch. This has turned out
to be too much of a hassle when running the test. So now is the time
to drop support for 9LTS.
2022-01-12 11:22:59 +01:00
Oliver Klee
8654223e22
V1.1.0: Add support for TYPO3 11LTS ( #364 )
2022-01-04 01:33:24 +01:00
Oliver Klee
de5c407c1a
[BUGFIX] Fix CI builds for PRs from forks ( #360 )
...
It has turned out that having builds only for pushes (but not
pull requests) is not enough for triggering builds for PRs
from forks.
So we will need to live with pushes to non-PR branches other
than main not triggering a build, and having to create a
dummy draft PR for testing the CI build.
This reverts commit d1f02afe79
.
Fixes #359
2022-01-03 01:54:00 +01:00
Oliver Klee
07ff094028
[TASK] Use Composer 2.2 in the CI pipeline ( #362 )
...
With the releases of Composer 2.2.2 and 2.2.3 (and PHPUnit 9.5.11),
running the tests with Composer 2 in the pipeline should be safe afain.
2022-01-02 02:23:40 +01:00
Oliver Klee
3734ba295e
[BUGFIX] Explicitly allow the development Composer plugins ( #353 )
...
This will allow Composer plugins like composer-normalize to run
in Composer >= 2.2 as well.
2021-12-29 02:50:08 +01:00
Oliver Klee
79a13b96a4
[TASK] Update the development dependencies ( #351 )
2021-12-28 02:10:09 +01:00
Oliver Klee
ef82fe29bf
[TASK] Update composer-normalize ( #356 )
...
Also rearrange the entries in the `composer.json` according to the
updated version of `composer-normalize`.
2021-12-26 02:48:55 +01:00
Oliver Klee
074ecf6cbd
[TASK] Upgrade PHPStan & friends ( #357 )
...
Also re-generate the baseline, and update a type annotation to match
what the current version of jangregor/phpstan-prophecy now recognizes.
2021-12-25 02:39:48 +01:00
Oliver Klee
d1f02afe79
[TASK] Always run the CI build after a push ( #354 )
...
This will allow us to test things on the CI pipeline without
having to create a dummy/draft PR for this.
Hopefully, this will also allow builds for forks.
2021-12-24 02:42:15 +01:00
Oliver Klee
feaf6f2fc9
[BUGFIX] Pin Composer to version 2.1.x ( #352 )
...
Composer versions 2.2.0 and 2.2.1 have a bug that breaks PHPUnit.
Until version 2.2.2 is released with a fix, we need to keep to
Composer 2.1 to keep the tests from breaking.
See https://github.com/composer/composer/issues/10387 for details.
2021-12-24 02:15:42 +01:00
Oliver Klee
d4195cd8a6
[TASK] Drop the badge for unstable releases from the README ( #350 )
...
The badge behaves in an unpredictable way if there are mutiple unstable
releases (which happens when we update the branch alias for the `main`
branch) and hence is pretty much useless.
2021-12-24 02:13:38 +01:00
Łukasz Uznański
894508f3d2
[TASK] Add badges to readme ( #343 )
...
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-11-29 18:18:29 +01:00
Ł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