beberlei / assert

Thin assertion library for use in libraries and business-model
Other
2.41k stars 186 forks source link

Bump minimum PHP requirement to PHP 7.1 #338

Closed Ayesh closed 6 months ago

Ayesh commented 8 months ago

PR #337 depends on this.

Bumps the minimum required PHP version to PHP 7.1 to use explicit nullable parameter type syntax.

Ayesh commented 8 months ago

I understand this is quite a BC break and I'm not the person to make this call. Merely submitting the change because I'm running a modified version of this package, so I wanted to submit the PR.

On PHP 8.4, we will be getting a bunch of deprecation notices because we have a bunch of function declarations that trigger the deprecation of implicit nullability syntax (#337).