Skip to content

[3.0.x.x] Remove Ref check from proxy.php#13426

Merged
danielkerr merged 1 commit into3.0.x.xfrom
proxy-ref
Jan 6, 2024
Merged

[3.0.x.x] Remove Ref check from proxy.php#13426
danielkerr merged 1 commit into3.0.x.xfrom
proxy-ref

Conversation

@AJenbo
Copy link
Copy Markdown
Contributor

@AJenbo AJenbo commented Jan 6, 2024

Ref does not exist (and it doesn't appear it ever did) so checking for it is pointless.

The check was originally added here: 248bf46

Then got changed to Reference in OC4, with comments about being broken from other devs:
bca8e10

Reference then got added here: fe0b691

Then fully removed here: c705bc4

@AJenbo AJenbo requested a review from mhcwebdesign January 6, 2024 12:58
@mhcwebdesign
Copy link
Copy Markdown
Contributor

I tend to agree, just checked all the previous OpenCart versions for a getRef function or a Ref class, can't find one anywhere. Maybe Daniel can shed some light here on this?

@AJenbo
Copy link
Copy Markdown
Contributor Author

AJenbo commented Jan 6, 2024

Yeah the history for this project is rather hard to navigate.

@danielkerr danielkerr merged commit 6b2622b into 3.0.x.x Jan 6, 2024
@AJenbo AJenbo deleted the proxy-ref branch January 6, 2024 18:39
@AJenbo
Copy link
Copy Markdown
Contributor Author

AJenbo commented Jan 6, 2024

@mhcwebdesign just 47 issues left, gl

@mhcwebdesign
Copy link
Copy Markdown
Contributor

@mhcwebdesign just 47 issues left, gl

I am going to look into the remaining issues reported by PHPStan this coming week, most of them appear to come from the various payment extensions. Some of the latter appear to be quite old or obsolete, I already removed some of them because of using obsolete or abandoned 3rd party APIs.

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