Skip to content

Conversation

@terdia
Copy link

@terdia terdia commented May 28, 2021

No description provided.

j0k3r and others added 30 commits October 29, 2018 16:34
Update PHPDoc - don't return "Boolean" use bool or false instead
Change mentioned current Symfony version from 4 to 5
…alse on newer versions and is deprecated since PHP 7.4
Fix array and string offset access using curly braces (Deprecated since PHP 7.4)

Fix array and string offset access using curly braces (Deprecated since PHP 7.4)

PHP 7.4 incompatibility fix: Passing the glue and pieces parameters in reverse order to implode has been deprecated since PHP 7.4
…he session module's ini settings at this time`
…arning-on-php72-and-above

Fix for `Warning: ini_set(): A session is active...`
- Add PHP requirements
- Cleanup Travis
- Update changelog
…notice

Remove notice appeared on php 7.4
…pdate-composer

Rename package to `friendsofsymfony1/symfony1`
pathumhdes and others added 16 commits June 19, 2020 09:12
…er-json-to-automatically-remove-lexpress-symfomy1

Update composer.json to automatically remove `lexpress/symfony1` package
…module-fix

Update GIT url from lexpress to fos1 in the submodules.
…ler-6-compat-2

Add compatibility for Swiftmailer 6 and preserve compatibility with Swiftmailer 5
We can actually pass array to sfWebController::redirect() function as first parameter, but IDE wrongly highlights this as "Expected parameter of type 'string', 'array' provided".
The more precise the types are, the better IDE will help preventing errors.

Co-authored-by: Ivan Voskoboinyk <ivan.voskoboinyk@gmail.com>
Update PHPDoc for `redirect()` and `url()` functions on sfWebController
Ensure sfValidatorBoolean::clean() returns false when 0 (integer zero) is passed in (fixes FriendsOfSymfony1#234 )
@terdia terdia requested a review from obukhov May 28, 2021 13:58
@terdia
Copy link
Author

terdia commented May 28, 2021

Checking with @wutsch0 if we can delete his changes and rely on changes from upstream

@terdia terdia requested a review from wutsch0 May 28, 2021 13:58
Use strict comparison in `in_array()` and add boolean and usual integer values
to 'true_values' and 'false_values' options
@terdia terdia closed this May 29, 2021
@terdia terdia reopened this May 29, 2021
Copy link

@wutsch0 wutsch0 left a comment

Choose a reason for hiding this comment

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

i have not managed to find exactly why i created the fix in sfValidatorBoolean.class.php, it is probably either lyMediaAssetForm or one of the UserProfileForms.
But my fix is still necessary because the official fix doesn't fix the situation if the value is true or false, which was the original reason to create it.
We can still merge as you did, but I would be afraid to remove it since if its reappearing it either breaks editorial content or user data, both with data loss

@obukhov obukhov merged commit 8d9bb43 into master Jun 18, 2021
@obukhov obukhov deleted the merge-upstream branch June 18, 2021 12:06
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.