Commit graph

48 commits

Author SHA1 Message Date
da4f409a8d add conditional validator to allow more flexible configuration
Some checks failed
ci/woodpecker/push/code-style Pipeline was successful
ci/woodpecker/push/functional-tests/1 Pipeline failed
ci/woodpecker/push/functional-tests/2 Pipeline failed
ci/woodpecker/push/functional-tests/3 Pipeline failed
ci/woodpecker/push/functional-tests/4 Pipeline failed
2024-08-30 14:47:28 +02:00
b86110a3b0 rewrite settings validator to support validators on first level ; deprecate "properties" and "self" level 2024-08-30 14:46:49 +02:00
Robin Krahnen
0ad084f734 add "declare(strict_types=1);"
All checks were successful
ci/woodpecker/push/code-style Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
2022-05-02 09:56:09 +02:00
Robin Krahnen
9707c47a1c optimized Package.php 2021-10-06 15:58:48 +02:00
Robin Krahnen
9c4138b4d1 added return type hints for callables 2021-09-23 09:52:07 +02:00
Robin Krahnen
937e74671c code style 2020-08-19 13:56:55 +02:00
Robin Krahnen
e311c202bc update to newest standard 2020-07-22 17:22:46 +02:00
Robin Krahnen
8c9790b662 optimized code 2020-05-14 14:43:48 +02:00
Robin Krahnen
8eea5e9b15 optimize error message 2020-05-13 09:48:43 +02:00
Robin Krahnen
f33647559a optimized condition 2020-05-13 09:47:41 +02:00
Robin Krahnen
c6e23fdf35 code guideline 2020-05-04 23:07:52 +02:00
Robin Krahnen
272f78f96e optimize code 2020-05-04 23:05:55 +02:00
Robin Krahnen
72904639a4 reformat code 2020-05-04 22:23:54 +02:00
Robin Krahnen
8d76072227 remove unnecessary reference 2020-05-04 22:10:46 +02:00
Robin Krahnen
e141dbddee replaced static with self 2020-05-04 22:09:37 +02:00
Robin Krahnen
f20c3ba090 added missing visibility to constant 2020-05-04 22:05:16 +02:00
Robin Krahnen
8cc705bd48 remove unnecessary references 2020-05-04 22:04:15 +02:00
Robin Krahnen
743ec61c44 simplify function handleValidationGroups 2020-05-04 22:02:12 +02:00
Robin Krahnen
08e6ad00d4 use existing constant for configuration type 2020-05-04 22:01:48 +02:00
Robin Krahnen
8b0e5640b9 replace use getter instead of directly accessing no longer protected variable 2020-05-04 21:57:03 +02:00
Robin Krahnen
d30ed3310a remove deprecated parts 2020-04-30 08:19:57 +02:00
Robin Krahnen
20e891ac91 removed empty lines between @param and @return/@throws 2020-03-12 14:21:30 +01:00
Robin Krahnen
2bbebd9419 PSR-12 2020-03-10 14:35:24 +01:00
Robin Krahnen
5f77512296 added blank space before namespace line (PSR-12) 2020-03-10 11:13:10 +01:00
Robin Krahnen
c721f78f08 added @deprecated to unused properties 2019-10-28 10:31:10 +01:00
Robin Krahnen
3cac00f12a remove unnecessary @Flow\Scope("prototype") 2019-07-30 11:02:25 +02:00
Robin Krahnen
4228053b3f optimized Package.php 2019-01-28 11:19:02 +01:00
Robin Krahnen
daeace6a2e added missing types for @param annotation 2018-11-08 15:41:53 +01:00
Robin Krahnen
8b9da3197e use empty() instead of count() 2018-05-30 17:15:06 +02:00
Robin Krahnen
ab79cc0e14 replaced doctype annotation in methods with comment 2018-04-05 09:02:15 +02:00
Robin Krahnen
aaeb2d5c7f just some annotation cleanup 2018-04-03 10:29:06 +02:00
Daniel Siepmann
a31595513f
TASK: Reformat to follow CGL 2017-07-19 12:55:31 +02:00
Daniel Siepmann
2b41d5f3db
BUGFIX: Fix broken recursion with validation groups
Provide current validation group for recursive SettingsValidator.
Adjust test.
Provide configuration to outline the issue.
2017-07-19 12:54:29 +02:00
Daniel Siepmann
5c927e9dda
BUGFIX: Only unset array key if it exists 2017-07-19 10:31:01 +02:00
Daniel Siepmann
3da68c2e49
TASK: Fix ValidationGroups
Fix handling of validation groups. Also added test to cover the feature.
2017-07-03 10:11:18 +02:00
eccc2b1bdd MERGE: Bringing the ValidationGroup feature back to work.
- ugly: they get extracted from options, as I do not see any other
  possibility
2017-06-29 21:34:20 +02:00
f0e31dcc11 Merge branch 'feature/newValidationYamlLayout' into feature/neos-flow4 2017-06-29 21:33:19 +02:00
Daniel Siepmann
e5b5f08153
FEATURE: Support validation groups as done by flow itself.
* Provide another option validationGroups.
* Allow each validation entry to be executed only for matching
  validation groups.
* Necessary for the same reason as documented in flow documentation. It
  should be possible to execute different validation rules for the same
  name or class, only at some points, e.g. at a specific action.
2017-06-21 11:26:13 +02:00
d83c009b28 TASK: taming complexity 2017-06-03 14:11:13 +02:00
4534099d3a TASK: Added code migration for Validation.yaml structure 2017-06-03 12:56:14 +02:00
9a055a2f77 TASK: Completely changing the layout of Validation.yaml 2017-06-02 23:14:05 +02:00
93fa97e817 TASK: Migrate to PSR-4 2017-06-02 21:18:27 +02:00
Robin Krahnen
baa35e0926 update project; fit neos/flow 4 2017-03-13 17:00:13 +01:00
cb418f5602 TASK: Only PSR-2 adherence 2016-08-01 01:00:29 +02:00
05d020d648 just some documentation 2015-04-29 17:52:27 +02:00
a1b81890b9 Adding License and small readme 2015-04-29 17:50:13 +02:00
6eda039013 just some nicer error reporting for settings validator 2014-08-19 00:16:02 +02:00
74cb20b8fa Initial commit 2014-04-18 14:20:28 +02:00