Open ywarnier opened 1 year ago
@ywarnier, we will try to bring the code in accordance with PSR-2 within the next connector app release. You are welcome to submit a PR, we will check it for sure. You can also suggest changes to action https://github.com/ONLYOFFICE/onlyoffice-chamilo/blob/master/.github/workflows/lint.yml.
In version 1.2.0 (in comparison with version 1.0), a series of code syntax checks that exist in Chamilo 1.11.x since years ago are now flashing because somehow you seem to have gone in reverse in comparison to previous versions of the plugin.
For example:
We generally use PSR-2 with a few specifics (see https://github.com/chamilo/chamilo-lms/wiki/Coding-conventions). Is there a way we could ensure, if we send you a PR with those syntax issues fixed, that future changes would not bring those back?
Let me be clear: these do not affect code behaviour, so they do not introduce consistency issues in the software, but they do light up a series of warnings in automated code quality tests.