Skip to content

fix: deprecations triggered by debug class loader #981

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/Flex.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ class Flex implements PluginInterface, EventSubscriberInterface
];
private $filter;

/**
* @return void
*/
public function activate(Composer $composer, IOInterface $io)
{
if (!\extension_loaded('openssl')) {
Expand Down Expand Up @@ -291,6 +294,9 @@ class_exists(__NAMESPACE__.str_replace('/', '\\', substr($file, \strlen(__DIR__)
}
}

/**
* @return void
*/
public function deactivate(Composer $composer, IOInterface $io)
{
self::$activated = false;
Expand Down Expand Up @@ -594,6 +600,9 @@ private function synchronizePackageJson(string $rootDir)
}
}

/**
* @return void
*/
public function uninstall(Composer $composer, IOInterface $io)
{
$this->lock->delete();
Expand Down
4 changes: 4 additions & 0 deletions src/InformationOperation.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ public function getJobType()

/**
* {@inheritdoc}
*
* @return string
*/
public function getOperationType()
{
Expand All @@ -65,6 +67,8 @@ public function getOperationType()

/**
* {@inheritdoc}
*
* @return string
*/
public function show($lock)
{
Expand Down
3 changes: 3 additions & 0 deletions src/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ public static function fromJson(array $json): self
return $response;
}

/**
* @return mixed
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
Expand Down