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

1076 commits

Author SHA1 Message Date
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
Łukasz Uznański
fc1b690294
Exclude node modules from yarn lint (#215)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-03-16 10:12:35 +01:00
Oliver Klee
e51dad6aea
[BUGFIX] Downgrade the XLIFF files to version 1.0 (#206)
This now matches what the TYPO3 Core uses.

We still use the XLIFF 1.2 schema for validation as version 1.2
is the first fully ratified version.

Closes #198
2021-02-24 19:04:30 +01:00
Łukasz Uznański
d44c2a35b9
[CLEANUP] Drop the reflection docblock dev dependency 2021-02-24 18:16:43 +01:00
Oliver Klee
8e8e3897b6
[BUGFIX] Stop packaging the PHIVE configuration file and tools (#208) 2021-02-24 13:19:09 +01:00
Oliver Klee
4d0b39519f
[BUGFIX] Use correct relative paths for removing files from release (#209) 2021-02-24 13:18:54 +01:00
Oliver Klee
73a27f7306
[TASK] Always run all CI jobs (#205)
Even if a job fails with e.g., a certain PHP version, we still want to
know if it succeeds with which other PHP versions.
2021-02-24 12:24:52 +01:00
Oliver Klee
ef38d7d84b
[TASK] Drop the .phar suffix from the tools (#204)
PhpStorm by default indexes `*.phar` files. For our current set of
tools, we do not want this. (This keeps PhpStorm from complaining
about multiple versions of the same class.)

Also mark the tools as binary for git.
2021-02-24 12:02:56 +01:00
Łukasz Uznański
9cb2c462d8
[TASK] Migrate typoscript linter to phive (#200)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-02-24 11:46:56 +01:00
Łukasz Uznański
edf9770ce5
[TASK] Migrate php-cs-fixer to phive (#199)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-02-24 11:39:28 +01:00
Łukasz Uznański
2aae18c2b1
[FEATURE] Add TER release via github actions (#189)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-02-22 16:59:15 +01:00
Martin Bless
d54111edf7
Update README.md (#197)
Add link where to find the manual.
2021-02-22 16:53:56 +01:00
Łukasz Uznański
3a086c5552
Add composer normalize phive (#193) 2021-02-18 10:44:35 +01:00
Łukasz Uznański
c94582767a
Migrate phpcs to phar (#196)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-02-11 10:58:34 +01:00
Łukasz Uznański
6e57ba002b
Use PHPCPD as phar instead of composer package (#190)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-02-10 16:03:39 +01:00
Łukasz Uznański
36acb9a529
Update urls in composer json (#195)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-02-10 15:55:37 +01:00
Łukasz Uznański
1c26b55310
Fixes to readme (#194)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-02-10 15:55:08 +01:00
Łukasz Uznański
241c16d950
Normalize composer json file (#191)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2021-02-03 19:52:21 +01:00
Oliver Klee
12ec05cfa1
[BUGFIX] Also run the CI for PRs against maintenance branches (#187) 2021-01-15 17:13:51 +01:00
Oliver Klee
5ec57829e4
[BUGFIX] Fix the Composer cache directory in the CI configuration (#186)
Fixes #184
2021-01-09 23:46:04 +01:00
Oliver Klee
e319c78fd1
[BUGFIX] Disable Xdebug in the CI build (#185)
This avoid problems with Xdebug 3 (the version that now automatically
gets installed).

It also should speed up the build a bit.
2021-01-06 13:06:39 +01:00
Łukasz Uznański
c825e30229
[TASK] Remove code quality job from GitLab CI template (#183)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-12-15 11:09:13 +01:00
Oliver Klee
4e8592aa05
[CLEANUP] Sort the requirements in the composer.json (#182)
This will reduce unrelated changes when requiring new packages
(as the `composer.json` is configured to keep the requirements
sorted).
2020-12-02 17:45:16 +01:00
Łukasz Uznański
68ec441b95
[FEATURE] Add frontend linting to GitLab CI
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-12-02 16:08:00 +01:00
Łukasz Uznański
a62d9ae58d
Fix to copypaste check for gitlab ci (#180) 2020-12-01 23:39:46 +01:00
Oliver Klee
2344557abc
[CLEANUP] Autoformat all files (#175)
This will reduce unrelated autoformatting changes in other commits
(and it also makes the code more readable).
2020-12-01 23:12:34 +01:00
Oliver Klee
0d09a2f0ac
[CLEANUP] Adapt the TypoScript lint settings to the .editorconfig settings (#179)
Like in the Core, TypoScript needs to be indented with 2 spaces, not
4 spaces.

Also reformat the TypoScript files accordingly.
2020-12-01 03:01:54 +01:00
Oliver Klee
373c7965b4
[CLEANUP] Adopt .editorconfig settings from the TYPO3 core (#176)
Also drop redundancies and sort the entries.
2020-11-29 21:15:29 +01:00
Łukasz Uznański
dee89c5266
[TASK] Prepare documentation rendering (#157)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-11-29 18:28:34 +01:00
Oliver Klee
e92bd668a0
[FEATURE] Adopt the stylelint configuration from the TYPO3 Core (#177) 2020-11-29 17:44:58 +01:00
Oliver Klee
c239eaf1c4
[CLEANUP] Sort the lines in the .gitignore and .gitattributes (#178) 2020-11-29 17:34:28 +01:00
Oliver Klee
1d81f981f9
[BUGFIX] Fix cache keys for the Composer cache in GitHub Actions (#174)
The key must not be split across multiple lines.
2020-11-29 15:04:50 +01:00
Oliver Klee
f9aac63ae7
[BUGFIX] Explicitly set the Ubuntu version for GitHub Actions (#162)
This fixes a warning when running the CI build.

As the functional tests currently do not run with the Ubuntu 20.04
runner, we need to keep using 18.04.

Also explicitly require the `mysqli` PHP extension.
2020-11-27 01:41:24 +01:00
Oliver Klee
a9026832d6
[CLEANUP] Explicitly set the Ubuntu version for most CI steps (#172) 2020-11-24 20:36:29 +01:00
Oliver Klee
b4936ebb6a
[BUGFIX] Fix the CI build with the lowest dependencies (#170)
- fix a syntax error in the `ci.yml`
- also update/downgrade transitive dependencies
- add a conflict with broken versions of typo3/class-alias-loader
- use a Composer-2-compatible version of `helhum/typo3-composer-setup`
- start running the unit and functional tests with the lowest
  dependencies on GitHub Actions

Fixes #50
2020-11-24 02:14:15 +01:00
Oliver Klee
bc21852ba0
[CLEANUP] Consistently quote all CI step names for GitHub actions (#168) 2020-11-24 02:08:42 +01:00
Oliver Klee
898819d468
[TASK] Explicitly use Composer 2 on GitHub actions (#169) 2020-11-24 02:07:55 +01:00
Oliver Klee
606775161f
[FEATURE] Add a configuration for XML files to the .editorconfig (#166)
Fixes #163
2020-11-24 02:06:45 +01:00
Oliver Klee
a8e78e39b3
[TASK] Stop displaying a progress bar during composer require (#167)
Progress bars do not make sense when the output is logged
(like on GitHub actions).
2020-11-24 02:02:32 +01:00
Oliver Klee
b38ed0fa7b
[BUGFIX] Stop treating *.ts files as TypoScript in the .editorconfig (#165)
`*.ts` are TypeScript files, not TypoScript files.
2020-11-24 02:01:21 +01:00
Oliver Klee
1dde5c6556
[CLEANUP] Polish the comments in .editorconfig (#164) 2020-11-24 01:50:33 +01:00
Łukasz Uznański
ddecb3009f
[FEATURE] Add phpcpd (#149)
Resolves: #129
2020-11-21 18:21:09 +01:00
Oliver Klee
091e00e478
[FEATURE] Also run the CI build once a week (#160)
This will allow us to catch problems with dependencies or
the build environment, i.e., problems that are not related
to changes in our code base.
2020-11-21 17:58:35 +01:00
Łukasz Uznański
3366e63eff
[TASK] Add feature list (#148)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-11-18 12:59:48 +01:00
Łukasz Uznański
3177d45497
[BUGFIX] Fix to GitLab regression (#158)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-11-16 22:31:35 +01:00
Łukasz Uznański
283ef5e9eb
Migrate secret detection in gitlab ci (#156)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-11-04 18:08:50 +01:00
Oliver Klee
6d50a29034
[TASK] Smoothen the way to Composer 2 (#152)
- drop the `--no-suggest` option that was deprecated in Composer 2
- output the Composer version to make debugging problems easier
2020-10-31 19:18:59 +01:00
Łukasz Uznański
4dc98a081a
[TASK] Add one command to do sniffers and fixers (#147)
Resolves: #116

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-10-31 15:24:18 +01:00
Łukasz Uznański
d4ec80de29
[FEATURE] Add frontend linting (#120)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
Co-authored-by: Oliver Klee <typo3-coding@oliverklee.de>
2020-10-31 15:04:44 +01:00