From 74487a0ab95aa72bf8c675d0cb9a8cbb060b1f5e Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Wed, 5 Mar 2025 07:50:38 +0400 Subject: [PATCH] modifs.mineures sans commentaires --- .idea/inspectionProfiles/Project_Default.xml | 7 ++ .idea/php.xml | 15 ++++ src/schema/AnalyzerContext.php | 3 + src/schema/_scalar/ScalarValue.php | 85 +++++++++++++------- src/schema/types.php | 2 + src/schema/types/IType.php | 24 ++++-- src/schema/types/Registry.php | 3 +- src/schema/types/_tformatable.php | 19 +++++ src/schema/types/_tsimple.php | 12 +-- src/schema/types/_tstring.php | 26 ++++++ src/schema/types/tarray.php | 41 +++++++++- src/schema/types/tbool.php | 41 +++++----- src/schema/types/tcallable.php | 31 ++++++- src/schema/types/tcontent.php | 25 +++++- src/schema/types/tfloat.php | 36 +++++---- src/schema/types/tint.php | 50 +++++------- src/schema/types/tkey.php | 28 ++++++- src/schema/types/tpkey.php | 32 +++++++- src/schema/types/trawstring.php | 45 +++-------- src/schema/types/ttext.php | 7 ++ tests/wip/schema/_scalar/ScalarValueTest.php | 70 ++++++++++++---- 21 files changed, 432 insertions(+), 170 deletions(-) create mode 100644 src/schema/types/_tformatable.php create mode 100644 src/schema/types/_tstring.php create mode 100644 src/schema/types/ttext.php diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 03d9549..04f133a 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -2,5 +2,12 @@ \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml index 6a1b2d2..9891bef 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -10,6 +10,11 @@