Your project must not contain invalid function or method calls
- Read doc
- Reliability
- Major
More information: https://insight.symfony.com/what-we-analyse/php.invalid_call
- // Recreate the factory closure against the clone; rebinding keeps any captured
- // value (the ctor-provided dispatcher) while re-pointing the captured container.
- /** @var CallableEntry $entry */
- $entries[$id] = new CallableEntry(
- $id,
- Closure::bind($entry->factory, $this, self::class),
- auto: $entry->auto,
- );
- }
- $this->entries = $entries;
feryardiant