mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2025-03-16 23:43:50 +01:00
Commit graph

83 commits

Author SHA1 Message Date
Oliver Klee
e47753ecab [FEATURE] Add support for PHP 8.4 ()
Comment-out GitHub Action jobs that fail with PHP 8.4 due to
incompatible dependencies.
2025-02-03 17:37:01 +01:00
Eike Starkmann
29a08dd71b [FEATURE] Switch the PHPUnit tests to paratest ()
Fixes 
2025-02-03 17:37:00 +01:00
Eike Starkmann
8a703d1947 [TASK] ok we still need parallel here
Part of 
2025-02-03 17:22:06 +01:00
Eike Starkmann
a308257d74 [TASK] remove no longer needed php-ex commands and PHP_INI_SCAN_DIR
Part of , 
2025-02-03 17:17:16 +01:00
Eike Starkmann
dca2ea8b0b [TASK] php-lint-php8.0 is no longer available
Part of , 
2025-02-03 15:58:33 +01:00
Eike Starkmann
3ac54e3469 [TASK] php-lint-php7.4 is no longer available
Part of , 
2025-02-03 15:57:00 +01:00
Eike Starkmann
28f17918c9 [TASK] use local php.ini as overlay
Part of 
2025-02-03 15:51:07 +01:00
7c9d145279 [TASK] Drop PHP_CodeSniffer ()
As we already have php-cs-fixer to maintain the CGL.
Therefore we get rid of a second tool for the same job.
They have different rules in the existing setup for newer PHP syntax.

Resolves: 
2025-02-03 13:49:43 +01:00
Oliver Klee
c6cb8cc295 [TASK] Make the naming schema of CI jobs consistent ()
Now the GitLab CI jobs have the TYPO3 version first and the
PHP version second, just like the GitHub Actions. This hopefully
helps avoid confustion like we had in the past, and helps
 reduce cognitive load when working with the CI jobs.

Fixes 
2025-02-03 13:49:43 +01:00
Oliver Klee
36d9600fae [TASK] Drop obsolete GitLab CI jobs ()
Also link two existing jobs.

Followup to  and 
2025-02-03 13:49:43 +01:00
b900a408cf [!!!][TASK] Remove TYPO3 v11 Support ()
As official v11 support has stopped.

Resolves: 
2025-02-03 13:49:43 +01:00
70a76f7a76 [!!!][TASK] Drop support for PHP < 8.1 ()
As this is not supported by current TYPO3 LTS versions.

Resolves: 
2025-02-03 13:49:43 +01:00
Eike Starkmann
736312ce58 [TASK] pdo is already part of the container
Part of 
2025-02-03 13:18:10 +01:00
Eike Starkmann
d2cf9c8a76 [BUGFIX] add mysqli, pdo and pdo_mysql
Part of 
2025-02-03 12:44:17 +01:00
Eike Starkmann
993e7f542c [BUGFIX] install icu
Part of 
2025-02-03 12:40:47 +01:00
Eike Starkmann
20d6b342f6 [BUGFIX] add ext-intl to docker container
Part of 
2025-02-03 12:29:15 +01:00
bernd
f134e193cd
[TASK] Use the development php.ini on GitLab CI ()
Fixes 
2024-10-07 21:01:36 +02:00
Oliver Klee
a3d72de1de
[FEATURE] Add Composer scripts and a CI job for Rector ()
* [FEATURE] Add Composer scripts and a CI job for Rector

Closes 
2024-09-30 07:21:41 +02:00
Oliver Klee
b0a4a7c611
[TASK] Sort the includes for GitLab CI ()
This will make maintenance of this file a bit easier.
2024-09-27 13:02:29 +02:00
bernd
fb7b22a559
[TASK] Change the image to the official core testing image () 2024-09-17 14:32:40 +02:00
Łukasz Uznański
fdace0a094
[BUGFIX] Fix functional php8.2 v12 highest job in GitLab CI() 2024-09-17 13:34:16 +02:00
Łukasz Uznański
902097b7dd
[BUGFIX] Fix parallel lint in GitLab CI () 2024-09-17 12:23:40 +02:00
Felix Althaus
adc864f257
[FEATURE] Update node to version 22 ()
Fixes: 
2024-08-01 13:31:59 +00:00
Oliver Klee
a6710987bf
[TASK] Rename the CSS lint npm command ()
The name of the command should reflect the type of file that gets
linted.

This is a pre-patch to .
2024-07-30 20:46:53 +02:00
Felix Althaus
cd6df41eb7
[TASK] Rename npm commands to fit general naming scheme () 2024-07-30 19:44:41 +02:00
5a25569a19
[TASK] Use typoscript instead of ts within script names ()
As ts is usually understood as TypeScript instead of TypoScript.
TYPO3 itself also changed its file extension from `.ts` to `.typoscript`.
We reflect that by adopting the script name.

Resolves: 
2024-07-29 19:49:37 +02:00
Stefan Bürk
dc04824b4c
[TASK] Streamline nodejs dependency management ()
With  the `nodejs` dependency management has
been changed from `yarn` to `npm` missing the one
or other important requirement.

This change streamlines the management by ...

* adding a `.nvmrc` file to the repository root to
  allow automatic nodejs/npm switch if the nvm shell
  switching is available on the host system.
