Skip to content

Commit

Permalink
remove deprecations (via #25)
Browse files Browse the repository at this point in the history
  • Loading branch information
remorhaz authored Dec 28, 2021
1 parent 3f17df1 commit 946e375
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Allure PHP Commons

[![Version](http://poser.pugx.org/allure-framework/allure-php-commons/version)](https://packagist.org/packages/allure-framework/allure-php-commons)
[![Build](https://github.com/allure-framework/allure-php-commons2/actions/workflows/build.yml/badge.svg)](https://github.com/allure-framework/allure-php-commons/actions/workflows/build.yml)
[![Build](https://github.com/allure-framework/allure-php-commons2/actions/workflows/build.yml/badge.svg)](https://github.com/allure-framework/allure-php-commons2/actions/workflows/build.yml)
[![Type Coverage](https://shepherd.dev/github/allure-framework/allure-php-commons2/coverage.svg)](https://shepherd.dev/github/allure-framework/allure-php-commons2)
[![Psalm Level](https://shepherd.dev/github/allure-framework/allure-php-commons2/level.svg)](https://shepherd.dev/github/allure-framework/allure-php-commons2)
[![License](http://poser.pugx.org/allure-framework/allure-php-commons/license)](https://packagist.org/packages/allure-framework/allure-php-commons)
Expand Down
8 changes: 0 additions & 8 deletions src/Allure.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@ public static function reset(): void
self::$instance = null;
}

/**
* @deprecated Please use lifecycle configurator to set output directory.
*/
public static function setOutputDirectory(string $outputDirectory): void
{
self::getLifecycleConfigurator()->setOutputDirectory($outputDirectory);
}

public static function getLifecycleConfigurator(): LifecycleConfiguratorInterface
{
return self::getInstance()->getLifecycleBuilder();
Expand Down
8 changes: 0 additions & 8 deletions src/Model/ModelProviderChain.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,6 @@ public function getParameters(): array
);
}

/**
* @deprecated Please use {@see getDisplayName()} method.
*/
public function getTitle(): ?string
{
return $this->getDisplayName();
}

public function getDisplayName(): ?string
{
$displayName = null;
Expand Down

0 comments on commit 946e375

Please sign in to comment.