Skip to content

Commit

Permalink
API Deprecate API that will be removed (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Sep 13, 2024
1 parent 510811c commit d6b2fbe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Tasks/UpdatePackageInfoTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class UpdatePackageInfoTask extends BuildTask

/**
* @var SupportedAddonsLoader
* @deprecated 3.3.0 Will be removed without equivalent functionality
*/
protected $supportedAddonsLoader;

Expand Down Expand Up @@ -99,18 +100,24 @@ public function setComposerLoader($composerLoader)

/**
* @return SupportedAddonsLoader
* @deprecated 3.3.0 Will be removed without equivalent functionality
*/
public function getSupportedAddonsLoader()
{
Deprecation::notice('3.3.0', 'Will be removed without equivalent functionality');
return $this->supportedAddonsLoader;
}

/**
* @param SupportedAddonsLoader $supportedAddonsLoader
* @return $this
* @deprecated 3.3.0 Will be removed without equivalent functionality
*/
public function setSupportedAddonsLoader(SupportedAddonsLoader $supportedAddonsLoader)
{
Deprecation::withNoReplacement(
fn() => Deprecation::notice('3.3.0', 'Will be removed without equivalent functionality')
);
$this->supportedAddonsLoader = $supportedAddonsLoader;
return $this;
}
Expand Down

0 comments on commit d6b2fbe

Please sign in to comment.