Skip to content

Commit f960ec7

Browse files
committed
Merge branch '2.6' into 2.7
* 2.6: Use PHPUnit ini_set wrapper in tests [Process] Added a test skip check for Windows [Process] Removed unused variable assignment Fixes various phpdoc and coding standards. Fixes Issue #13184 - incremental output getters now return empty strings Updated copyright to 2015 Updated copyright to 2015 Updated copyright to 2015 [VarDumper] increase debug.max_items to 2500 [Debug] Update exception messages. use value of DIRECTORY_SEPARATOR to detect Windows force ExpressionLanguage version >= 2.6 [Debug] fixes ClassNotFoundFatalErrorHandler to correctly handle class not found errors with Symfony ClassLoader component autoloaders. Clarify a comment. use PHP_WINDOWS_VERSION_BUILD to detect Windows Check if a field type_class is defined before using it. Currently if you want to use inline bootstrap form rendering, this is usually enough: Conflicts: src/Symfony/Component/Debug/composer.json
2 parents afeee56 + 49d0d05 commit f960ec7

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

Extension/Core/ChoiceList/ChoiceList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ protected function fixChoice($choice)
505505
*
506506
* @return array The fixed choices.
507507
*
508-
* @see fixChoice
508+
* @see fixChoice()
509509
*/
510510
protected function fixChoices(array $choices)
511511
{

Extension/Core/ChoiceList/ChoiceListInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function getPreferredViews();
8888
* choice indices as keys on the lowest levels and the choice
8989
* group names in the keys of the higher levels
9090
*
91-
* @see getPreferredValues
91+
* @see getPreferredValues()
9292
*/
9393
public function getRemainingViews();
9494

Extension/DataCollector/EventListener/DataCollectorListener.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ public function postSubmit(FormEvent $event)
7676
$this->dataCollector->collectSubmittedData($event->getForm());
7777

7878
// Assemble a form tree
79-
// This is done again in collectViewVariables(), but that method
80-
// is not guaranteed to be called (i.e. when no view is created)
79+
// This is done again after the view is built, but we need it here as the view is not always created.
8180
$this->dataCollector->buildPreliminaryFormTree($event->getForm());
8281
}
8382
}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2004-2014 Fabien Potencier
1+
Copyright (c) 2004-2015 Fabien Potencier
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

Tests/FormBuilderTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
class FormBuilderTest extends \PHPUnit_Framework_TestCase
1717
{
1818
private $dispatcher;
19-
2019
private $factory;
21-
2220
private $builder;
2321

2422
protected function setUp()
@@ -39,7 +37,7 @@ protected function tearDown()
3937
* Changing the name is not allowed, otherwise the name and property path
4038
* are not synchronized anymore.
4139
*
42-
* @see FormType::buildForm
40+
* @see FormType::buildForm()
4341
*/
4442
public function testNoSetName()
4543
{

0 commit comments

Comments
 (0)