ONLYOFFICE / onlyoffice-chamilo

The app which enables the users to edit office documents from Chamilo using ONLYOFFICE Document Server, allows multiple users to collaborate in real time and to save back those changes to Chamilo
Apache License 2.0
2 stars 3 forks source link

Coding conventions #20

Open ywarnier opened 1 year ago

ywarnier commented 1 year ago

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.

alexanderonlyoffice commented 9 months 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.