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 8 by #12

Closed
wants to merge 17 commits into from
Closed

PHP 8 by #12

wants to merge 17 commits into from

Conversation

soyuka
Copy link
Owner

@soyuka soyuka commented Dec 8, 2022

@rkeet just a todo PR I want to merge

rkeet and others added 17 commits July 25, 2021 16:37
…imum version of latest installable package. Code style update. All functions now have typed parameters and return types where this was possible. Added annotation for thrown errors if any. Class properties and interfaces also typed where immediately clear what they should be. Generic code styling applied (mainly spacing).
…fork origin and removed the '2' from Symfony2 from the description.
…was changed to harden code, but causes unintended side effects.
…) object in str_replace (requires string 3rd arg)
feat: added function theHeaderIsSetEqualTo, which does the same as iAddHeaderEqualTo, but with different Gherkin
…t. Replaced repetitive message string with constant.
feat: Added assertNull function in Asserter and applied in JsonContext. Replaced repetitive message string with constant.
…ode-name-in-exception

Task fix upload file name and show node name in exception
{
$regex = '/' . preg_quote($expected, '/') . '/ui';
$regex = '/' . \preg_quote($expected, '/') . '/ui';

Choose a reason for hiding this comment

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

please :)

Suggested change
$regex = '/' . \preg_quote($expected, '/') . '/ui';
$regex = '/' . \preg_quote((string) $expected, '/') . '/ui';

@soyuka soyuka closed this Mar 7, 2024
@rkeet
Copy link

rkeet commented Mar 24, 2024

Hi @soyuka,

Apologies for never replying, I completely forgot about it.

Not sure if this PR would still be relevant today, if it is, grab what you want :-)

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