Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce PHP linting and code styles #361

Merged
merged 7 commits into from
May 21, 2023
Merged

Introduce PHP linting and code styles #361

merged 7 commits into from
May 21, 2023

Conversation

linawolf
Copy link
Member

@linawolf linawolf commented May 1, 2023

With #360 PHP files that need code-styles applied have been introduce.

releases: main, 12.4

.github/workflows/tests.yml Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
With #360 PHP files that need code-styles applied have been introduce.

releases: main, 12.4
@linawolf linawolf requested a review from brotkrueml May 8, 2023 15:54
.gitignore Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
@linawolf linawolf requested a review from brotkrueml May 21, 2023 08:23
@linawolf
Copy link
Member Author

@brotkrueml I applied the changes, please have another look

Build/Scripts/runTests.sh Outdated Show resolved Hide resolved
Build/Scripts/runTests.sh Outdated Show resolved Hide resolved
.github/workflows/tests.yml Show resolved Hide resolved
Build/Scripts/runTests.sh Outdated Show resolved Hide resolved
composer.json Show resolved Hide resolved
composer.json Show resolved Hide resolved
The `Build/Scripts/runTests.sh` transactor provides
the flag `-u` to enforce updated used images.

The provided core-testing images are now used from
the `GitHub Container Registry` and therefore an
`${IMAGE_PREFIX}` variable have been introduced to
the `runTests.sh` script.

It has been missed to use the same prefix variable
for the updating and cleanup executed using `-u`.

This change now also uses the image prefix variable
for the update command.
Previously the docker-compose project name have
been set hardcoded to `local`. With raising use
of `docker compose v2` this may interfere with
other projects, extensions and repositories.

To avoid a cross over interference we ensure
to use a unique docker-compose project name
in this repository.
@brotkrueml
Copy link
Contributor

@linawolf Just a reminder: you have to take care when backporting to 12.4 that the Core versions in composer.json get adjusted from dev-main to '^12.4.

@linawolf
Copy link
Member Author

Right, thanks, I will backport manually

@linawolf linawolf merged commit d76ad83 into main May 21, 2023
3 checks passed
@linawolf linawolf deleted the testing branch May 21, 2023 15:28
linawolf added a commit that referenced this pull request May 21, 2023
* Introduce PHP linting and code styles

With #360 PHP files that need code-styles applied have been introduce.

releases: main, 12.4

* Use latest versions

* Apply changes required by tests

* Apply changes required by tests

* Apply changes required by code-review

* [TASK] Use the `${IMAGE_PREFIX}` prefix for image updates

The `Build/Scripts/runTests.sh` transactor provides
the flag `-u` to enforce updated used images.

The provided core-testing images are now used from
the `GitHub Container Registry` and therefore an
`${IMAGE_PREFIX}` variable have been introduced to
the `runTests.sh` script.

It has been missed to use the same prefix variable
for the updating and cleanup executed using `-u`.

This change now also uses the image prefix variable
for the update command.

* [TASK] Ensure a unique docker-compose project name

Previously the docker-compose project name have
been set hardcoded to `local`. With raising use
of `docker compose v2` this may interfere with
other projects, extensions and repositories.

To avoid a cross over interference we ensure
to use a unique docker-compose project name
in this repository.

---------

Co-authored-by: Stefan Bürk <stefan@buerk.tech>
(cherry picked from commit d76ad83)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants