Make coding standards fixes

Created on 28 June 2024, 5 months ago
Updated 17 July 2024, 4 months ago

Make coding standards fixes.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @Liam Morland
  • Pipeline finished with Success
    5 months ago
    Total: 152s
    #211052
  • Status changed to Needs review 5 months ago
  • 🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

    This merge request fixes all phpcs issues.

    There are still phpstan issues. Some of these can likely be resolved by adding the dependent modules to Composer so that phpstan can find them.

  • Pipeline finished with Success
    5 months ago
    Total: 176s
    #211054
  • 🇵🇭Philippines Zed9

    I'm still finding cs issues after applying MR https://git.drupalcode.org/project/openai/-/merge_requests/94

    FILE: /web/modules/contrib/openai/PATCHES.txt
    -----------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    -----------------------------------------------------------------------------------
     5 | ERROR | [x] Expected 1 newline at end of file; 3 found
    -----------------------------------------------------------------------------------
    PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
    -----------------------------------------------------------------------------------
    
    
    FILE: /web/modules/contrib/openai/modules/openai_devel/src/Plugin/DevelGenerate/ContentGPTDevelGenerate.php
    -------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    -------------------------------------------------------------------------------------------------------------------------------------------------
     254 | ERROR | The array declaration extends to column 82 (the limit is 80). The array content should be split up over multiple lines
    -------------------------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: /web/modules/contrib/openai/modules/openai_content/openai_content.module
    --------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------------------------------------------------
     217 | ERROR | The array declaration extends to column 95 (the limit is 80). The array content should be split up over multiple lines
    --------------------------------------------------------------------------------------------------------------------------------------
    
  • Status changed to Needs work 5 months ago
  • 🇵🇭Philippines Zed9
  • Status changed to Needs review 5 months ago
  • 🇵🇭Philippines Zed9
  • First commit to issue fork.
  • Pipeline finished with Skipped
    5 months ago
    #214867
  • Status changed to Fixed 5 months ago
  • 🇬🇧United Kingdom scott_euser

    Agreed, fine to cover phpcs and deal with phpstan in a follow-up. Thanks!

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024