From 4e59581a67250050a0f3f888b538d1cf98477b20 Mon Sep 17 00:00:00 2001
From: "a.shamavov" <a.shamavov@iqdev.digital>
Date: Tue, 16 Apr 2024 13:46:00 +0500
Subject: [PATCH] temp commit

---
 public/files/text.txt              |  2 --
 src/Validation/ArrayValidation.php | 26 --------------------------
 src/Validation/DateValidation.php  | 14 --------------
 3 files changed, 42 deletions(-)
 delete mode 100644 public/files/text.txt
 delete mode 100644 src/Validation/ArrayValidation.php
 delete mode 100644 src/Validation/DateValidation.php

diff --git a/public/files/text.txt b/public/files/text.txt
deleted file mode 100644
index 3ba1fcf..0000000
--- a/public/files/text.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Раз, два, три, четыре,
-пять, шесть, семь, восемь.
\ No newline at end of file
diff --git a/src/Validation/ArrayValidation.php b/src/Validation/ArrayValidation.php
deleted file mode 100644
index 5807a44..0000000
--- a/src/Validation/ArrayValidation.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-namespace App\Validation;
-
-class ArrayValidation
-{
-    public static function validateFunc1(array $array): bool
-    {
-        $prices = array_column($array, 'price');
-        $counts = array_column($array, 'count');
-        return ctype_digit(implode('',$prices)) && ctype_digit(implode('', $counts));
-    }
-
-    public static function validateFunc2(array $array): bool
-    {
-        $ids = array_column($array, 'id');
-        $ages = array_column($array, 'age');
-        return ctype_digit(implode('', $ids)) && ctype_digit(implode('', $ages));
-    }
-
-    public static function validateFunc4(array $array): bool
-    {
-        $depths = array_column($array, 'depth');
-        return ctype_digit(implode('', $depths));
-    }
-}
\ No newline at end of file
diff --git a/src/Validation/DateValidation.php b/src/Validation/DateValidation.php
deleted file mode 100644
index 18046f8..0000000
--- a/src/Validation/DateValidation.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-
-namespace App\Validation;
-
-class DateValidation
-{
-    public static function validate(string $date): bool
-    {
-        if (strtotime($date)) {
-            return true;
-        }
-        return false;
-    }
-}
\ No newline at end of file
-- 
GitLab