Skip to content
Snippets Groups Projects
  1. Aug 13, 2024
  2. Aug 12, 2024
  3. Aug 08, 2024
  4. Aug 06, 2024
  5. Aug 01, 2024
  6. Jul 25, 2024
  7. Jul 24, 2024
  8. Jul 19, 2024
  9. Jul 18, 2024
  10. Jul 15, 2024
  11. Jul 12, 2024
  12. Jul 10, 2024
  13. Jul 09, 2024
  14. Jul 08, 2024
  15. Jul 02, 2024
    • Stefan Bürk's avatar
      [TASK] Ensure coding-style for nullable type declarations · 351553f5
      Stefan Bürk authored
      This change modifies the `php-cs-fixer` ruleset and
      activate two rules related to nullable types.
      
      Following options are added:
      
        'nullable_type_declaration' => [
          'syntax' => 'question_mark',
        ],
        'nullable_type_declaration_for_default_null_value' => true,
      
      `nullable_type_declaration` ensures to use `?<type>` declaration
      instead of union type `<type>|null` as a convention for properties,
      method and return types. For already union types the nullable is
      added as additional null union type `ObjectOne|ObjectInterface|null`.
      
      `nullable_type_declaration_for_default_null_value` ensures
      to use nullable type declarations to mitigate implicitly
      nullable method arguments [1] which has been already fixed
      with a series of dedicated changes.
      
      Used command(s):
      
        Build/Scripts/runTests.sh -s cgl
      
      [1] https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated
      
      Resolves: #103751
      Releases: main, 12.4, 11.5
      Change-Id: Ia790a6757c5fbe9...
      351553f5
  16. Jul 01, 2024
  17. Jun 28, 2024
  18. Jun 27, 2024
  19. Jun 26, 2024
  20. Jun 25, 2024
  21. Jun 24, 2024