Skip to content

Commit 262d1a1

Browse files
committed
Remove platform names
1 parent 94143a1 commit 262d1a1

8 files changed

Lines changed: 0 additions & 58 deletions

libs/phpdoc/src/Platform/PhanPlatform.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@
4949
*/
5050
final class PhanPlatform extends Platform
5151
{
52-
/**
53-
* @var non-empty-string
54-
*/
55-
public const string NAME = 'Phan';
56-
57-
public private(set) string $name = self::NAME;
58-
5952
/**
6053
* @var iterable<non-empty-lowercase-string, TagDefinitionInterface>
6154
*/

libs/phpdoc/src/Platform/PhpCodeSnifferPlatform.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@
1818
*/
1919
final class PhpCodeSnifferPlatform extends Platform
2020
{
21-
/**
22-
* @var non-empty-string
23-
*/
24-
public const string NAME = 'PHP CodeSniffer';
25-
26-
public private(set) string $name = self::NAME;
27-
2821
/**
2922
* @var iterable<non-empty-string, TagDefinitionInterface>
3023
*/

libs/phpdoc/src/Platform/PhpDocumentorPlatform.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,6 @@
4242
*/
4343
final class PhpDocumentorPlatform extends Platform
4444
{
45-
/**
46-
* @var non-empty-string
47-
*/
48-
public const string NAME = 'phpDocumentor';
49-
50-
public private(set) string $name = self::NAME;
51-
5245
/**
5346
* @var iterable<non-empty-string, TagDefinitionInterface>
5447
*/

libs/phpdoc/src/Platform/PhpStanPlatform.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,6 @@
5252
*/
5353
final class PhpStanPlatform extends Platform
5454
{
55-
/**
56-
* @var non-empty-string
57-
*/
58-
public const string NAME = 'PHPStan';
59-
60-
public private(set) string $name = self::NAME;
61-
6255
/**
6356
* @var iterable<non-empty-lowercase-string, TagDefinitionInterface>
6457
*/

libs/phpdoc/src/Platform/PhpStormPlatform.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@
1616
*/
1717
final class PhpStormPlatform extends Platform
1818
{
19-
/**
20-
* @var non-empty-string
21-
*/
22-
public const string NAME = 'PhpStorm';
23-
24-
public private(set) string $name = self::NAME;
25-
2619
/**
2720
* @var iterable<non-empty-string, TagDefinitionInterface>
2821
*/

libs/phpdoc/src/Platform/PlatformInterface.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,6 @@
1818
*/
1919
interface PlatformInterface
2020
{
21-
/**
22-
* Human-readable platform name.
23-
*
24-
* @var non-empty-string
25-
*/
26-
public string $name {
27-
get;
28-
}
29-
3021
/**
3122
* Tag definitions keyed by their canonical (lower-case) name.
3223
*

libs/phpdoc/src/Platform/PsalmPlatform.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,6 @@
7979
*/
8080
final class PsalmPlatform extends Platform
8181
{
82-
/**
83-
* @var non-empty-string
84-
*/
85-
public const string NAME = 'Psalm';
86-
87-
public private(set) string $name = self::NAME;
88-
8982
/**
9083
* @var iterable<non-empty-lowercase-string, TagDefinitionInterface>
9184
*/

libs/phpdoc/src/Platform/StandardPlatform.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,6 @@
6868
*/
6969
final class StandardPlatform implements PlatformInterface
7070
{
71-
/**
72-
* @var non-empty-string
73-
*/
74-
public const string NAME = 'standard';
75-
76-
public private(set) string $name = self::NAME;
77-
7871
/**
7972
* @var iterable<non-empty-lowercase-string, TagDefinitionInterface>
8073
*/

0 commit comments

Comments
 (0)