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

132 commits

Author SHA1 Message Date
jpmschuler
518bae014e
[TASK] Move npm tools and config to default places (#445)
- Move npm tools and config to default places
- Remove now unnecessary config file parameter from npm scripts
- editorconfig and eslint config contradict, adapt editorconfig
- switch JS indent linting to TYPO3 coding standard of 2 spaces
- adapt composer scripts for new npm location
2022-05-18 17:17:45 +02:00
Oliver Klee
e58c7fc150
[TASK] Bump the development dependencies (#442) 2022-04-27 16:00:28 +02:00
Oliver Klee
2e31910c61
[FEATURE] Use Coveralls for the code coverage (#425)
Fixes #345
Closes #400
2022-04-15 18:47:18 +02:00
Oliver Klee
a98d32fdae
[TASK] Move the coverage directories (#427)
There is no need to have the code coverage data directly generated by
the tests run in a non-hidden directory. So now the code coverage is
recorded within `.Build/coverage`.

Only the merged coverage data still needs to be located in `build/logs`
as Coveralls (which we're planning to use) relies on this.
2022-04-13 16:14:25 +02:00
Alexander Nitsche
fc5b861bcd
[TASK] Update docs (#404)
See c2bb63bead for further details.

The README.md should mostly only cover the abstract and links.

The composer commands are the core value of this extension. List
all commands in the documentation and copy the descriptions from
the `composer.json`. This lets the global search at docs.typo3.org
find these commands.

Remove superfluous Linters page, which is integrated now in the
Running page.

Use sentence case in page titles in order to conform to the
TYPO3 documentation standards.

The ambiguous :ts: text role has been removed to
not confuse the writer with typescript and typoscript.

Add the common extension destinations to `composer.json`.
(Packagist displays them in a prominent place.)
2022-04-12 19:00:11 +02:00
Tobias Gaertner
3496732bd8
[BUGFIX] Remove folders Config and Tests from phpcpd call (#411) 2022-03-29 12:21:24 +02:00
Oliver Klee
d5b669a179
[TASK] Update the development dependencies (#401) 2022-03-11 17:16:23 +01:00
Oliver Klee
d4c39d7f5a
[TASK] Add a description for the prepare-release Composer command (#397) 2022-02-25 11:36:30 +01:00
Łukasz Uznański
9e00038119
[FEATURE] Enable php8.1 (#381) 2022-02-23 14:38:20 +01:00
Łukasz Uznański
73721545d7
[BUGFIX] Fix code coverage after switch to core testing framework (#390)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2022-02-20 16:31:48 +01:00
Oliver Klee
4f2c813d7f
[TASK] Switch to the core testing framework (#361)
The TYPO3 core testing framework has more person-power for maintenance
behind it compared to the nimut testing framework. So we should use that.
2022-02-20 15:18:46 +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
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
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
Łukasz Uznański
13ba07f31c
[TASK] Migrate to typo3 coding standards (#340) 2021-11-17 16:45:49 +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
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
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
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
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
Ł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
Ł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
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
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
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
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
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
Łukasz Uznański
e853aa82fb
[BUGFIX] Dont check node modules in json lint (#235) 2021-04-06 22:00:32 +02:00
Oliver Klee
9ec83e6b52
[TASK] Complete the ci:php and ci:static Composer commands groups (#231)
Now the `ci:php` and `ci:static` Composer commands call all commands
that belong in those groups.
2021-04-05 17:26:00 +02:00
Oliver Klee
d9b23a4c3b
[BUGFIX] Fix tool path for fix:php:cs Composer command (#229)
Fixes #228
2021-04-05 17:01:16 +02:00
Oliver Klee
9c36f05e3e
[CLEANUP] Rename the CS fixer composer script (#227)
Also sort the style checks in the GitHub Actions run.

Also improve some headings in the README.
2021-03-30 00:55:20 +02:00
Oliver Klee
45af227eb7
[TASK] Migrate yaml-lint to PHIVE (#207)
Fixes #201
2021-03-17 17:10:39 +01:00
Oliver Klee
db1080b119
[FEATURE] Add type checking via PHPStan (#218) 2021-03-17 01:08:40 +01:00