lint: fix the following issues found by phpcs:

  62 | ERROR | [x] Opening brace should be on a new line
  62 | ERROR | [ ] Closing brace must be on a line by itself
  69 | ERROR | [x] Opening brace should be on a new line
  85 | ERROR | [x] No space found after comma in function call
  85 | ERROR | [x] No space found after comma in function call
  87 | ERROR | [x] No space found after comma in function call
  88 | ERROR | [x] No space found after comma in function call
  88 | ERROR | [x] No space found after comma in function call
  91 | ERROR | [x] No space found after comma in function call
 107 | ERROR | [x] No space found after comma in function call
 164 | ERROR | [ ] Variable "encoded_string" is not in valid camel caps format
 167 | ERROR | [ ] Expected "foreach (...) {\n"; found "foreach(...) {\n"
 176 | ERROR | [ ] Expected "while (...) {\n"; found "while(...) {\n"
 181 | ERROR | [ ] Variable "encoded_string" is not in valid camel caps format
 183 | ERROR | [ ] Variable "encoded_string" is not in valid camel caps format
 201 | ERROR | [x] No space found after comma in function call
 224 | ERROR | [ ] Expected "foreach (...) {\n"; found "foreach(...) {\n"
 226 | ERROR | [x] No space found after comma in function call
 243 | ERROR | [ ] Expected "if (...) {\n"; found "if(...) { "
 243 | ERROR | [ ] Closing brace must be on a line by itself
lint: fix the following found by phpcs:

  26 | ERROR | [x] No space found after comma in function call
  38 | ERROR | [x] No space found after comma in function call
  39 | ERROR | [x] No space found after comma in function call
  41 | ERROR | [x] No space found after comma in function call
  51 | ERROR | [x] No space found after comma in function call
  51 | ERROR | [x] No space found after comma in function call
  52 | ERROR | [x] No space found after comma in function call
  62 | ERROR | [x] No space found after comma in function call
  63 | ERROR | [x] No space found after comma in function call
  85 | ERROR | [x] No space found after comma in function call
  95 | ERROR | [x] No space found after comma in function call
 116 | ERROR | [x] No space found after comma in function call
 129 | ERROR | [x] No space found after comma in function call