Skip to content

Discussion: Should declare(strict_types=1) be adopted in a codebase? #52

@butschster

Description

@butschster

Hey team! 👋

I've been working on some new features lately and noticed that we're not currently using declare(strict_types=1). I wanted to understand a current approach and the reasoning behind it before I continue with my development.

Questions

Current State:

  • Is there a specific reason we're not using declare(strict_types=1) currently?
  • Are there particular challenges or constraints that influenced this choice?

Future Direction:

  • Do you have plans to introduce strict types in the future?
  • Are there specific areas of the codebase where strict types might be more or less appropriate?

I want to make sure I'm following established conventions and understand the technical reasoning behind current approach. This will help me write code that's consistent with the team's standards and architectural decisions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions