getsentry / getsentry/sentry-php
[5.x] Consider removing `strict_types`
Open
5.0
PHP
Task
- Dominant language
- PHP
- Stars
- 1.9k
- Forks
- 474
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 8
Description
We might be able to create a more robust SDK by removing `declare(strict_types=1)` from the code base. While we would need to be more cautions about type coercion, we would throw no more `TypeErrors`.
Let's investigate and document it.
Make sure to add the commit to https://github.com/getsentry/sentry-php/blob/master/.git-blame-ignore-revs after merging.
Contributor guide
Assessment
This issue has not been assessed yet.