-
Notifications
You must be signed in to change notification settings - Fork 31
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
Follow the agreed policy for file and class phpdoc blocks in 1-artifact files #66
Comments
+1 The plugin still raises "Line 17: File-level phpdocs block is not found" for files that follow the new class-only-block style. |
Now we detect all the classes, interfaces and traits in a file and, if there is only one, then we stop requiring the file phpdoc block. This was agreed @ https://tracker.moodle.org/browse/MDLSITE-2804 and moodlehq#66 was created to implement it. Note this doesn't address the whole agreement, but just the detail about stop requiring the file phpdoc block, because it is specially annoying and recurring in new files (that use to be 1-artifact ones).
Note I've spent some time today with #69 that doesn't implements this completely, but at least it now stops asking for the file phpdoc block when the file is an 1-artifact one (classes, interfaces and traits). There are more things to do here, but that's one of the specially annoying ones when new files (usually being 1-artifact files) are added. Ciao :-) |
Now we detect all the classes, interfaces and traits in a file and, if there is only one, then we stop requiring the file phpdoc block. This was agreed @ https://tracker.moodle.org/browse/MDLSITE-2804 and moodlehq#66 was created to implement it. Note this doesn't address the whole agreement, but just the detail about stop requiring the file phpdoc block, because it is specially annoying and recurring in new files (that use to be 1-artifact ones).
Now we detect all the classes, interfaces and traits in a file and, if there is only one, then we stop requiring the file phpdoc block. This was agreed @ https://tracker.moodle.org/browse/MDLSITE-2804 and moodlehq#66 was created to implement it. Note this doesn't address the whole agreement, but just the detail about stop requiring the file phpdoc block, because it is specially annoying and recurring in new files (that use to be 1-artifact ones).
Thanks Eloy. Maybe that would be enough for now to release a new version and start using it in Github actions? It is sad to see code implemented according to latest policy decisions, causing these failures. |
Yeah, I created moodlehq/moodle-plugin-ci#88 some days ago to generate a new release there... will send some friendly pings around... |
Update, moodle-plugin-ci 3.0.7 is being released right now. So jobs out there should start to automatically pick it soon (includes #69, partial implementation of this). Ciao :-) |
Isn't this now working correctly? Can this be closed? |
This is about to implement the new policy agreed @ MDLSITE-2804. Basically:
classes
dir, but also out from them.Edited, note to self: Need to verify that this doesn't happen anymore:
The text was updated successfully, but these errors were encountered: