Skip to content

Commit d265d15

Browse files
committed
Manual fixes before running Rector
1 parent 878c15c commit d265d15

File tree

3 files changed

+2
-20
lines changed

3 files changed

+2
-20
lines changed

code_samples/back_office/calendar/src/Calendar/Holidays/EventSourceFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use DateTime;
66
use DateTimeInterface;
7-
use Ibexa\Calendar\EventSource\InMemoryEventSource;
7+
use Ibexa\Contracts\Calendar\EventSource\InMemoryEventSource;
88
use Ibexa\Contracts\Calendar\EventCollection;
99
use Ibexa\Contracts\Calendar\EventSource\EventSourceInterface;
1010

code_samples/back_office/calendar/src/Calendar/Holidays/EventType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace App\Calendar\Holidays;
44

5-
use Ibexa\Calendar\EventAction\EventActionCollection;
5+
use Ibexa\Contracts\Calendar\EventAction\EventActionCollection;
66
use Ibexa\Contracts\Calendar\Event;
77
use Ibexa\Contracts\Calendar\EventType\EventTypeInterface;
88

phpstan-baseline.neon

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -282,12 +282,6 @@ parameters:
282282
count: 1
283283
path: code_samples/back_office/search/src/EventSubscriber/MySuggestionEventSubscriber.php
284284

285-
-
286-
message: '#^Method App\\Setting\\Group\\MyGroup\:\:__construct\(\) has parameter \$values with no value type specified in iterable type array\.$#'
287-
identifier: missingType.iterableValue
288-
count: 1
289-
path: code_samples/back_office/settings/src/Setting/Group/MyGroup.php
290-
291285
-
292286
message: '#^Method App\\Setting\\Unit\:\:mapFieldForm\(\) has parameter \$formBuilder with generic interface Symfony\\Component\\Form\\FormBuilderInterface but does not specify its types\: TData$#'
293287
identifier: missingType.generics
@@ -444,12 +438,6 @@ parameters:
444438
count: 1
445439
path: code_samples/field_types/generic_ft/src/Form/Type/HelloWorldType.php
446440

447-
-
448-
message: '#^Method App\\FormBuilder\\FieldType\\Field\\Mapper\\CheckboxWithRichtextDescriptionFieldMapper\:\:mapFormOptions\(\) return type has no value type specified in iterable type array\.$#'
449-
identifier: missingType.iterableValue
450-
count: 1
451-
path: code_samples/forms/custom_form_attribute/src/FormBuilder/FieldType/Field/Mapper/CheckboxWithRichtextDescriptionFieldMapper.php
452-
453441
-
454442
message: '#^Class App\\FormBuilder\\Form\\Type\\CheckboxWithRichtextDescriptionType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
455443
identifier: missingType.generics
@@ -462,12 +450,6 @@ parameters:
462450
count: 1
463451
path: code_samples/forms/custom_form_attribute/src/FormBuilder/Form/Type/FieldAttribute/AttributeRichtextDescriptionType.php
464452

465-
-
466-
message: '#^Method App\\FormBuilder\\Field\\Mapper\\CountryFieldMapper\:\:mapFormOptions\(\) return type has no value type specified in iterable type array\.$#'
467-
identifier: missingType.iterableValue
468-
count: 1
469-
path: code_samples/forms/custom_form_field/src/FormBuilder/Field/Mapper/CountryFieldMapper.php
470-
471453
-
472454
message: '#^Method App\\QueryType\\LatestContentQueryType\:\:getQuery\(\) has parameter \$parameters with no value type specified in iterable type array\.$#'
473455
identifier: missingType.iterableValue

0 commit comments

Comments
 (0)