src/CoreBundle/State/SocialPostStateProvider.php
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Autowire(service: 'api_platform.doctrine.orm.state.collection_provider')]
- Exclude checks
Add a single space around assignment operators Open
Open
declare(strict_types=1);
- Exclude checks
Perl-style comments are not allowed. Use "// Comment." or "/* comment */" instead. Open
Open
#[Autowire(service: 'api_platform.doctrine.orm.state.item_provider')]
- Exclude checks
Missing function doc comment Open
Open
public function provide(Operation $operation, array $uriVariables = [], array $context = []): object|array|null
- Exclude checks
The first parameter of a multi-line function declaration must be on the line after the opening bracket Open
Open
private readonly ProviderInterface $itemProvider,
- Exclude checks
Closing brace must be on a line by itself Open
Open
) {}
- Exclude checks
Missing class doc comment Open
Open
class SocialPostStateProvider implements ProviderInterface
- Exclude checks
Missing function doc comment Open
Open
public function __construct(
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
private readonly ProviderInterface $itemProvider,
- Exclude checks
Closing brace must be on a line by itself Open
Open
) {}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
private readonly SettingsManager $settingsManager,
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
private readonly ProviderInterface $collectionProvider,
- Exclude checks