Skip to content

Simplify src root classes#6849

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

Simplify src root classes#6849
TavoNiievez merged 2 commits intoCodeception: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
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);
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.

@TavoNiievez TavoNiievez merged commit b4c2bcd into Codeception:main Apr 28, 2025
10 checks passed
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