Skip to content

Commit 15b9e53

Browse files
committed
removing unnecessary methods
1 parent d19f7aa commit 15b9e53

File tree

2 files changed

+0
-124
lines changed

2 files changed

+0
-124
lines changed

phpstan.neon.dist

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,3 @@ parameters:
22
level: 4
33
paths:
44
- src
5-
ignoreErrors:
6-
-
7-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeParentInterface\\:\\:scalarNode\\(\\)\\.$#"
8-
count: 1
9-
path: src/DependencyInjection/TailwindExtension.php

src/DynamicFormBuilder.php

Lines changed: 0 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -260,83 +260,13 @@ public function setErrorBubbling(bool $errorBubbling): static
260260
return $this;
261261
}
262262

263-
public function setErrorMapping(array $errorMapping): static
264-
{
265-
$this->builder->setErrorMapping($errorMapping);
266-
267-
return $this;
268-
}
269-
270-
public function setHelp(?string $help): static
271-
{
272-
$this->builder->setHelp($help);
273-
274-
return $this;
275-
}
276-
277-
public function setHelpAttr(array $helpAttr): static
278-
{
279-
$this->builder->setHelpAttr($helpAttr);
280-
281-
return $this;
282-
}
283-
284-
public function setHelpHtml(bool $helpHtml): static
285-
{
286-
$this->builder->setHelpHtml($helpHtml);
287-
288-
return $this;
289-
}
290-
291263
public function setInheritData(bool $inheritData): static
292264
{
293265
$this->builder->setInheritData($inheritData);
294266

295267
return $this;
296268
}
297269

298-
public function setInvalidMessage(?string $invalidMessage): static
299-
{
300-
$this->builder->setInvalidMessage($invalidMessage);
301-
302-
return $this;
303-
}
304-
305-
public function setInvalidMessageParameters(array $invalidMessageParameters): static
306-
{
307-
$this->builder->setInvalidMessageParameters($invalidMessageParameters);
308-
309-
return $this;
310-
}
311-
312-
public function setLabel(?string $label): static
313-
{
314-
$this->builder->setLabel($label);
315-
316-
return $this;
317-
}
318-
319-
public function setLabelAttr(array $labelAttr): static
320-
{
321-
$this->builder->setLabelAttr($labelAttr);
322-
323-
return $this;
324-
}
325-
326-
public function setLabelFormat(?string $labelFormat): static
327-
{
328-
$this->builder->setLabelFormat($labelFormat);
329-
330-
return $this;
331-
}
332-
333-
public function setLabelHtml(bool $labelHtml): static
334-
{
335-
$this->builder->setLabelHtml($labelHtml);
336-
337-
return $this;
338-
}
339-
340270
public function setMapped(bool $mapped): static
341271
{
342272
$this->builder->setMapped($mapped);
@@ -351,13 +281,6 @@ public function setMethod(string $method): static
351281
return $this;
352282
}
353283

354-
public function setOptions(array $options): static
355-
{
356-
$this->builder->setOptions($options);
357-
358-
return $this;
359-
}
360-
361284
public function setPropertyPath(null|string|PropertyPathInterface $propertyPath): static
362285
{
363286
$this->builder->setPropertyPath($propertyPath);
@@ -372,27 +295,6 @@ public function setRequired(bool $required): static
372295
return $this;
373296
}
374297

375-
public function setRowAttr(array $rowAttr): static
376-
{
377-
$this->builder->setRowAttr($rowAttr);
378-
379-
return $this;
380-
}
381-
382-
public function setTranslationDomain(?string $translationDomain): static
383-
{
384-
$this->builder->setTranslationDomain($translationDomain);
385-
386-
return $this;
387-
}
388-
389-
public function setTrim(bool $trim): static
390-
{
391-
$this->builder->setTrim($trim);
392-
393-
return $this;
394-
}
395-
396298
public function setAction(?string $action): static
397299
{
398300
$this->builder->setAction($action);
@@ -407,13 +309,6 @@ public function setCompound(bool $compound): static
407309
return $this;
408310
}
409311

410-
public function setDataClass(?string $dataClass): static
411-
{
412-
$this->builder->setDataClass($dataClass);
413-
414-
return $this;
415-
}
416-
417312
public function setDataLocked(bool $locked): static
418313
{
419314
$this->builder->setDataLocked($locked);
@@ -435,20 +330,6 @@ public function setType(?ResolvedFormTypeInterface $type): static
435330
return $this;
436331
}
437332

438-
public function setTypeName(string $typeName): static
439-
{
440-
$this->builder->setTypeName($typeName);
441-
442-
return $this;
443-
}
444-
445-
public function setEventDispatcher(EventDispatcherInterface $dispatcher): static
446-
{
447-
$this->builder->setEventDispatcher($dispatcher);
448-
449-
return $this;
450-
}
451-
452333
public function setRequestHandler(?RequestHandlerInterface $requestHandler): static
453334
{
454335
$this->builder->setRequestHandler($requestHandler);

0 commit comments

Comments
 (0)