Skip to content

Conversation

ebitkov
Copy link

@ebitkov ebitkov commented Feb 6, 2024

PHP 8.1 is not actively supported anymore. This pull requests aims to update the project to PHP 8.2.

  • added PHP 8.2 as a requirement to the composer.json (best practice)
  • added a note to the README to be more precise about the required PHP version
  • added type hints to the core, controllers and models (best practice)
  • updated bootstrap.sh (@panique could you review that? I'm not using Vagrant)

Some questions I had while updating

  • should we add ext-pdo to the composer.json, since we are providing PDO models?
  • should we switch to const ... instead of define(...) in the application/config/config.php and public/index.php?

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.

1 participant