You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/components/points/includes/logs.php#381 wordpoints_component( 1 ): Non gettexted string 'points'
/components/points/includes/logs.php#382
->get_sub_app( 1 ): Non gettexted string 'logs'
/components/points/includes/logs.php#383
->get_sub_app( 1 ): Non gettexted string 'views'
Note how instead of (unknown)->get_sub_app( 1 ), which we would get if this code was all in one line, the validator actually latches onto the whitespace. I think this is a simple case of us not discarding whitespace when we should be.
When a method call was wrapped to another line, the whitespace in front of it would be reported as the caller, instead of the correct variable or `(unknown)`.
Fixes#31
Given code like this:
These errors get reported:
Note how instead of
(unknown)->get_sub_app( 1 )
, which we would get if this code was all in one line, the validator actually latches onto the whitespace. I think this is a simple case of us not discarding whitespace when we should be.That is, given this code:
We'd get these errors:
And that's what we would expect to get here.
The text was updated successfully, but these errors were encountered: