Skip to content

Commit 946e375

Browse files
authored
remove deprecations (via #25)
1 parent 3f17df1 commit 946e375

File tree

3 files changed

+1
-17
lines changed

3 files changed

+1
-17
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Allure PHP Commons
22

33
[![Version](http://poser.pugx.org/allure-framework/allure-php-commons/version)](https://packagist.org/packages/allure-framework/allure-php-commons)
4-
[![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)
4+
[![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)
55
[![Type Coverage](https://shepherd.dev/github/allure-framework/allure-php-commons2/coverage.svg)](https://shepherd.dev/github/allure-framework/allure-php-commons2)
66
[![Psalm Level](https://shepherd.dev/github/allure-framework/allure-php-commons2/level.svg)](https://shepherd.dev/github/allure-framework/allure-php-commons2)
77
[![License](http://poser.pugx.org/allure-framework/allure-php-commons/license)](https://packagist.org/packages/allure-framework/allure-php-commons)

src/Allure.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,6 @@ public static function reset(): void
5656
self::$instance = null;
5757
}
5858

59-
/**
60-
* @deprecated Please use lifecycle configurator to set output directory.
61-
*/
62-
public static function setOutputDirectory(string $outputDirectory): void
63-
{
64-
self::getLifecycleConfigurator()->setOutputDirectory($outputDirectory);
65-
}
66-
6759
public static function getLifecycleConfigurator(): LifecycleConfiguratorInterface
6860
{
6961
return self::getInstance()->getLifecycleBuilder();

src/Model/ModelProviderChain.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,6 @@ public function getParameters(): array
6262
);
6363
}
6464

65-
/**
66-
* @deprecated Please use {@see getDisplayName()} method.
67-
*/
68-
public function getTitle(): ?string
69-
{
70-
return $this->getDisplayName();
71-
}
72-
7365
public function getDisplayName(): ?string
7466
{
7567
$displayName = null;

0 commit comments

Comments
 (0)