Skip to content

PHP 7.4 syntax in Behat#13116

Merged
GSadee merged 1 commit intoSylius:1.10from
Zales0123:php7.4-syntax-behat
Sep 17, 2021
Merged

PHP 7.4 syntax in Behat#13116
GSadee merged 1 commit intoSylius:1.10from
Zales0123:php7.4-syntax-behat

Conversation

@Zales0123
Copy link
Copy Markdown
Contributor

Q A
Branch? 1.10
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets based on #13040, related to #12891
License MIT

@Zales0123 Zales0123 added Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.). DX Issues and PRs aimed at improving Developer eXperience. labels Sep 16, 2021
@Zales0123 Zales0123 requested a review from a team as a code owner September 16, 2021 12:51
@Zales0123 Zales0123 mentioned this pull request Sep 16, 2021
10 tasks
@Zales0123 Zales0123 changed the title PHP 7.4 syntax in Behat a46c51b PHP 7.4 syntax in Behat Sep 16, 2021

/** @var ShowPageInterface */
private $showPage;
private \Sylius\Behat\Page\Admin\Shipment\ShowPageInterface $showPage;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
private \Sylius\Behat\Page\Admin\Shipment\ShowPageInterface $showPage;
private ShowPageInterface $showPage;


/** @var ShowPageInterface */
private $orderShowPage;
private \Sylius\Behat\Page\Shop\Account\Order\ShowPageInterface $orderShowPage;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
private \Sylius\Behat\Page\Shop\Account\Order\ShowPageInterface $orderShowPage;
private ShowPageInterface $orderShowPage;


/** @var IndexPageInterface */
private $indexPage;
private \Sylius\Behat\Page\Shop\Product\IndexPageInterface $indexPage;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
private \Sylius\Behat\Page\Shop\Product\IndexPageInterface $indexPage;
private IndexPageInterface $indexPage;

@GSadee GSadee merged commit 5570819 into Sylius:1.10 Sep 17, 2021
@GSadee
Copy link
Copy Markdown
Member

GSadee commented Sep 17, 2021

Thank you, Mateusz! 🥇

@Zales0123 Zales0123 deleted the php7.4-syntax-behat branch September 17, 2021 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DX Issues and PRs aimed at improving Developer eXperience. Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants