Enforce return types in all new methods and functions

Created on 15 July 2024, over 1 year ago

Problem/Motivation

Implementing strict typing in existing code is challenging. If we don't enforce it on new code we'll constantly be chasing our tail.

Steps to reproduce

Proposed resolution

  • Enable MissingFunctionReturnTypehintRule and MissingMethodReturnTypehintRule phpstan rules
  • Ignore missingType.iterableValue
  • Update the phpstan baseline to include all violations of this rule
  • ???
  • Profit

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

โœจ Feature request
Status

Active

Version

11.0 ๐Ÿ”ฅ

Component
Otherย  โ†’

Last updated about 2 months ago

Created by

๐Ÿ‡ฆ๐Ÿ‡บAustralia mstrelan

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024