Skip to content

Commit 6351a31

Browse files
committed
Add Arch test for Aliases and finalize all aliases classes
1 parent 1f12856 commit 6351a31

33 files changed

+108
-73
lines changed

src/Float/Alias/Double.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
*
2121
* @psalm-immutable
2222
*/
23-
readonly class Double extends FloatStandard
23+
final readonly class Double extends FloatStandard
2424
{
2525
}

src/Float/Alias/FloatType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
*
1919
* @psalm-immutable
2020
*/
21-
readonly class FloatType extends FloatStandard
21+
final readonly class FloatType extends FloatStandard
2222
{
2323
}

src/Float/Alias/NonNegative.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
*
2121
* @psalm-immutable
2222
*/
23-
readonly class NonNegative extends FloatNonNegative
23+
final readonly class NonNegative extends FloatNonNegative
2424
{
2525
}

src/Float/Alias/Positive.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
*
2121
* @psalm-immutable
2222
*/
23-
readonly class Positive extends FloatPositive
23+
final readonly class Positive extends FloatPositive
2424
{
2525
}

src/Integer/Alias/Id.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
*
2222
* @psalm-immutable
2323
*/
24-
readonly class Id extends IntegerPositive
24+
final readonly class Id extends IntegerPositive
2525
{
2626
}

src/Integer/Alias/IntType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
*
2121
* @psalm-immutable
2222
*/
23-
readonly class IntType extends IntegerStandard
23+
final readonly class IntType extends IntegerStandard
2424
{
2525
}

src/Integer/Alias/Integer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
*
2121
* @psalm-immutable
2222
*/
23-
readonly class Integer extends IntegerStandard
23+
final readonly class Integer extends IntegerStandard
2424
{
2525
}

src/Integer/Alias/MariaDb/Tiny.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
*
2121
* @psalm-immutable
2222
*/
23-
readonly class Tiny extends IntegerTiny
23+
final readonly class Tiny extends IntegerTiny
2424
{
2525
}

src/Integer/Alias/NonNegative.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
*
2121
* @psalm-immutable
2222
*/
23-
readonly class NonNegative extends IntegerNonNegative
23+
final readonly class NonNegative extends IntegerNonNegative
2424
{
2525
}

src/Integer/Alias/Positive.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
*
2121
* @psalm-immutable
2222
*/
23-
readonly class Positive extends IntegerPositive
23+
final readonly class Positive extends IntegerPositive
2424
{
2525
}

0 commit comments

Comments
 (0)