-
Notifications
You must be signed in to change notification settings - Fork 0
Merge changes from upstream branch #4
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
Conversation
Helps e.g. psalm static analysis.
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
Test PHP 7.3 and 7.4
Update README.md
…-fix-cve-2019-18888 Backport fix for cve-2019-18888
…ollowing-218 Fix tests count following FriendsOfSymfony1#218
…ll in sfForm.class.php on line 947`
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
Php 7.4 Incompatibility Fixes
…notice Remove notice appeared on php 7.4
…pdate-composer Rename package to `friendsofsymfony1/symfony1`
…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>
According to discussion: FriendsOfSymfony1#246 (comment)
Update PHPDoc for `redirect()` and `url()` functions on sfWebController
Ensure sfValidatorBoolean::clean() returns false when 0 (integer zero) is passed in (fixes FriendsOfSymfony1#234 )
|
Checking with @wutsch0 if we can delete his changes and rely on changes from upstream |
Use strict comparison in `in_array()` and add boolean and usual integer values to 'true_values' and 'false_values' options
wutsch0
left a comment
There was a problem hiding this 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
No description provided.