Uploaded image for project: 'PHP ORMs'
  1. PHP ORMs
  2. PHPORM-76

Add explicit PHP language requirement to composer.json

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • laravel-4.0.0
    • Affects Version/s: None
    • Component/s: None
    • None

      The library has an indirect PHP requirement by way of laravel/framework: ^10.0, which requires PHP 8.1+, but it does not specify a PHP requirement directly in its own composer.json. I think it would be sensible to do so for visibility (e.g. Psalm might reference that if we integrate static analysis down the line), and we can keep our own requirement in line with what the package code itself uses. For example, str_contains() requires PHP 8+.

      This came up in GromNaN/laravel-mongodb#27.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: