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

Facade Schema::create() does not declare the $options parameter

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Laravel
    • PHP Drivers

      In SchemaTest::testCreateWithOptions(), we use the 3rd parameter "$options" declared in Schema\Builder::create(). But this option doesn't exist in the Laravel facade Schema.

      Static analysis indicate an undeclared extra parameter, and rector removes it automatically.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: