From d77daa2d33d6b294a8e1a46dafb9cf557dc5a009 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Wed, 22 Mar 2023 16:56:17 +0100 Subject: [PATCH] Reduce public API surface --- src/Parser.php | 3 +++ src/schema/ColumnDefinition.php | 2 ++ src/schema/Schema.php | 2 ++ src/schema/type/BooleanType.php | 2 ++ src/schema/type/FloatType.php | 2 ++ src/schema/type/IntegerType.php | 2 ++ src/schema/type/StringType.php | 2 ++ src/schema/type/Type.php | 2 ++ 8 files changed, 17 insertions(+) diff --git a/src/Parser.php b/src/Parser.php index 791cd8c..29dae82 100644 --- a/src/Parser.php +++ b/src/Parser.php @@ -14,6 +14,9 @@ use function str_getcsv; use Generator; +/** + * @no-named-arguments Parameter names are not covered by the backward compatibility promise for this library + */ final class Parser { /** diff --git a/src/schema/ColumnDefinition.php b/src/schema/ColumnDefinition.php index 1b785b1..cde0d34 100644 --- a/src/schema/ColumnDefinition.php +++ b/src/schema/ColumnDefinition.php @@ -11,6 +11,8 @@ /** * @psalm-immutable + * + * @no-named-arguments Parameter names are not covered by the backward compatibility promise for this library */ final class ColumnDefinition { diff --git a/src/schema/Schema.php b/src/schema/Schema.php index bb89227..f5a260e 100644 --- a/src/schema/Schema.php +++ b/src/schema/Schema.php @@ -11,6 +11,8 @@ /** * @psalm-immutable + * + * @no-named-arguments Parameter names are not covered by the backward compatibility promise for this library */ final class Schema { diff --git a/src/schema/type/BooleanType.php b/src/schema/type/BooleanType.php index 11782fe..57f5d1b 100644 --- a/src/schema/type/BooleanType.php +++ b/src/schema/type/BooleanType.php @@ -11,6 +11,8 @@ /** * @psalm-immutable + * + * @no-named-arguments Parameter names are not covered by the backward compatibility promise for this library */ final class BooleanType extends Type { diff --git a/src/schema/type/FloatType.php b/src/schema/type/FloatType.php index 616da47..589ae31 100644 --- a/src/schema/type/FloatType.php +++ b/src/schema/type/FloatType.php @@ -11,6 +11,8 @@ /** * @psalm-immutable + * + * @no-named-arguments Parameter names are not covered by the backward compatibility promise for this library */ final class FloatType extends Type { diff --git a/src/schema/type/IntegerType.php b/src/schema/type/IntegerType.php index 6ffe1e6..6f18f22 100644 --- a/src/schema/type/IntegerType.php +++ b/src/schema/type/IntegerType.php @@ -11,6 +11,8 @@ /** * @psalm-immutable + * + * @no-named-arguments Parameter names are not covered by the backward compatibility promise for this library */ final class IntegerType extends Type { diff --git a/src/schema/type/StringType.php b/src/schema/type/StringType.php index f97aaef..aa2ebca 100644 --- a/src/schema/type/StringType.php +++ b/src/schema/type/StringType.php @@ -11,6 +11,8 @@ /** * @psalm-immutable + * + * @no-named-arguments Parameter names are not covered by the backward compatibility promise for this library */ final class StringType extends Type { diff --git a/src/schema/type/Type.php b/src/schema/type/Type.php index ae7d0c0..ff705c8 100644 --- a/src/schema/type/Type.php +++ b/src/schema/type/Type.php @@ -11,6 +11,8 @@ /** * @psalm-immutable + * + * @no-named-arguments Parameter names are not covered by the backward compatibility promise for this library */ abstract class Type {