From ad1d32e0c4a6de71762edec51c63d8a93ac50b84 Mon Sep 17 00:00:00 2001 From: Johnny Dealer <Johnny_Dealer@mail.ru> Date: Fri, 3 Mar 2023 18:15:35 +0300 Subject: [PATCH] Added .gitignore --- .gitignore | 1 + .idea/.gitignore | 8 -------- .idea/KPHP.iml | 8 -------- .idea/modules.xml | 8 -------- .idea/php.xml | 22 ---------------------- .idea/vcs.xml | 6 ------ README.md | 9 +++++++-- 7 files changed, 8 insertions(+), 54 deletions(-) create mode 100644 .gitignore delete mode 100644 .idea/.gitignore delete mode 100644 .idea/KPHP.iml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/php.xml delete mode 100644 .idea/vcs.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..485dee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b8..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/KPHP.iml b/.idea/KPHP.iml deleted file mode 100644 index c956989..0000000 --- a/.idea/KPHP.iml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<module type="WEB_MODULE" version="4"> - <component name="NewModuleRootManager"> - <content url="file://$MODULE_DIR$" /> - <orderEntry type="inheritedJdk" /> - <orderEntry type="sourceFolder" forTests="false" /> - </component> -</module> \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 0e62549..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="ProjectModuleManager"> - <modules> - <module fileurl="file://$PROJECT_DIR$/.idea/KPHP.iml" filepath="$PROJECT_DIR$/.idea/KPHP.iml" /> - </modules> - </component> -</project> \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml deleted file mode 100644 index 23db715..0000000 --- a/.idea/php.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="MessDetectorOptionsConfiguration"> - <option name="transferred" value="true" /> - </component> - <component name="PHPCSFixerOptionsConfiguration"> - <option name="transferred" value="true" /> - </component> - <component name="PHPCodeSnifferOptionsConfiguration"> - <option name="highlightLevel" value="WARNING" /> - <option name="transferred" value="true" /> - </component> - <component name="PhpProjectSharedConfiguration" php_language_level="8.1"> - <option name="suggestChangeDefaultLanguageLevel" value="false" /> - </component> - <component name="PhpStanOptionsConfiguration"> - <option name="transferred" value="true" /> - </component> - <component name="PsalmOptionsConfiguration"> - <option name="transferred" value="true" /> - </component> -</project> \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="VcsDirectoryMappings"> - <mapping directory="$PROJECT_DIR$" vcs="Git" /> - </component> -</project> \ No newline at end of file diff --git a/README.md b/README.md index bbccd82..4ac0777 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,12 @@ -Cron Parser +Cron Expression =========== -The Cron\Parser class can parse a CRON expression, determine if it is due to run, and calculate the next run date of the expression. The parser can handle simple increment of ranges (e.g. */12), intervals (e.g. 0-9), and lists (e.g. 1,2,3). +Данная библиотека сделана специально для KPHP, чтобы код компилировался (транспайлился) без ошибок + +General information +------------ + +Класс Cron Expression может анализировать выражение CRON, определять, должно ли оно выполняться, и вычислять дату следующего выполнения выражения. Парсер может обрабатывать макросы (@daily, @monthly), простое увеличение диапазонов (например, */12), интервалов (например, 0-9) и списков (например, 1,2,3). Requirements ------------ -- GitLab