33 Commits

Author SHA1 Message Date
Alexander M. Turek
2050a6a1f5 Prefix all sprintf() calls 2024-06-20 17:52:34 +02:00
Aurelien Pillevesse
50b3d816ad use cpp 2024-03-13 19:59:33 +01:00
Wouter de Jong
975c11f6e5 [Components] Convert to native return types 2023-07-05 15:06:06 +02:00
Wouter de Jong
24742e0bc0 Add missing return types 2023-04-28 17:57:00 +02:00
Wouter de Jong
19727face9 Add missing PHPdoc return types 2023-02-13 09:44:31 +01:00
Alexander M. Turek
3796054fd8 [Validator] Add types to private properties 2021-07-15 23:41:15 +02:00
Nicolas Grekas
17429ee1bb [Validator] Add union types 2021-06-01 19:01:01 +02:00
Nicolas Grekas
aeda665f6d Leverage PHP8's get_debug_type() 2020-03-16 17:46:21 +01:00
Jan Vernieuwe
70f111ae0a [Validator] add Validation::createCallable() 2020-01-27 22:34:17 +01:00
Christian Flothmann
f316c42f39 catch any UnexpectedValueException on validation 2018-10-24 09:52:19 +02:00
Rudy Onfroy
e18deb620d [Validator] add exception when intl component not found 2018-09-21 13:37:49 +02:00
Gabriel Ostrolucký
42de808f47 Mark ExceptionInterfaces throwable 2018-08-29 17:58:00 +02:00
Nicolas Grekas
1f9588efb3 Merge branch '3.4' into 4.0
* 3.4:
  Fix Clidumper tests
  Enable the fixer enforcing fully-qualified calls for compiler-optimized functions
  Apply fixers
  Disable the native_constant_invocation fixer until it can be scoped
  Update the list of excluded files for the CS fixer
2018-07-26 10:51:09 +02:00
Christophe Coevoet
ebd4ea7fab Enable the fixer enforcing fully-qualified calls for compiler-optimized functions 2018-07-24 12:05:38 +02:00
Nicolas Grekas
f85a7751b6 Replace more docblocks by type-hints 2017-11-07 15:45:01 +01:00
Fabien Potencier
b107ec0115 removed @since 2016-07-04 07:27:33 +02:00
Fabien Potencier
5912294bd4 fixes CS 2015-08-24 09:13:45 +02:00
Bernhard Schussek
48fe07a2cf [Validator] Improved performance of *ContextualValidator::validate() 2014-03-30 18:28:59 +02:00
Bernhard Schussek
94b74dc900 [Validator] Improved test coverage of NonRecursiveNodeTraverser 2014-03-30 18:28:58 +02:00
Bernhard Schussek
0f389f9489 [Validator] Completed GroupSequence implementation 2014-03-30 18:28:54 +02:00
Fabien Potencier
389b83662f Merge branch '2.3' into 2.4
* 2.3: (31 commits)
  Fix parent serialization of user object
  [DependencyInjection] fixed typo
  add memcache, memcached, and mongodb extensions to run skipped tests
  [DependencyInjection] Fixed support for backslashes in service ids.
  fix #9356 [Security] Logger should manipulate the user reloaded from provider
  [BrowserKit] fixes #8311 CookieJar is totally ignorant of RFC 6265 edge cases
  [HttpFoundation] fixed constants that do exist in 2.3 (only in 2.4)
  fix 5528 let ArrayNode::normalizeValue respect order of value array provided
  fix #7243 allow 0 as arraynode name
  Fixed issue in BaseDateTimeTransformer when invalid timezone cause Transformation filed exception (closes #9403).
  BinaryFileResponse should also return 416 or 200 on some range-requets
  Do normalization on tag options
  bumped Symfony version to 2.3.9
  updated VERSION for 2.3.8
  update CONTRIBUTORS for 2.3.8
  updated CHANGELOG for 2.3.8
  [Filesystem] Changed the mode for a target file in copy() to be write only.
  [Console] fixed CS
  fixed TableHelper when cell value has new line
  Improved and fixed grammar mistakes. Added pluralized messages
  ...

Conflicts:
	src/Symfony/Component/BrowserKit/Cookie.php
	src/Symfony/Component/HttpKernel/Kernel.php
	src/Symfony/Component/Routing/Matcher/UrlMatcher.php
2013-12-26 08:59:03 +01:00
Abdellatif AitBoudad
0b46569d78 [Validator]Fixed getting wrong msg when value is an object in UnexpectedTypeException 2013-12-07 14:24:25 +00:00
Bernhard Schussek
fa7f663144 [Validator] Renamed Condition to Expression and added possibility to set it onto properties 2013-09-19 12:59:33 +02:00
Bernhard Schussek
f98305af10 [Validator] Added ExceptionInterface, BadMethodCallException and InvalidArgumentException 2013-01-08 15:20:14 +01:00
Bernhard Schussek
a7a50fcb4f [Validator] Refactored the GraphWalker into an implementation of the Visitor design pattern.
With this refactoring comes a decoupling of the validator from the structure of
the underlying metadata. This way it is possible for Drupal to use the validator
for validating their Entity API by using their own metadata layer, which is not
modeled as classes and properties/getter methods.
2012-11-24 13:00:28 +01:00
Fabien Potencier
2d8d332d54 fixed CS 2011-06-08 12:16:48 +02:00
Fabien Potencier
fec10a40c1 replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
Christophe Coevoet
a371defeea Fixed CS 2011-02-27 20:56:29 +01:00
Dominique Bongiraud
64e1cf2218 normalized license messages in PHP files 2011-01-18 08:07:46 +01:00
Bernhard Schussek
3d21d7fce8 [Validator] Group sequences must now always contain the group "<ClassName>" and never the group "Default" since that group is redefined by the group sequence 2010-11-19 07:11:26 +01:00
pborreli
a3255a91b7 [Validator] Fixed coding standard 2010-10-16 10:49:41 +02:00
Fabien Potencier
06fcab55ef [Validation] fixed license 2010-10-02 12:42:35 +02:00
Fabien Potencier
c56d28dbd3 renamed Symfony\Components to Symfony\Component 2010-08-20 23:09:55 +02:00