[ticket/11701] Loop variables are not passed correctly to events

PHPBB3-11701
[ticket/11701] Remove useless str_replace

PHPBB3-11701
[ticket/11701] Fix loops var check

PHPBB3-11701
[ticket/11701] Fix regex for appending |length

PHPBB3-11701
[ticket/11701] Refix regex for appending |length

PHPBB3-11701
[ticket/11701] Test events in loops

PHPBB3-11701
[ticket/11701] New line at EOF

PHPBB3-11701
[ticket/11751] Add mcp modules for softdelete  on update

PHPBB3-11751
[ticket/11768] Added blank line at EOF [ci skip]

PHPBB3-11768
Merge remote-tracking branch 'EXreaction/ticket/11701' into develop

* EXreaction/ticket/11701:
  [ticket/11701] New line at EOF
  [ticket/11701] Test events in loops
  [ticket/11701] Refix regex for appending |length
  [ticket/11701] Fix regex for appending |length
  [ticket/11701] Fix loops var check
  [ticket/11701] Remove useless str_replace
  [ticket/11701] Loop variables are not passed correctly to events
Merge pull request #1633 from nickvergessen/ticket/11751

[ticket/11751] Add mcp modules for softdelete  on update
Merge branch 'develop' of github.com:phpbb/phpbb3 into ticket/11768
[ticket/11768] Working on service-ification of text formatting

PHPBB3-11768