Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use php 7.4 syntax #384

Closed
wants to merge 2 commits into from
Closed

Use php 7.4 syntax #384

wants to merge 2 commits into from

Conversation

loic425
Copy link
Member

@loic425 loic425 commented Mar 28, 2022

Q A
Bug fix? no/
New feature? no
BC breaks? no
Deprecations? no
Related tickets
License MIT

Apply #328 on 1.8 branch.

@loic425 loic425 requested a review from a team as a code owner March 28, 2022 09:53
@loic425 loic425 changed the base branch from master to 1.8 March 28, 2022 09:54
@loic425 loic425 closed this Mar 28, 2022
@loic425 loic425 reopened this Mar 28, 2022
@loic425 loic425 mentioned this pull request Mar 29, 2022
16 tasks
@@ -36,8 +35,7 @@ final class RequestConfigurationFactory implements RequestConfigurationFactoryIn
*/
private $configurationClass;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not this one ?

* @return QueryBuilder
*/
protected function getCollectionQueryBuilder()
protected function getCollectionQueryBuilder(): QueryBuilder\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this trailing / desired ?

* @return QueryBuilder
*/
protected function getCollectionQueryBuilder()
protected function getCollectionQueryBuilder(): QueryBuilder\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this trailing \ desired ?


/** @var string */
private $message = '';
private string $message = '';

/** @var array */
private $messageParameters = [];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not this one ?

@@ -28,11 +28,9 @@ final class ODMTranslatableListener implements EventSubscriber
/** @var string */
private $currentLocale;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not this one ?

Comment on lines +27 to +37
FrameworkBundle::class => ['all' => true],
DoctrineBundle::class => ['all' => true],
SyliusResourceBundle::class => ['all' => true],
BabDevPagerfantaBundle::class => ['all' => true],
TwigBundle::class => ['all' => true, 'test_without_twig' => false],
FOSRestBundle::class => ['test' => true],
JMSSerializerBundle::class => ['test' => true],
BazingaHateoasBundle::class => ['test' => true],
FidryAliceDataFixturesBundle::class => ['test' => true],
NelmioAliceBundle::class => ['test' => true],
winzouStateMachineBundle::class => ['all' => true, 'test_without_state_machine' => false],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about the use here, it is pretty common to have the FQCN instead

@loic425 loic425 closed this Apr 7, 2022
@loic425 loic425 deleted the use-php-7.4-syntax branch April 7, 2022 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants