- Issue created by @mstrelan
- Status changed to Needs review
10 months ago 4:43am 7 June 2024 - πͺπΈSpain fjgarlin
This is great. I'd love to see a test with a project using this fork and setting the level before committing it. Code wise looks good.
- Status changed to RTBC
10 months ago 7:41am 7 June 2024 - Status changed to Needs review
10 months ago 7:44am 7 June 2024 - πͺπΈSpain fjgarlin
I'd love to see a test with a project using this fork and setting the level before committing it
Before setting to RTBC, we need to see a project using this feature to make sure that there is no unexpected error or warning.
You can follow this https://project.pages.drupalcode.org/gitlab_templates/info/testing-mrs/ to test it in any other project that has GitLab CI enabled. Reverting back to Needs review.
- Status changed to RTBC
10 months ago 3:06pm 12 June 2024 - π©πͺGermany jurgenhaas Gottmadingen
I have successfully tested this with the ECA module by creating a branch with a tailored CI configuration: https://git.drupalcode.org/project/eca/-/blob/ci-test-3453102/.gitlab-ci...
For the first test, the variable
_PHPSTAN_LEVEL
was not set and there it used level 6 as configured in the phpstan.neon file. The jobs succeeds without any error, see https://git.drupalcode.org/project/eca/-/jobs/1845652For the second test, the variable is set to level 7 in the gitlab ci file of the project and that fails as expected, see https://git.drupalcode.org/project/eca/-/jobs/1845701
Settings this to RTBC, as it works as expected.
-
fjgarlin β
committed dbd82237 on main authored by
mstrelan β
Issue #3453102 by mstrelan, fjgarlin, jurgenhaas: Add a variable to...
-
fjgarlin β
committed dbd82237 on main authored by
mstrelan β
- Status changed to Fixed
10 months ago 7:15am 13 June 2024 - π¬π§United Kingdom jonathan1055
I'd like to add a few minor changes to this, specifically to display the level used, and expand the description to give the default.
- Status changed to Needs work
10 months ago 10:15am 13 June 2024 - πͺπΈSpain fjgarlin
Go for it. Feel free to create an additional MR and we can add it.
- Status changed to RTBC
10 months ago 11:45am 13 June 2024 - π§πͺBelgium BramDriesen Belgium π§πͺ
Changes look good. It only adds an echo so don't think this needs much testing.
- π¬π§United Kingdom jonathan1055
MR222 ready for review, but BramDriesen has already done that [posts overlapped].
Example test https://git.drupalcode.org/project/scheduler/-/jobs/1852835
I also noticed that the phpstan doc page needs some updates. But I will add that to #3439644: Review all documentation pages β instead.
- π§πͺBelgium BramDriesen Belgium π§πͺ
MR still looks ok with that last commit!
-
fjgarlin β
committed 2339a5bd on main authored by
jonathan1055 β
Issue #3453102 by jonathan1055, mstrelan, fjgarlin, BramDriesen,...
-
fjgarlin β
committed 2339a5bd on main authored by
jonathan1055 β
- Status changed to Fixed
10 months ago 2:07pm 13 June 2024 Automatically closed - issue fixed for 2 weeks with no activity.