Simplify src root classes by TavoNiievez · Pull Request #6849 · Codeception/Codeception · GitHub
Skip to content

Simplify src root classes - #6849

Merged
TavoNiievez merged 2 commits into
Codeception:mainfrom
TavoNiievez:simplify_src
Apr 28, 2025
Merged

TavoNiievez merged 2 commits into
Codeception:mainfrom
TavoNiievez:simplify_src

Conversation

@TavoNiievez

Copy link
Copy Markdown
Member

No description provided.

@TavoNiievez
TavoNiievez force-pushed the simplify_src branch 24 times, most recently from 4fd836f to a245660 Compare April 28, 2025 07:01
@TavoNiievez
TavoNiievez marked this pull request as ready for review April 28, 2025 07:16
Comment thread src/Codeception/Codecept.php

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this removal intended?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say it's super intentional.

In reality, adding strict types in files that only have interfaces has no effect or utility. There is no code to execute so there is no strict checking to do.

In other words, me adding this line 4 years ago was just a mistake.

Co-authored-by: Dieter Beck <beck.worma@gmail.com>
@TavoNiievez
TavoNiievez merged commit b4c2bcd into Codeception:main Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants