7.x tests running PHP5.3 use drupal/coder version 8.2.5, and at PHP5.5 it is coder 8.3.7. All of these tests are clean.
However, tests at PHP7.1+ used Coder 8.3.13 and we now get new coding standards faults
FILE: /Library/WebServer/Web/dr-source/modules-D7-git/scheduler/plugins/content_types/scheduler_form_pane.inc
------------------------------------------------------------------------------------------
10 | WARNING | Unused variable $plugin. (DrupalPractice.CodeAnalysis.VariableAnalysis.UnusedVariable)
------------------------------------------------------------------------------------------
FILE: /Library/WebServer/Web/dr-source/modules-D7-git/scheduler/scheduler.module
------------------------------------------------------------------------------------------
879 | WARNING | Exceptions should not be translated
| | (DrupalPractice.General.ExceptionT.ExceptionT)
------------------------------------------------------------------------------------------
FILE: /Library/WebServer/Web/dr-source/modules-D7-git/scheduler/tests/scheduler.test
------------------------------------------------------------------------------------------
909 | WARNING | [x] '@TODO Add tests when scheduled publishing and unpublishing are
| | required.' should match the format '@todo Fix problem X here.'
| | (Drupal.Commenting.TodoComment.TodoFormat)
and lots of the form
------------------------------------------------------------------------------------------
32 | ERROR | [ ] The array declaration extends to column 85 (the limit is 80). The
| | array content should be split up over multiple lines
| | (Drupal.Arrays.Array.LongLineDeclaration)
Summary of all errors
PHP CODE SNIFFER REPORT SUMMARY
------------------------------------------------------------------------------------------
FILE ERRORS WARNINGS
------------------------------------------------------------------------------------------
.../WebServer/Web/dr-source/modules-D7-git/scheduler/scheduler.admin.inc 5 0
...y/WebServer/Web/dr-source/modules-D7-git/scheduler/scheduler.cron.inc 2 0
...ary/WebServer/Web/dr-source/modules-D7-git/scheduler/scheduler.module 1 1
...r/Web/dr-source/modules-D7-git/scheduler/scheduler.rules_defaults.inc 2 0
...WebServer/Web/dr-source/modules-D7-git/scheduler/tests/scheduler.test 20 0
...erver/Web/dr-source/modules-D7-git/scheduler/tests/scheduler_dev.test 1 0
------------------------------------------------------------------------------------------
A TOTAL OF 31 ERRORS AND 1 WARNING WERE FOUND IN 6 FILES
------------------------------------------------------------------------------------------
Comments
Comment #2
jonathan1055 commentedAdded summary
Comment #4
jonathan1055 commentedThat's interesting and unexpected. The changes were only "cosmetic" for coding standards, yet the build at PHP5.6 fatally crashes, and at PHP7.3 we get test failures. Both of these pass OK on normal patch testing and regular branch testing. So does the process of testing via pushes to a MR branch run a different testing process?
In Scheduler.SchedulerDateModuleTest testDefaultTime
in Scheduler.SchedulerRulesTest testRulesActions
But at least the intended coding standards fixes were successful.
Comment #5
jonathan1055 commentedNow that #3221289: MR tests fail at 7.x - need composer.json and drupalci.yml is committed this MR should run OK.
Comment #7
jonathan1055 commentedCommitted and fixed.