nette / schema

📐 Validating data structures against a given Schema.
https://doc.nette.org/schema
Other
886 stars 26 forks source link

Adding new PHP Versions as experimental #60

Closed ItsReddi closed 10 months ago

ItsReddi commented 10 months ago

Hi, i tried to start an early php 8.4 adoption but since i do not know where the tail will finally end, i stopped it. The problem is that several nette packages are bound to a max php version.

To make changes independently i would suggest to add "experimental" support to the nette packages, this would it make easier to fix upcoming issues with php 7.4 or further php versions.

If something like in: https://github.com/ItsReddi/schema/pull/1/files (tests.yaml) would be available in all nette packages it is maybe easier for the community to fix upcoming issues.

JanTvrdik commented 10 months ago

You can run composer install with --ignore-platform-req=php+ option. See https://github.com/composer/composer/pull/10318

dg commented 10 months ago

@JanTvrdik that's good, but unfortunately it doesn't work for me (unless there's a plus)

So it probably just prints an error message, but it installs it.