Skip to content

Fix undeclared vars - #271

Merged
sabberworm merged 3 commits into
masterfrom
declare_variables_8.2
Jul 28, 2026
Merged

Fix undeclared vars#271
sabberworm merged 3 commits into
masterfrom
declare_variables_8.2

Conversation

@juergmessmer

Copy link
Copy Markdown
Member

Hallo Rafi, habe hier undeklarierte Variablen dek... Glaube das kann man mergen?!
Danke.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
$oIncluder->addJavaScriptLibrary($this->aLibraryName, $this->sVersion, $this->bUseCompression, false, false, ResourceIncluder::PRIORITY_NORMAL, false);

<?php

class LocalJsLibraryFileModule extends FileModule {
private $aLibraryName;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Wollen wir das auch gleich zu sLibraryName angleichen?

// Don’t use SSL for downloads
// Don’t include dependencies either
$oIncluder->addJavaScriptLibrary($this->aLibraryName, $this->aVersion, $this->bUseCompression, false, false, ResourceIncluder::PRIORITY_NORMAL, false);
$oIncluder->addJavaScriptLibrary($this->sLibraryName, $this->aVersion, $this->bUseCompression, false, false, ResourceIncluder::PRIORITY_NORMAL, false);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Da steht immer noch $this->aVersion statt $this->sVersion.

@sabberworm
sabberworm merged commit b3d5db0 into master Jul 28, 2026
0 of 2 checks passed
@sabberworm
sabberworm deleted the declare_variables_8.2 branch July 28, 2026 14:51
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.

2 participants