* adding a `.npmrc` file to specify the lock file
  version and engine option.
* adding `nodejs` and `npm` version constraints as
  `engine` specification to the `package.json` file.
* remove `package-lock.json` from `.gitignore` and
  add it to the repository to ensure reproducable
  setups - which becomes more important if extension
  get custom backend/frontend modules and javascript.
* adding `package-lock.json` to exclude it from archive,
  due to remove from the `.gitignore` file.
* ensuring that new development files are excluded from
  packaging and publishing.
* use `npm ci` in GitHub action workflows to install
  from the lock-file.

Note: This change unblocks adding `npm` dispatching
to `Build/Scripts/runTests.sh`.

Resolves: 
Related: 
2024-05-14 12:13:43 +02:00
Łukasz Uznański
fbb7e0c930
[TASK] Switch from yarn to npm ()
Resolves: 
2024-05-07 15:40:32 +02:00
Łukasz Uznański
964efa4963
[TASK] Migrate to Core testing docker image in GitLab CI () 2024-03-11 12:25:59 +01:00
ae233d8de0
[TASK] Prevent composer.lock file ()
This is a TYPO3 extension, a library.
We do not track the `composer.lock` file for that reason.
Composer itself offers an option to prevent generation of the file.
This is now configured to prevent the creation of the file.

That should prevent issues with local version of the file.
One might change the `composer.json` version constraints but updates
might fail due to locked version constraints.
This no longer happens if no locked version, due to missing lock file,
exist.

Composer would render warnings when using `composer install` without a
lock file. That's why we update the CI commands to use `composer update`
instead. That warning was already rendered within CI due to missing
file.
2024-02-07 09:54:59 +01:00
Simon Schaufelberger
1f4370c92f
[TASK] Add PHP CS Fixer to GitLab () 2024-02-04 10:03:06 +01:00
Łukasz Uznański
503177b41a
[TASK] Add php8.3 to functional tests gitlab ()
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2023-12-15 16:49:23 +01:00
Łukasz Uznański
deded4d20d
[TASK] Migrate xliff lint on gitlab ()
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2023-12-15 16:34:37 +01:00
Łukasz Uznański
a92a131e17
[BUGFIX] Fix functional tests with PHP 8.2 on GitLab CI () 2023-12-05 11:03:40 +01:00
Łukasz Uznański
9ffbf82d3e
[TASK] Add php8.3 unit tests to gitlab ci ()
Depends on: 

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2023-11-27 18:19:25 +01:00
Łukasz Uznański
5998d5699b
[FEATURE] Add PHP 8.3 lint to GitLab CI ()
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2023-11-27 18:14:17 +01:00
687af8b8a3
[BUGFIX] Wrong GitLab job name ()
The job name did not match the file name and the actual content of the
job.

Relates: 
2023-11-27 12:51:38 +01:00
Oliver Klee
afd6a00b1a
[TASK] Output the job name in the GitLab CI builds ()
Some GitLab jobs seem to run commands that do not belong in the
the corresponding job.

This change outputs the job name in CI in order to help us track
this down.

Related: 
2023-11-27 12:43:26 +01:00
Łukasz Uznański
d493356b4e
[TASK] Remove deprecated license scanning ()
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2023-11-02 23:49:14 +01:00
Łukasz Uznański
1c41b9df56
[BUGFIX] Add missing PHP extensions in GitLab CI
Fixes 
2023-06-14 12:51:03 +02:00
Łukasz Uznański
a4905fe0bd
[TASK] Remove obsolete php copy paste check () 2023-06-14 12:46:36 +02:00
Oliver Klee
a281a7355f
[TASK] Bump the TYPO3 12 dependency from ^12.3 to ^12.4 ()
TYPO3 12.4 AKA 12LTS has been released.
2023-04-25 10:01:54 +02:00
0e85116d75
[TASK] Remove phpcpd (PHP Copy/Paste Detector) ()
The project got archived and is not maintained anymore.

Resolves: 
2023-04-06 16:26:51 +02:00
Chris Müller
959d2ab2f9
[FEATURE] Support PHP 8.2 () 2023-04-02 12:53:33 +02:00
Oliver Klee
10ba55414e
[TASK] Bump the TYPO3 12 version from 12.2 to 12.3 ()
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
2023-04-01 16:09:44 +00:00
Łukasz Uznański
f814042f8b
[FEATURE] Add check for PSR-4 namespace correctness () 2023-02-22 18:46:08 +01:00
Łukasz Uznański
7cd09a3b52
Upgrade to TYPO3 v12.2 () 2023-02-08 17:26:08 +01:00
Oliver Klee
5f9fa25339
[TASK] Set the minimal 12LTS version to 12.1 ()
TYPO3 12.1 has been released. So the 12.0 sprint release is no longer
relevant.
2022-12-26 07:06:50 +01:00
Oliver Klee
1d9c79a439
[FEATURE] Run the functional tests on TYPO3 12 as well ()
Fixes 
Closes 

Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-19 19:12:47 +02:00
Oliver Klee
43e4829255
[FEATURE] Run the unit tests on TYPO3 12 on CI ()
Co-authored-by: lina.wolf <lwolf@w-commerce.de>
2022-10-19 16:04:38 +02:00