[WIP] Add some test in CI to check that the code is clean #86

Draft
mtrossevin wants to merge 4 commits from ci-enablement into unstable
Owner
No description provided.
mtrossevin added 2 commits 2023-11-13 15:28:03 +01:00
Tests / PHPStan (static analysis) <sub>Send us [feedback](https://github.com/jenkinsci/junit-plugin/issues) Details
gitea/evoadmin-web/pipeline/head This commit looks good Details
293ea73b6b
Initialise CI with PHPStan level 0
Tests / PHPStan (static analysis) <sub>Send us [feedback](https://github.com/jenkinsci/junit-plugin/issues) Details
gitea/evoadmin-web/pipeline/head This commit looks good Details
af94efde45
Replace `isset($_POST)` with `!empty($_POST)`
The former is always true (outside of post method it is an empty array
and not null, and it cannot be `unset()`).

The check was as such either meaningless or was supposed to check that
something was sent. This commit assume the later.
mtrossevin added 1 commit 2023-11-15 10:59:01 +01:00
Tests / PHPStan (static analysis) <sub>Send us [feedback](https://github.com/jenkinsci/junit-plugin/issues) Details
gitea/evoadmin-web/pipeline/pr-master This commit looks good Details
7b29422730
Attempt to enable use of more than one agent
Primarily so that we could use shellcheck in the future on top of
PHPStan.
mtrossevin changed title from [WIP] Add some test in CI to check that the code is clean to [WIP] Add some test in CI to check that the code is clean 2023-11-16 11:06:52 +01:00
mtrossevin changed target branch from master to unstable 2023-11-16 11:06:53 +01:00
mtrossevin added 1 commit 2023-11-16 11:07:03 +01:00
mtrossevin added the
Feature
label 2023-11-17 14:43:19 +01:00
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b ci-enablement unstable
git pull origin ci-enablement

Step 2:

Merge the changes and update on Forgejo.
git checkout unstable
git merge --no-ff ci-enablement
git push origin unstable
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: evolix/evoadmin-web#86
No description provided.