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

Run PHPStan against FOSSBilling source #1

Merged
merged 9 commits into from
May 9, 2023
Merged

Run PHPStan against FOSSBilling source #1

merged 9 commits into from
May 9, 2023

Conversation

BelleNottelling
Copy link
Member

@BelleNottelling BelleNottelling commented May 8, 2023

This PR reworks the CI workflow to run PHPStan against the module and both the dev version of FOSSBilling and the latest release. This makes it easier to quickly check at least a base level compatibility for both the current and upcoming releases.
The "preview" check is failing as expected, as the code for this module is incompatible with our current dev branch (and as such, FOSSBilling version 0.5.0 once it's released).

The workflow uses the latest version of PHP, as FOSSBilling should always be supporting that. This means we shouldn't need to update the workflow when we change the supported versions for FOSSBilling.
If all seems well, this can ideally become a template workflow for module developers to check low-level compatibility with their module & get PHPStan feedback,

I also made a few minor fixes to the other workflows.

@BelleNottelling BelleNottelling self-assigned this May 8, 2023
@BelleNottelling BelleNottelling marked this pull request as ready for review May 9, 2023 00:03
@BelleNottelling BelleNottelling changed the title [WIP] Run PHPStan against FOSSBilling source Run PHPStan against FOSSBilling source May 9, 2023
And remove the php_version on like 35-36 since we don't need it.
@BelleNottelling BelleNottelling merged commit d5a25bf into main May 9, 2023
@BelleNottelling BelleNottelling deleted the PHPStan branch May 9, 2023 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants