Fixes
This commit is contained in:
parent
9a8aec0619
commit
062a1a7297
@ -17,6 +17,7 @@
|
|||||||
"doctrine/orm": "^2.5"
|
"doctrine/orm": "^2.5"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^5"
|
"phpunit/phpunit": "^5",
|
||||||
|
"phpstan/phpstan": "^0.11.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
893
composer.lock
generated
893
composer.lock
generated
@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "1ba3532f90790dd682f6d55c730ff726",
|
"content-hash": "51b742a6ed2a195b6f88e21197847013",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "doctrine/annotations",
|
"name": "doctrine/annotations",
|
||||||
@ -543,12 +543,12 @@
|
|||||||
"version": "v2.6.1",
|
"version": "v2.6.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/doctrine/doctrine2.git",
|
"url": "https://github.com/doctrine/orm.git",
|
||||||
"reference": "87ee409783a4a322b5597ebaae558661404055a7"
|
"reference": "87ee409783a4a322b5597ebaae558661404055a7"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/doctrine/doctrine2/zipball/87ee409783a4a322b5597ebaae558661404055a7",
|
"url": "https://api.github.com/repos/doctrine/orm/zipball/87ee409783a4a322b5597ebaae558661404055a7",
|
||||||
"reference": "87ee409783a4a322b5597ebaae558661404055a7",
|
"reference": "87ee409783a4a322b5597ebaae558661404055a7",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
@ -749,6 +749,101 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packages-dev": [
|
"packages-dev": [
|
||||||
|
{
|
||||||
|
"name": "composer/xdebug-handler",
|
||||||
|
"version": "1.3.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/composer/xdebug-handler.git",
|
||||||
|
"reference": "dc523135366eb68f22268d069ea7749486458562"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/composer/xdebug-handler/zipball/dc523135366eb68f22268d069ea7749486458562",
|
||||||
|
"reference": "dc523135366eb68f22268d069ea7749486458562",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": "^5.3.2 || ^7.0",
|
||||||
|
"psr/log": "^1.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Composer\\XdebugHandler\\": "src"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "John Stevenson",
|
||||||
|
"email": "john-stevenson@blueyonder.co.uk"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Restarts a process without xdebug.",
|
||||||
|
"keywords": [
|
||||||
|
"Xdebug",
|
||||||
|
"performance"
|
||||||
|
],
|
||||||
|
"time": "2018-11-29T10:59:02+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jean85/pretty-package-versions",
|
||||||
|
"version": "1.2",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/Jean85/pretty-package-versions.git",
|
||||||
|
"reference": "75c7effcf3f77501d0e0caa75111aff4daa0dd48"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/75c7effcf3f77501d0e0caa75111aff4daa0dd48",
|
||||||
|
"reference": "75c7effcf3f77501d0e0caa75111aff4daa0dd48",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ocramius/package-versions": "^1.2.0",
|
||||||
|
"php": "^7.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "^6.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "1.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Jean85\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Alessandro Lai",
|
||||||
|
"email": "alessandro.lai85@gmail.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "A wrapper for ocramius/package-versions to get pretty versions strings",
|
||||||
|
"keywords": [
|
||||||
|
"composer",
|
||||||
|
"package",
|
||||||
|
"release",
|
||||||
|
"versions"
|
||||||
|
],
|
||||||
|
"time": "2018-06-13T13:22:40+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "myclabs/deep-copy",
|
"name": "myclabs/deep-copy",
|
||||||
"version": "1.7.0",
|
"version": "1.7.0",
|
||||||
@ -794,6 +889,583 @@
|
|||||||
],
|
],
|
||||||
"time": "2017-10-19T19:58:43+00:00"
|
"time": "2017-10-19T19:58:43+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "nette/bootstrap",
|
||||||
|
"version": "v2.4.6",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/nette/bootstrap.git",
|
||||||
|
"reference": "268816e3f1bb7426c3a4ceec2bd38a036b532543"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/nette/bootstrap/zipball/268816e3f1bb7426c3a4ceec2bd38a036b532543",
|
||||||
|
"reference": "268816e3f1bb7426c3a4ceec2bd38a036b532543",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"nette/di": "~2.4.7",
|
||||||
|
"nette/utils": "~2.4",
|
||||||
|
"php": ">=5.6.0"
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"nette/nette": "<2.2"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"latte/latte": "~2.2",
|
||||||
|
"nette/application": "~2.3",
|
||||||
|
"nette/caching": "~2.3",
|
||||||
|
"nette/database": "~2.3",
|
||||||
|
"nette/forms": "~2.3",
|
||||||
|
"nette/http": "~2.4.0",
|
||||||
|
"nette/mail": "~2.3",
|
||||||
|
"nette/robot-loader": "^2.4.2 || ^3.0",
|
||||||
|
"nette/safe-stream": "~2.2",
|
||||||
|
"nette/security": "~2.3",
|
||||||
|
"nette/tester": "~2.0",
|
||||||
|
"tracy/tracy": "^2.4.1"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"nette/robot-loader": "to use Configurator::createRobotLoader()",
|
||||||
|
"tracy/tracy": "to use Configurator::enableTracy()"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.4-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"classmap": [
|
||||||
|
"src/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"BSD-3-Clause",
|
||||||
|
"GPL-2.0",
|
||||||
|
"GPL-3.0"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "David Grudl",
|
||||||
|
"homepage": "https://davidgrudl.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Nette Community",
|
||||||
|
"homepage": "https://nette.org/contributors"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.",
|
||||||
|
"homepage": "https://nette.org",
|
||||||
|
"keywords": [
|
||||||
|
"bootstrapping",
|
||||||
|
"configurator",
|
||||||
|
"nette"
|
||||||
|
],
|
||||||
|
"time": "2018-05-17T12:52:20+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "nette/di",
|
||||||
|
"version": "v2.4.14",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/nette/di.git",
|
||||||
|
"reference": "923da3e2c0aa53162ef455472c0ac7787b096c5a"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/nette/di/zipball/923da3e2c0aa53162ef455472c0ac7787b096c5a",
|
||||||
|
"reference": "923da3e2c0aa53162ef455472c0ac7787b096c5a",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ext-tokenizer": "*",
|
||||||
|
"nette/neon": "^2.3.3 || ~3.0.0",
|
||||||
|
"nette/php-generator": "^2.6.1 || ~3.0.0",
|
||||||
|
"nette/utils": "^2.4.3 || ~3.0.0",
|
||||||
|
"php": ">=5.6.0"
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"nette/bootstrap": "<2.4",
|
||||||
|
"nette/nette": "<2.2"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"nette/tester": "^2.0",
|
||||||
|
"tracy/tracy": "^2.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.4-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"classmap": [
|
||||||
|
"src/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"BSD-3-Clause",
|
||||||
|
"GPL-2.0",
|
||||||
|
"GPL-3.0"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "David Grudl",
|
||||||
|
"homepage": "https://davidgrudl.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Nette Community",
|
||||||
|
"homepage": "https://nette.org/contributors"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "💎 Nette Dependency Injection Container: Flexible, compiled and full-featured DIC with perfectly usable autowiring and support for all new PHP 7.1 features.",
|
||||||
|
"homepage": "https://nette.org",
|
||||||
|
"keywords": [
|
||||||
|
"compiled",
|
||||||
|
"di",
|
||||||
|
"dic",
|
||||||
|
"factory",
|
||||||
|
"ioc",
|
||||||
|
"nette",
|
||||||
|
"static"
|
||||||
|
],
|
||||||
|
"time": "2018-09-17T15:47:40+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "nette/finder",
|
||||||
|
"version": "v2.4.2",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/nette/finder.git",
|
||||||
|
"reference": "ee951a656cb8ac622e5dd33474a01fd2470505a0"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/nette/finder/zipball/ee951a656cb8ac622e5dd33474a01fd2470505a0",
|
||||||
|
"reference": "ee951a656cb8ac622e5dd33474a01fd2470505a0",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"nette/utils": "~2.4",
|
||||||
|
"php": ">=5.6.0"
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"nette/nette": "<2.2"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"nette/tester": "~2.0",
|
||||||
|
"tracy/tracy": "^2.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.4-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"classmap": [
|
||||||
|
"src/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"BSD-3-Clause",
|
||||||
|
"GPL-2.0",
|
||||||
|
"GPL-3.0"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "David Grudl",
|
||||||
|
"homepage": "https://davidgrudl.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Nette Community",
|
||||||
|
"homepage": "https://nette.org/contributors"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "🔍 Nette Finder: find files and directories with an intuitive API.",
|
||||||
|
"homepage": "https://nette.org",
|
||||||
|
"keywords": [
|
||||||
|
"filesystem",
|
||||||
|
"glob",
|
||||||
|
"iterator",
|
||||||
|
"nette"
|
||||||
|
],
|
||||||
|
"time": "2018-06-28T11:49:23+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "nette/neon",
|
||||||
|
"version": "v2.4.3",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/nette/neon.git",
|
||||||
|
"reference": "5e72b1dd3e2d34f0863c5561139a19df6a1ef398"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/nette/neon/zipball/5e72b1dd3e2d34f0863c5561139a19df6a1ef398",
|
||||||
|
"reference": "5e72b1dd3e2d34f0863c5561139a19df6a1ef398",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ext-iconv": "*",
|
||||||
|
"ext-json": "*",
|
||||||
|
"php": ">=5.6.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"nette/tester": "~2.0",
|
||||||
|
"tracy/tracy": "^2.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.4-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"classmap": [
|
||||||
|
"src/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"BSD-3-Clause",
|
||||||
|
"GPL-2.0",
|
||||||
|
"GPL-3.0"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "David Grudl",
|
||||||
|
"homepage": "https://davidgrudl.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Nette Community",
|
||||||
|
"homepage": "https://nette.org/contributors"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "🍸 Nette NEON: encodes and decodes NEON file format.",
|
||||||
|
"homepage": "http://ne-on.org",
|
||||||
|
"keywords": [
|
||||||
|
"export",
|
||||||
|
"import",
|
||||||
|
"neon",
|
||||||
|
"nette",
|
||||||
|
"yaml"
|
||||||
|
],
|
||||||
|
"time": "2018-03-21T12:12:21+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "nette/php-generator",
|
||||||
|
"version": "v3.0.5",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/nette/php-generator.git",
|
||||||
|
"reference": "ea90209c2e8a7cd087b2742ca553c047a8df5eff"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/nette/php-generator/zipball/ea90209c2e8a7cd087b2742ca553c047a8df5eff",
|
||||||
|
"reference": "ea90209c2e8a7cd087b2742ca553c047a8df5eff",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"nette/utils": "^2.4.2 || ~3.0.0",
|
||||||
|
"php": ">=7.0"
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"nette/nette": "<2.2"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"nette/tester": "^2.0",
|
||||||
|
"tracy/tracy": "^2.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "3.0-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"classmap": [
|
||||||
|
"src/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"BSD-3-Clause",
|
||||||
|
"GPL-2.0",
|
||||||
|
"GPL-3.0"
|
||||||
|
],
|
||||||
|
"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.2 features.",
|
||||||
|
"homepage": "https://nette.org",
|
||||||
|
"keywords": [
|
||||||
|
"code",
|
||||||
|
"nette",
|
||||||
|
"php",
|
||||||
|
"scaffolding"
|
||||||
|
],
|
||||||
|
"time": "2018-08-09T14:32:27+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "nette/robot-loader",
|
||||||
|
"version": "v3.1.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/nette/robot-loader.git",
|
||||||
|
"reference": "fc76c70e740b10f091e502b2e393d0be912f38d4"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/nette/robot-loader/zipball/fc76c70e740b10f091e502b2e393d0be912f38d4",
|
||||||
|
"reference": "fc76c70e740b10f091e502b2e393d0be912f38d4",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ext-tokenizer": "*",
|
||||||
|
"nette/finder": "^2.3 || ^3.0",
|
||||||
|
"nette/utils": "^2.4 || ^3.0",
|
||||||
|
"php": ">=5.6.0"
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"nette/nette": "<2.2"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"nette/tester": "^2.0",
|
||||||
|
"tracy/tracy": "^2.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "3.1-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"classmap": [
|
||||||
|
"src/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"BSD-3-Clause",
|
||||||
|
"GPL-2.0",
|
||||||
|
"GPL-3.0"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "David Grudl",
|
||||||
|
"homepage": "https://davidgrudl.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Nette Community",
|
||||||
|
"homepage": "https://nette.org/contributors"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "🍀 Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.",
|
||||||
|
"homepage": "https://nette.org",
|
||||||
|
"keywords": [
|
||||||
|
"autoload",
|
||||||
|
"class",
|
||||||
|
"interface",
|
||||||
|
"nette",
|
||||||
|
"trait"
|
||||||
|
],
|
||||||
|
"time": "2018-08-13T14:19:06+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "nette/utils",
|
||||||
|
"version": "v2.5.3",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/nette/utils.git",
|
||||||
|
"reference": "17b9f76f2abd0c943adfb556e56f2165460b15ce"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/nette/utils/zipball/17b9f76f2abd0c943adfb556e56f2165460b15ce",
|
||||||
|
"reference": "17b9f76f2abd0c943adfb556e56f2165460b15ce",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.6.0"
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"nette/nette": "<2.2"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"nette/tester": "~2.0",
|
||||||
|
"tracy/tracy": "^2.3"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"ext-gd": "to use Image",
|
||||||
|
"ext-iconv": "to use Strings::webalize() and toAscii()",
|
||||||
|
"ext-intl": "for script transliteration in Strings::webalize() and toAscii()",
|
||||||
|
"ext-json": "to use Nette\\Utils\\Json",
|
||||||
|
"ext-mbstring": "to use Strings::lower() etc...",
|
||||||
|
"ext-xml": "to use Strings::length() etc. when mbstring is not available"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.5-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"classmap": [
|
||||||
|
"src/"
|
||||||
|
],
|
||||||
|
"files": [
|
||||||
|
"src/loader.php"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"BSD-3-Clause",
|
||||||
|
"GPL-2.0",
|
||||||
|
"GPL-3.0"
|
||||||
|
],
|
||||||
|
"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"
|
||||||
|
],
|
||||||
|
"time": "2018-09-18T10:22:16+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "nikic/php-parser",
|
||||||
|
"version": "v4.2.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/nikic/PHP-Parser.git",
|
||||||
|
"reference": "594bcae1fc0bccd3993d2f0d61a018e26ac2865a"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/594bcae1fc0bccd3993d2f0d61a018e26ac2865a",
|
||||||
|
"reference": "594bcae1fc0bccd3993d2f0d61a018e26ac2865a",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ext-tokenizer": "*",
|
||||||
|
"php": ">=7.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "^6.5 || ^7.0"
|
||||||
|
},
|
||||||
|
"bin": [
|
||||||
|
"bin/php-parse"
|
||||||
|
],
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "4.2-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"PhpParser\\": "lib/PhpParser"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"BSD-3-Clause"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Nikita Popov"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "A PHP parser written in PHP",
|
||||||
|
"keywords": [
|
||||||
|
"parser",
|
||||||
|
"php"
|
||||||
|
],
|
||||||
|
"time": "2019-01-12T16:31:37+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ocramius/package-versions",
|
||||||
|
"version": "1.3.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/Ocramius/PackageVersions.git",
|
||||||
|
"reference": "4489d5002c49d55576fa0ba786f42dbb009be46f"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/Ocramius/PackageVersions/zipball/4489d5002c49d55576fa0ba786f42dbb009be46f",
|
||||||
|
"reference": "4489d5002c49d55576fa0ba786f42dbb009be46f",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"composer-plugin-api": "^1.0.0",
|
||||||
|
"php": "^7.1.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"composer/composer": "^1.6.3",
|
||||||
|
"ext-zip": "*",
|
||||||
|
"infection/infection": "^0.7.1",
|
||||||
|
"phpunit/phpunit": "^7.0.0"
|
||||||
|
},
|
||||||
|
"type": "composer-plugin",
|
||||||
|
"extra": {
|
||||||
|
"class": "PackageVersions\\Installer",
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.0.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"PackageVersions\\": "src/PackageVersions"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Marco Pivetta",
|
||||||
|
"email": "ocramius@gmail.com"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)",
|
||||||
|
"time": "2018-02-05T13:05:30+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "phpdocumentor/reflection-common",
|
"name": "phpdocumentor/reflection-common",
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
@ -1009,6 +1681,125 @@
|
|||||||
],
|
],
|
||||||
"time": "2018-02-19T10:16:54+00:00"
|
"time": "2018-02-19T10:16:54+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "phpstan/phpdoc-parser",
|
||||||
|
"version": "0.3.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/phpstan/phpdoc-parser.git",
|
||||||
|
"reference": "2cc49f47c69b023eaf05b48e6529389893b13d74"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/2cc49f47c69b023eaf05b48e6529389893b13d74",
|
||||||
|
"reference": "2cc49f47c69b023eaf05b48e6529389893b13d74",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": "~7.1"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"consistence/coding-standard": "^2.0.0",
|
||||||
|
"jakub-onderka/php-parallel-lint": "^0.9.2",
|
||||||
|
"phing/phing": "^2.16.0",
|
||||||
|
"phpstan/phpstan": "^0.10",
|
||||||
|
"phpunit/phpunit": "^6.3",
|
||||||
|
"slevomat/coding-standard": "^3.3.0",
|
||||||
|
"symfony/process": "^3.4 || ^4.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "0.3-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"PHPStan\\PhpDocParser\\": [
|
||||||
|
"src/"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"description": "PHPDoc parser with support for nullable, intersection and generic types",
|
||||||
|
"time": "2019-01-14T12:26:23+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "phpstan/phpstan",
|
||||||
|
"version": "0.11",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/phpstan/phpstan.git",
|
||||||
|
"reference": "cfb0b43021fb75abe853ab8d88d22cdb37596697"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/cfb0b43021fb75abe853ab8d88d22cdb37596697",
|
||||||
|
"reference": "cfb0b43021fb75abe853ab8d88d22cdb37596697",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"composer/xdebug-handler": "^1.3.0",
|
||||||
|
"jean85/pretty-package-versions": "^1.0.3",
|
||||||
|
"nette/bootstrap": "^2.4 || ^3.0",
|
||||||
|
"nette/di": "^2.4.7 || ^3.0",
|
||||||
|
"nette/robot-loader": "^3.0.1",
|
||||||
|
"nette/utils": "^2.4.5 || ^3.0",
|
||||||
|
"nikic/php-parser": "^4.0.2",
|
||||||
|
"php": "~7.1",
|
||||||
|
"phpstan/phpdoc-parser": "^0.3",
|
||||||
|
"symfony/console": "~3.2 || ~4.0",
|
||||||
|
"symfony/finder": "~3.2 || ~4.0"
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"symfony/console": "3.4.16 || 4.1.5"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"brianium/paratest": "^2.0",
|
||||||
|
"consistence/coding-standard": "^3.5",
|
||||||
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
|
||||||
|
"ext-intl": "*",
|
||||||
|
"ext-mysqli": "*",
|
||||||
|
"ext-soap": "*",
|
||||||
|
"ext-zip": "*",
|
||||||
|
"jakub-onderka/php-parallel-lint": "^1.0",
|
||||||
|
"localheinz/composer-normalize": "^1.1.0",
|
||||||
|
"phing/phing": "^2.16.0",
|
||||||
|
"phpstan/phpstan-deprecation-rules": "^0.11",
|
||||||
|
"phpstan/phpstan-php-parser": "^0.11",
|
||||||
|
"phpstan/phpstan-phpunit": "^0.11",
|
||||||
|
"phpstan/phpstan-strict-rules": "^0.11",
|
||||||
|
"phpunit/phpunit": "^7.0",
|
||||||
|
"slevomat/coding-standard": "^4.7.2",
|
||||||
|
"squizlabs/php_codesniffer": "^3.3.2"
|
||||||
|
},
|
||||||
|
"bin": [
|
||||||
|
"bin/phpstan"
|
||||||
|
],
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "0.11-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"PHPStan\\": [
|
||||||
|
"src/",
|
||||||
|
"build/PHPStan"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"description": "PHPStan - PHP Static Analysis Tool",
|
||||||
|
"time": "2019-01-15T14:21:47+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-code-coverage",
|
"name": "phpunit/php-code-coverage",
|
||||||
"version": "4.0.8",
|
"version": "4.0.8",
|
||||||
@ -1399,6 +2190,53 @@
|
|||||||
],
|
],
|
||||||
"time": "2017-06-30T09:13:00+00:00"
|
"time": "2017-06-30T09:13:00+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "psr/log",
|
||||||
|
"version": "1.1.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/php-fig/log.git",
|
||||||
|
"reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
|
||||||
|
"reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "1.0.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Psr\\Log\\": "Psr/Log/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "PHP-FIG",
|
||||||
|
"homepage": "http://www.php-fig.org/"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Common interface for logging libraries",
|
||||||
|
"homepage": "https://github.com/php-fig/log",
|
||||||
|
"keywords": [
|
||||||
|
"log",
|
||||||
|
"psr",
|
||||||
|
"psr-3"
|
||||||
|
],
|
||||||
|
"time": "2018-11-20T15:27:04+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/code-unit-reverse-lookup",
|
"name": "sebastian/code-unit-reverse-lookup",
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
@ -1912,6 +2750,55 @@
|
|||||||
"homepage": "https://github.com/sebastianbergmann/version",
|
"homepage": "https://github.com/sebastianbergmann/version",
|
||||||
"time": "2016-10-03T07:35:21+00:00"
|
"time": "2016-10-03T07:35:21+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "symfony/finder",
|
||||||
|
"version": "v4.2.2",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/symfony/finder.git",
|
||||||
|
"reference": "9094d69e8c6ee3fe186a0ec5a4f1401e506071ce"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/symfony/finder/zipball/9094d69e8c6ee3fe186a0ec5a4f1401e506071ce",
|
||||||
|
"reference": "9094d69e8c6ee3fe186a0ec5a4f1401e506071ce",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": "^7.1.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "4.2-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Symfony\\Component\\Finder\\": ""
|
||||||
|
},
|
||||||
|
"exclude-from-classmap": [
|
||||||
|
"/Tests/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Fabien Potencier",
|
||||||
|
"email": "fabien@symfony.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Symfony Community",
|
||||||
|
"homepage": "https://symfony.com/contributors"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Symfony Finder Component",
|
||||||
|
"homepage": "https://symfony.com",
|
||||||
|
"time": "2019-01-03T09:07:35+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/yaml",
|
"name": "symfony/yaml",
|
||||||
"version": "v4.0.8",
|
"version": "v4.0.8",
|
||||||
|
|||||||
40
tests/Legacy/papierDbWithFormelTest.php
Normal file
40
tests/Legacy/papierDbWithFormelTest.php
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
<?php
|
||||||
|
namespace PSC\Library\Calc\Tests\Article;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
use PSC\Library\Calc\Article;
|
||||||
|
use PSC\Library\Calc\Engine;
|
||||||
|
use PSC\Library\Calc\PaperContainer;
|
||||||
|
use PSC\Library\Calc\Tests\Mock\PaperRepostory;
|
||||||
|
|
||||||
|
class selectWithGrenzenTest extends \PHPUnit_Framework_TestCase
|
||||||
|
{
|
||||||
|
|
||||||
|
/** @var Engine */
|
||||||
|
protected $engine = null;
|
||||||
|
|
||||||
|
public function setUp()
|
||||||
|
{
|
||||||
|
$repository = new PaperRepostory();
|
||||||
|
|
||||||
|
$paperContainer = new PaperContainer();
|
||||||
|
$paperContainer->parse(simplexml_load_string(file_get_contents(__DIR__ . '/../TestFiles/Option/Select/papierContainer.xml')));
|
||||||
|
|
||||||
|
$this->engine = new Engine();
|
||||||
|
$this->engine->setPaperContainer($paperContainer);
|
||||||
|
$this->engine->setPaperRepository($repository);
|
||||||
|
|
||||||
|
$this->engine->loadString(file_get_contents(__DIR__ . '/../TestFiles/Legacy/papierDbWithFormel.xml'));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testSelectWithGrenzen()
|
||||||
|
{
|
||||||
|
$this->engine->calc("Test25");
|
||||||
|
|
||||||
|
$this->assertEquals(100, $this->engine->getPrice());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
27
tests/SampleArticle/Article1Test.php
Normal file
27
tests/SampleArticle/Article1Test.php
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<?php
|
||||||
|
namespace PSC\Library\Calc\Tests\Article;
|
||||||
|
|
||||||
|
use PSC\Library\Calc\Engine;
|
||||||
|
use PSC\Library\Calc\PaperContainer\Container;
|
||||||
|
|
||||||
|
class Complete1Test extends \PHPUnit_Framework_TestCase
|
||||||
|
{
|
||||||
|
/** @var Engine */
|
||||||
|
protected $engine = null;
|
||||||
|
|
||||||
|
public function setUp()
|
||||||
|
{
|
||||||
|
$this->engine = new Engine(new Container());
|
||||||
|
$this->engine->loadString(file_get_contents(__DIR__ . '/../TestFiles/SampleArticle/article1.xml'));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function tearDown()
|
||||||
|
{
|
||||||
|
$this->engine = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testIfArticleCountIsCorrect()
|
||||||
|
{
|
||||||
|
$this->assertEquals(1, $this->engine->getArticles()->Count());
|
||||||
|
}
|
||||||
|
}
|
||||||
20
tests/TestFiles/Legacy/papierDbWithFormel.xml
Normal file
20
tests/TestFiles/Legacy/papierDbWithFormel.xml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<kalkulation>
|
||||||
|
<artikel>
|
||||||
|
<name>Test25</name>
|
||||||
|
<kommentar>kein</kommentar>
|
||||||
|
|
||||||
|
<option id="auflage" name="Auflage" type="Input" width="3" require="true" default="10"/>
|
||||||
|
|
||||||
|
<option id="papierum" name="Papier Umschlag" type="Select" mode="papierdb" container="test1" default="bdg135">
|
||||||
|
<grenzen>
|
||||||
|
<auflage>
|
||||||
|
<grenze formel="$Vauflage$V*10">1-</grenze>
|
||||||
|
</auflage>
|
||||||
|
</grenzen>
|
||||||
|
</option>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</artikel>
|
||||||
|
</kalkulation>
|
||||||
113
tests/TestFiles/SampleArticle/article1.xml
Normal file
113
tests/TestFiles/SampleArticle/article1.xml
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<kalkulation>
|
||||||
|
|
||||||
|
<artikel>
|
||||||
|
<name>Visitenkarten doppelseitig</name>
|
||||||
|
<kommentar>Visitenkarten doppelseitig</kommentar>
|
||||||
|
|
||||||
|
<uploads>
|
||||||
|
<upload id="cover" name="Visitenkarte" description="Bitte laden Sie eine PDF für die Visitenkarte hoch">
|
||||||
|
</upload>
|
||||||
|
</uploads>
|
||||||
|
|
||||||
|
<option id="auflage" name="Auflage" type="Select" default="250" require="true" help="Wählen Sie hier bitte Ihre Auflage">
|
||||||
|
<opt id="60" name="60 St.">
|
||||||
|
<auflage>
|
||||||
|
<grenze formel="(($Vpapier_value$V*$Vauflage$V/20+25.30)*100/119)">1-</grenze>
|
||||||
|
</auflage>
|
||||||
|
</opt>
|
||||||
|
|
||||||
|
<opt id="250" name="250 St.">
|
||||||
|
<auflage>
|
||||||
|
<grenze formel="(($Vpapier_value$V*$Vauflage$V/20+52.00)*100/119)">1-</grenze>
|
||||||
|
</auflage>
|
||||||
|
</opt>
|
||||||
|
|
||||||
|
<opt id="500" name="500 St.">
|
||||||
|
<auflage>
|
||||||
|
<grenze formel="(($Vpapier_value$V*$Vauflage$V/20+85.00)*100/119)">1-</grenze>
|
||||||
|
</auflage>
|
||||||
|
</opt>
|
||||||
|
|
||||||
|
<opt id="1000" name="1000 St.">
|
||||||
|
<auflage>
|
||||||
|
<grenze formel="(($Vpapier_value$V*$Vauflage$V/20+120.00)*100/119)">1-</grenze>
|
||||||
|
</auflage>
|
||||||
|
</opt>
|
||||||
|
|
||||||
|
<opt id="2000" name="2000 St.">
|
||||||
|
<auflage>
|
||||||
|
<grenze formel="(($Vpapier_value$V*$Vauflage$V/20+120.00)*100/119)">1-</grenze>
|
||||||
|
</auflage>
|
||||||
|
</opt>
|
||||||
|
|
||||||
|
</option>
|
||||||
|
|
||||||
|
<option id="papier" name="Papier" type="Select" mode="papierdb" container="visi" default="300cc" require="true" hidden="true" help="Aus welchem Papier soll Ihr Produkt bestehen?">
|
||||||
|
|
||||||
|
</option>
|
||||||
|
|
||||||
|
|
||||||
|
<option id="laminieren" name="Laminieren" type="Select" default="1" hidden="true" help="Schutzlaminat für Ihre Poster?">
|
||||||
|
<opt id="1" name="ohne">
|
||||||
|
<auflage>
|
||||||
|
<grenze formel="0">1-</grenze>
|
||||||
|
</auflage>
|
||||||
|
</opt>
|
||||||
|
<opt id="2" name="mit Laminieren">
|
||||||
|
<auflage>
|
||||||
|
<grenze formel="($Vauflage$V*3.00/20)+15.00">1-200</grenze>
|
||||||
|
<grenze formel="($Vauflage$V*2.55/20)+20.00">201-500</grenze>
|
||||||
|
<grenze formel="($Vauflage$V*2.25/20)+25.00">501-</grenze>
|
||||||
|
</auflage>
|
||||||
|
</opt>
|
||||||
|
</option>
|
||||||
|
|
||||||
|
|
||||||
|
<option id="ecken" name="Ecken abrunden" type="Select" default="ohne_ecken" hidden="true" help="Sollen die Ecken abgerundet werden?">
|
||||||
|
<opt id="ohne_ecken" name="ohne">
|
||||||
|
<auflage>
|
||||||
|
<grenze formel="0">1-</grenze>
|
||||||
|
</auflage>
|
||||||
|
</opt>
|
||||||
|
<opt id="mit_ecken" name="mit Ecken abrunden">
|
||||||
|
<auflage>
|
||||||
|
<grenze formel="($Vauflage$V*0.08)+10.00">1-200</grenze>
|
||||||
|
<grenze formel="($Vauflage$V*0.07)+10.00">201-500</grenze>
|
||||||
|
<grenze formel="($Vauflage$V*0.06)+10.00">501-</grenze>
|
||||||
|
</auflage>
|
||||||
|
</opt>
|
||||||
|
</option>
|
||||||
|
|
||||||
|
|
||||||
|
<option id="produktion" name="Produktionszeit" type="Select" default="std" help="Entscheiden Sie, wieviel Tage wir für Ihren Auftrag einplanen dürfen - Dateneingang bis 10 Uhr">
|
||||||
|
<opt id="std" name="Standard: 5 Arbeitstage">
|
||||||
|
<auflage>
|
||||||
|
<grenze pauschale="0">1-</grenze>
|
||||||
|
</auflage>
|
||||||
|
</opt>
|
||||||
|
<opt id="exp" name="Express: 2 Arbeitstag">
|
||||||
|
<auflage>
|
||||||
|
<grenze pauschale="20">1-</grenze>
|
||||||
|
</auflage>
|
||||||
|
</opt>
|
||||||
|
</option>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Ab hier Gewichtsberechnung
|
||||||
|
|
||||||
|
<option id="fo" name="Gewicht" type="Hidden" default="1">
|
||||||
|
|
||||||
|
</option>
|
||||||
|
|
||||||
|
<option id="weight" name="weight" type="Hidden">
|
||||||
|
<fo>
|
||||||
|
<grenze formel="(0.004675*$Vpapier_grammatur$V*$Vauflage$V*$Vlaminieren$V)+200">1</grenze>
|
||||||
|
</fo>
|
||||||
|
</option>
|
||||||
|
|
||||||
|
<option id="send_anfrage" type="Input" name="send_anfrage" value="anfrage" />
|
||||||
|
|
||||||
|
</artikel>
|
||||||
|
</kalkulation>
|
||||||
Loading…
Reference in New Issue
Block a user