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

PHP 7.4 syntax in Behat #13116

Merged
merged 1 commit into from
Sep 17, 2021
Merged

PHP 7.4 syntax in Behat #13116

merged 1 commit into from
Sep 17, 2021

Conversation

Zales0123
Copy link
Member

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
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
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
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
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.

None yet

2 participants