AmpersandTarski / prototype

Prototype framework that transforms your Ampersand model into a web application
MIT License
1 stars 1 forks source link

Upgrade php deps #190

Closed Epskampie closed 1 month ago

Epskampie commented 1 month ago

This PR upgrades all symfony deps (and psr/cache, as it's used by symfony) to the newest version.

I had to remove concrete5/monolog-cascade as it's abandoned and has old dependencies. Therefore I moved the monolog configuration to PHP, from config/logging.yaml to config/logging.php.

To upgrade to symfony 7, I had to require php 8.3 minimum. I fixed the new warnings that popped up due to this, mostly to do with parameters with default null have to have a nullable type. Example: function foo(Bar $bar = null) to function foo(?Bar $bar = null)

These changes are breaking, so this should be released under a new major version I guess.