From 9a95704e5c07b87ad1e2ead76ad5e16c43542a53 Mon Sep 17 00:00:00 2001 From: Bruno Date: Thu, 3 Dec 2020 13:38:58 -0300 Subject: [PATCH] update to formularium 0.7 --- Datatype_aaaaa.php | 2 +- composer.json | 4 +- composer.lock | 234 ++++++++++++++++++++++++++++++++++++++++----- 3 files changed, 212 insertions(+), 28 deletions(-) diff --git a/Datatype_aaaaa.php b/Datatype_aaaaa.php index 5bfa46f..b968b8d 100644 --- a/Datatype_aaaaa.php +++ b/Datatype_aaaaa.php @@ -23,7 +23,7 @@ public function validate($value, Model $model = null) { $value = parent::validate($value, $model); - Equals::validate($value, ['value' => 'aaaaa'], $this, $model); + $value = Equals::validate($value, ['value' => 'aaaaa'], $model); return $value; } diff --git a/composer.json b/composer.json index 82ccaea..3a75c9e 100644 --- a/composer.json +++ b/composer.json @@ -3,11 +3,11 @@ "description": "Sample pure PHP app using formularium", "type": "application", "license": "MIT", - "version": "1.4.0", + "version": "1.5.0", "homepage": "https://github.com/Corollarium/FormulariumApp", "require": { "php": ">=7.2.0", - "corollarium/formularium": "^0.5" + "corollarium/formularium": "^0.7.1" }, "scripts": { } diff --git a/composer.lock b/composer.lock index 3ebb8f9..cca7423 100644 --- a/composer.lock +++ b/composer.lock @@ -4,32 +4,34 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "aed15ab1ca933b507e0b6d1a5ff71497", + "content-hash": "12de5bde70da3cad8b7a9b251f82a9c9", "packages": [ { "name": "corollarium/formularium", - "version": "v0.5.0", + "version": "v0.7.1", "source": { "type": "git", "url": "https://github.com/Corollarium/Formularium.git", - "reference": "192b450a7e07aec68540b961f449628cacd19b07" + "reference": "b9cc8fe872972abb84323ddabb309ca7a2e4515b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Corollarium/Formularium/zipball/192b450a7e07aec68540b961f449628cacd19b07", - "reference": "192b450a7e07aec68540b961f449628cacd19b07", + "url": "https://api.github.com/repos/Corollarium/Formularium/zipball/b9cc8fe872972abb84323ddabb309ca7a2e4515b", + "reference": "b9cc8fe872972abb84323ddabb309ca7a2e4515b", "shasum": "" }, "require": { "ezyang/htmlpurifier": "^4.12", "fzaninotto/faker": "^1.9", "haydenpierce/class-finder": "^0.4.2", + "nette/php-generator": "^3.5", "php": ">=7.2.0", "respect/validation": "^1.1", "thecodingmachine/safe": "^1.1" }, "require-dev": { "illuminate/console": "^7.16", + "johnkary/phpunit-speedtrap": "^3.2", "phpstan/phpstan": "^0.12", "phpunit/phpunit": "^7", "symplify/easy-coding-standard": "^8.0" @@ -57,7 +59,11 @@ "keywords": [ "form" ], - "time": "2020-08-14T19:19:15+00:00" + "support": { + "issues": "https://github.com/Corollarium/Formularium/issues", + "source": "https://github.com/Corollarium/Formularium/tree/v0.7.1" + }, + "time": "2020-12-03T16:34:28+00:00" }, { "name": "ezyang/htmlpurifier", @@ -107,6 +113,10 @@ "keywords": [ "html" ], + "support": { + "issues": "https://github.com/ezyang/htmlpurifier/issues", + "source": "https://github.com/ezyang/htmlpurifier/tree/master" + }, "time": "2020-06-29T00:56:53+00:00" }, { @@ -157,6 +167,11 @@ "faker", "fixtures" ], + "support": { + "issues": "https://github.com/fzaninotto/Faker/issues", + "source": "https://github.com/fzaninotto/Faker/tree/v1.9.1" + }, + "abandoned": true, "time": "2019-12-12T13:22:17+00:00" }, { @@ -199,8 +214,164 @@ } ], "description": "A library that can provide of a list of classes in a given namespace", + "support": { + "issues": "https://gitlab.com/api/v4/projects/7670051/issues" + }, "time": "2020-04-20T17:38:50+00:00" }, + { + "name": "nette/php-generator", + "version": "v3.5.1", + "source": { + "type": "git", + "url": "https://github.com/nette/php-generator.git", + "reference": "fe54415cd22d01bee1307a608058bf131978610a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/php-generator/zipball/fe54415cd22d01bee1307a608058bf131978610a", + "reference": "fe54415cd22d01bee1307a608058bf131978610a", + "shasum": "" + }, + "require": { + "nette/utils": "^3.1.2", + "php": ">=7.1" + }, + "require-dev": { + "nette/tester": "^2.0", + "nikic/php-parser": "^4.4", + "phpstan/phpstan": "^0.12", + "tracy/tracy": "^2.3" + }, + "suggest": { + "nikic/php-parser": "to use ClassType::withBodiesFrom() & GlobalFunction::withBodyFrom()" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.5-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 7.4 features.", + "homepage": "https://nette.org", + "keywords": [ + "code", + "nette", + "php", + "scaffolding" + ], + "support": { + "issues": "https://github.com/nette/php-generator/issues", + "source": "https://github.com/nette/php-generator/tree/v3.5.1" + }, + "time": "2020-11-04T11:26:26+00:00" + }, + { + "name": "nette/utils", + "version": "v3.2.0", + "source": { + "type": "git", + "url": "https://github.com/nette/utils.git", + "reference": "d0427c1811462dbb6c503143eabe5478b26685f7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/utils/zipball/d0427c1811462dbb6c503143eabe5478b26685f7", + "reference": "d0427c1811462dbb6c503143eabe5478b26685f7", + "shasum": "" + }, + "require": { + "php": ">=7.2 <8.1" + }, + "conflict": { + "nette/di": "<3.0.6" + }, + "require-dev": { + "nette/tester": "~2.0", + "phpstan/phpstan": "^0.12", + "tracy/tracy": "^2.3" + }, + "suggest": { + "ext-gd": "to use Image", + "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()", + "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", + "ext-json": "to use Nette\\Utils\\Json", + "ext-mbstring": "to use Strings::lower() etc...", + "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()", + "ext-xml": "to use Strings::length() etc. when mbstring is not available" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", + "homepage": "https://nette.org", + "keywords": [ + "array", + "core", + "datetime", + "images", + "json", + "nette", + "paginator", + "password", + "slugify", + "string", + "unicode", + "utf-8", + "utility", + "validation" + ], + "support": { + "issues": "https://github.com/nette/utils/issues", + "source": "https://github.com/nette/utils/tree/v3.2.0" + }, + "time": "2020-11-25T23:47:50+00:00" + }, { "name": "respect/validation", "version": "1.1.31", @@ -262,24 +433,28 @@ "validation", "validator" ], + "support": { + "issues": "https://github.com/Respect/Validation/issues", + "source": "https://github.com/Respect/Validation/tree/1.1.31" + }, "time": "2019-05-28T06:10:06+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.18.1", + "version": "v1.20.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a" + "reference": "39d483bdf39be819deabf04ec872eb0b2410b531" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/a6977d63bf9a0ad4c65cd352709e230876f9904a", - "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/39d483bdf39be819deabf04ec872eb0b2410b531", + "reference": "39d483bdf39be819deabf04ec872eb0b2410b531", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "suggest": { "ext-mbstring": "For best performance" @@ -287,7 +462,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.18-dev" + "dev-main": "1.20-dev" }, "thanks": { "name": "symfony/polyfill", @@ -325,6 +500,9 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.20.0" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -339,20 +517,20 @@ "type": "tidelift" } ], - "time": "2020-07-14T12:35:20+00:00" + "time": "2020-10-23T14:02:19+00:00" }, { "name": "thecodingmachine/safe", - "version": "v1.1.3", + "version": "v1.3.3", "source": { "type": "git", "url": "https://github.com/thecodingmachine/safe.git", - "reference": "9f277171e296a3c8629c04ac93ec95ff0f208ccb" + "reference": "a8ab0876305a4cdaef31b2350fcb9811b5608dbc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/9f277171e296a3c8629c04ac93ec95ff0f208ccb", - "reference": "9f277171e296a3c8629c04ac93ec95ff0f208ccb", + "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/a8ab0876305a4cdaef31b2350fcb9811b5608dbc", + "reference": "a8ab0876305a4cdaef31b2350fcb9811b5608dbc", "shasum": "" }, "require": { @@ -373,15 +551,21 @@ "psr-4": { "Safe\\": [ "lib/", + "deprecated/", "generated/" ] }, "files": [ + "deprecated/apc.php", + "deprecated/libevent.php", + "deprecated/mssql.php", + "deprecated/stats.php", + "lib/special_cases.php", "generated/apache.php", - "generated/apc.php", "generated/apcu.php", "generated/array.php", "generated/bzip2.php", + "generated/calendar.php", "generated/classobj.php", "generated/com.php", "generated/cubrid.php", @@ -410,14 +594,12 @@ "generated/inotify.php", "generated/json.php", "generated/ldap.php", - "generated/libevent.php", "generated/libxml.php", "generated/lzf.php", "generated/mailparse.php", "generated/mbstring.php", "generated/misc.php", "generated/msql.php", - "generated/mssql.php", "generated/mysql.php", "generated/mysqli.php", "generated/mysqlndMs.php", @@ -449,7 +631,6 @@ "generated/sqlsrv.php", "generated/ssdeep.php", "generated/ssh2.php", - "generated/stats.php", "generated/stream.php", "generated/strings.php", "generated/swoole.php", @@ -463,8 +644,7 @@ "generated/yaml.php", "generated/yaz.php", "generated/zip.php", - "generated/zlib.php", - "lib/special_cases.php" + "generated/zlib.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -472,7 +652,11 @@ "MIT" ], "description": "PHP core functions that throw exceptions instead of returning FALSE on error", - "time": "2020-07-10T09:34:29+00:00" + "support": { + "issues": "https://github.com/thecodingmachine/safe/issues", + "source": "https://github.com/thecodingmachine/safe/tree/v1.3.3" + }, + "time": "2020-10-28T17:51:34+00:00" } ], "packages-dev": [], @@ -485,5 +669,5 @@ "php": ">=7.2.0" }, "platform-dev": [], - "plugin-api-version": "1.1.0" + "plugin-api-version": "2.0.0" }