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

496 commits

Author SHA1 Message Date
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
Ł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
Ł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
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
Ł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
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
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
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
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
Łukasz Uznański
ddecb3009f
[FEATURE] Add phpcpd (#149)
Resolves: #129
2020-11-21 18:21:09 +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
3f0e697c1b
[TASK] Add more files to php sniffing and fixing (#123)
Co-authored-by: Oliver Klee <typo3-coding@oliverklee.de>
2020-10-14 11:42:00 +02:00
Oliver Klee
79a6018501
[BUGFIX] Always use the configuration file for php-cs-fixer (#119)
Fixes #114
2020-10-11 15:17:18 +02:00
Oliver Klee
3cc4abb092
[TASK] Switch the default branch from master to main (#117)
Also update URLs to other repositories that also have done
the switch.
2020-10-10 14:02:59 +02:00
Łukasz Uznański
0338647e34
[TASK] Remove security checker (#111)
Resolves: #110
2020-10-07 14:10:44 +02:00
Łukasz Uznański
38641babb1
[TASK] Rename dist files (#112)
Resolves: #68
2020-10-07 14:03:20 +02:00
Łukasz Uznański
e7a46364e0
[TASK] Fix find command for json and yaml lint (#92)
Resolves: #91

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-09-04 20:43:33 +02:00
Łukasz Uznański
b76acbd734
[TASK] Remove install-extension-dummy from composer.json (#93)
Resolves: #90

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-09-04 20:40:17 +02:00
Łukasz Uznański
ee7e76e18f
[TASK] Add PHP YAML lint instead of GitHub action (#84)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-08-05 13:49:10 +02:00
Łukasz Uznański
dc3f774966
[FEATURE] Add security check (#78)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-08-05 11:49:53 +02:00
Łukasz Uznański
cce0761ce5
[TASK] Set reflection docblock version to avoid bug in package (#76)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.pl>
2020-07-22 19:20:37 +02:00
Łukasz Uznański
4be996d822
[TASK] Add json lint (#62)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.pl>
2020-07-21 12:59:26 +02:00
Łukasz Uznański
0cd15131a3
[FEATURE] Add phpcs fixer (#60)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-07-08 17:41:07 +02:00
Oliver Klee
0616bb778a
[TASK] Update all dependencies (#57) 2020-07-02 11:45:19 +02:00
Oliver Klee
6671dce5b3
[BUGFIX] Always use the Composer-installed tools (#49)
Add the full relative path to Composer-installed binaries to make
sure that are used instead of other versions that happen to be in
the path.

Also drop unneeded trailing slashes from directories used in
Composer scripts.
2020-06-23 19:36:54 +02:00
Oliver Klee
be01bcec29
[BUGFIX] Avoid unwanted higher PHP versions (#51)
To avoid stating any untested compatibility with a (non-existent) PHP
version 7.5, the requirements in the `composer.json` need to provide
the patch-level version as well as `~7.0` works the same as `^7.0`,
while `~7.0.0` does not.
2020-05-22 12:34:13 +02:00
Oliver Klee
a9f64159ec [TASK] Switch the code sniffing from PSR-2 to PSR-12 (#35)
Also update the corresponding packages and autoformat the code again.

Fixes #3
2019-12-07 17:44:32 +01:00
Andreas Wolf
0444f10243 [TASK] Allow TYPO3 10 in composer.json and ext_emconf.php (#27) 2019-12-07 12:48:34 +01:00
Andreas Wolf
94c0158888 [TASK] Add PHP 7.4 in composer.json and ext_emconf.php (#25) 2019-12-07 12:29:45 +01:00
Andreas Wolf
3f3c9285d9 [CLEANUP] Fix PHP_Codesniffer issues
Resolves: #21
2019-12-07 12:13:32 +01:00
Oliver Klee
29bf7ccae5
[TASK] Convert the PHP namespaces to "TTN" (#9)
Fixes #1
2019-12-01 12:16:06 +01:00
Oliver Klee
691229fb2a
[TASK] Update the TTN references (#7)
- use "TYPO3 Trainer Network" as company in the `ext_emconf.php`
- drop the project homepage link from the `composer.json`
2019-11-27 15:15:59 +01:00
Oliver Klee
19ed1f327f
[TASK] Change the Composer namespace to "ttn" (#5)
Also update the GitHub URLs in the `composer.json`.

Fixes #2
2019-11-27 15:04:57 +01:00
Oliver Klee
55a72cca96
[CLEANUP] Sort the Composer dependencies (#61) 2019-11-05 18:57:42 +01:00
Oliver Klee
110bd7c1e7
[BUGFIX] Disable the Console extension dummy again (#60) 2019-10-29 16:12:38 +01:00
Oliver Klee
8eaf03a6a4
[CLEANUP] Drop cms-package-dir from composer.json (#59) 2019-10-29 13:36:40 +01:00
Oliver Klee
69a0f60d32
[FEATURE] Run the functional tests in parallel (#58) 2019-10-29 11:45:33 +01:00
Oliver Klee
82eaf794d4
[TASK] Upgrade PHPUnit to 7.5.14 (#52) 2019-08-12 17:37:53 +02:00
Oliver Klee
3401e32a84
[FEATURE] Add PHP-CS-Fixer (#53)
Also run the fixer on all classes and tests.
2019-08-12 17:25:59 +02:00
Oliver Klee
ae9c6f5622
[TASK] Stop building with the lowest Composer dependencies (#55)
This has been too much of a hassle due to breakage caused by old
dev dependencies.
2019-08-12 16:52:51 +02:00
Oliver Klee
37d8935efa
[FEATURE] Add support for PHP 7.3 (#51) 2019-08-12 16:01:12 +02:00
Oliver Klee
fce8d64606
[TASK] Drop support for TYPO3 < 9.5 (#50) 2019-08-12 15:54:29 +02:00
Oliver Klee
64908dad96
[TASK] Drop support for PHP < 7.2 (#49) 2019-08-12 15:47:15 +02:00
Oliver Klee
1c82c6d3a2
[FEATURE] Add support for TYPO3 9.6 (#48) 2019-08-12 15:41:55 +02:00
Oliver Klee
5b0d040e06
[TASK] Drop support for TYPO3 7.6 and require TYPO3 >= 8.7 (#47) 2019-08-12 15:30:02 +02:00
Oliver Klee
85aeb15019
[TASK] Update and pin the dev dependencies (#45) 2019-08-12 14:54:50 +02:00
Oliver Klee
023698729b
[FEATURE] Add PHP_CodeSniffer to the Travis CI build (#44) 2019-08-12 13:49:05 +02:00
Oliver Klee
3cd030387f
[CLEANUP] Drop the TYPO3 package repository from composer.json (#43) 2019-08-09 19:40:03 +02:00
Oliver Klee
296f8b8b8d
[BUGFIX] Drop an obsolete "replace" entry from composer.json (#42) 2019-08-08 16:12:04 +02:00
Oliver Klee
995b1bde8e
[CLEANUP] Drop the dependency of roave/security-advisories (#41)
This dependency should be on the site project or the distribution, not
on the individual extensions.
2019-08-08 12:45:07 +02:00
Oliver Klee
b855b77191
[TASK] Change from GPL V3+ to GPL V2+ (#40)
This allows installing this extension alongside with GPL-V2-only
extensions.
2019-08-08 12:38:56 +02:00
Oliver Klee
adf0b308a1
[TASK] Update the dev dependencies (#36)
Also drop a redundant `--prefer-stable --prefer-dist` from the
installation process as this already is the configured default
in the `composer.json`.
2018-10-25 21:46:46 +02:00
Oliver Klee
2e7bc6369f [TASK] Remove ChromeDriver from composer.json 2018-06-01 10:44:02 +02:00
Oliver Klee
fd3f73af13
[FEATURE] Example acceptance tests with Codeception (#31) 2018-05-31 23:48:38 +02:00
Oliver Klee
b0ede23c29
[CLEANUP] Streamline .travis.yml and composer.json (#24)
Use latest changes from ext_scaffold.
2018-05-28 15:08:56 +02:00
Oliver Klee
a4089e04e9
[FEATURE] Functional tests for the tea controller (#21) 2018-05-27 00:28:13 +02:00
Oliver Klee
a32cce2dff
[TASK] Update the testing framework from 2.0 to 3.0 (#11)
Also mark in the composer.json that stable dist packages are preferred.
2018-05-25 17:18:03 +02:00
Oliver Klee
e2f39033c0
[FEATURE] Tea model and repository (#10) 2018-05-25 16:19:12 +02:00
Oliver Klee
7fbde75e2b
[FEATURE] Add TypoScript and lint it (#9) 2018-01-27 17:44:42 +01:00
Oliver Klee
d6ad3b80b1
[CLEANUP] Restructure the Composer scripts (#8) 2018-01-27 16:04:27 +01:00
Oliver Klee
d4e55df95a
[TASK] Link the extension on Travis (#6) 2018-01-25 18:59:55 +01:00
Oliver Klee
a1714ab0da
[FEATURE] Composer script for PHP linting (#5) 2018-01-25 17:22:40 +01:00
Oliver Klee
a0d823bed8
[TASK] Require more specific TYPO3 versions (#4) 2018-01-25 16:15:33 +01:00
Oliver Klee
2146fb2cdd
[TASK] Install typo3/cms on Travis (#3)
Also drop the composer validation CI step and clean up the branch alias.
2018-01-24 15:36:29 +01:00
Oliver Klee
99277a3cb4 [TASK] Allow PHP up to 7.2.x
Also remove the dependency on the phpunit extension.
2018-01-10 21:42:25 +01:00
Oliver Klee
617ef35c8f [TASK] Clean up and complete the composer.json 2018-01-10 19:54:29 +01:00
Oliver Klee
77674ae9c6 [BUGFIX] Fix composer.json validation errors 2017-12-23 01:19:25 +01:00
Oliver Klee
309eb425a2 [CLEANUP] Clean up composer.json and ext_emconf.php 2017-12-23 00:53:15 +01:00
Oliver Klee
3cc3fd09b1 [TASK] Switch the functional tests to nimut/testing-framework 2017-09-08 16:09:51 +02:00
Oliver Klee
646fef357f [TASK] Update the testing framework to version 2.0 2017-09-07 15:45:35 +02:00
Oliver Klee
24786cc859 [TASK] Add security-advisories to the composer.json 2017-09-07 13:13:21 +02:00
Oliver Klee
0473be52be [BUGFIX] Require typo3/cms-core, not typo3/cms 2017-09-07 13:00:36 +02:00
Oliver Klee
6a1d0e5497 [TASK] Require PHP 7 and PHPUnit 5.7 2017-09-07 12:49:53 +02:00
Oliver Klee
15dc45eca7 [FEATURE] Allow stand-alone tests 2017-05-05 18:00:40 +02:00
Oliver Klee
c322bb8095 [FEATURE] Add a composer.json 2017-04-24 17:46:03 +02:00