Closed (duplicate)
Project:
Drupal core
Version:
10.1.x-dev
Component:
views.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Jan 2018 at 10:58 UTC
Updated:
25 Dec 2022 at 04:14 UTC
Jump to comment: Most recent
Comments
Comment #2
gaurav.kapoor commentedComment #3
borisson_Looks solid.
Comment #4
alexpottWas this meant to be
!is_numeric($argument)? I.e is this a sign of something more broken?Comment #5
dawehnerFor a class called "None", there is a lot going on here:
Comment #6
borisson_#5 does that mean we have to do more work in this issue?
Comment #7
dawehnerI'm quite sure we do lack test coverage, because I think the logic is basically right, beside using the wrong variable name.
Comment #8
Anonymous (not verified) commented2 years ago @shashikant_chauhan already works on this problem. Can we add credit to him, too?
Comment #18
quietone commentedThis is a duplicate of a later issue, #3316276: Fix 'undefined variable' PHPStan L0 errors. I am moving credit for the patch to that issue.
There is another issue that identified the problem. That one has on a test for this. #2595025: None validator incorrectly handles numeric arguments.