Skip to content

[TASK] Remove thecodingmachine/safe dependency (part 5) - #1618

Merged
oliverklee merged 2 commits into
MyIntervals:mainfrom
SjorsO:drop-dependency-part-5
Aug 22, 2026
Merged

[TASK] Remove thecodingmachine/safe dependency (part 5)#1618
oliverklee merged 2 commits into
MyIntervals:mainfrom
SjorsO:drop-dependency-part-5

Conversation

@SjorsO

@SjorsO SjorsO commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

As far as I can tell there isn't a way to make this class_alias() call return false, so I've added an assert.

PHPStan doesn't understand Safe\class_alias() and only reports function.impossibleType. Once changed to a normal class_alias() it reports two extra errors.

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 74.622% (-0.07%) from 74.688% — SjorsO:drop-dependency-part-5 into MyIntervals:main

@oliverklee
oliverklee merged commit 1c8d9df into MyIntervals:main Aug 22, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants