Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c008ee0

Browse filesBrowse files
committed
be keen to newcomers
1 parent 848a830 commit c008ee0
Copy full SHA for c008ee0

File tree

Expand file treeCollapse file tree

20 files changed

+28
-28
lines changed
Filter options
Expand file treeCollapse file tree

20 files changed

+28
-28
lines changed

‎UPGRADE-4.0.md

Copy file name to clipboardExpand all lines: UPGRADE-4.0.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ DependencyInjection
230230
supported.
231231

232232
* The ``strict`` attribute in service arguments has been removed.
233-
The attribute is ignored since 3.0, so you can simply remove it.
233+
The attribute is ignored since 3.0, you can remove it.
234234

235235
* Top-level anonymous services in XML are no longer supported.
236236

‎src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterMappingsPass.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterMappingsPass.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
* The compiler pass is meant to register the mappings with the metadata
2525
* chain driver corresponding to one of the object managers.
2626
*
27-
* For concrete implementations that are easy to use, see the
28-
* RegisterXyMappingsPass classes in the DoctrineBundle resp.
27+
* For concrete implementations, see the RegisterXyMappingsPass classes
28+
* in the DoctrineBundle resp.
2929
* DoctrineMongodbBundle, DoctrineCouchdbBundle and DoctrinePhpcrBundle.
3030
*
3131
* @author David Buchmann <david@liip.ch>

‎src/Symfony/Bridge/Doctrine/Security/User/EntityUserProvider.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Security/User/EntityUserProvider.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/**
2121
* Wrapper around a Doctrine ObjectManager.
2222
*
23-
* Provides easy to use provisioning for Doctrine entity users.
23+
* Provides provisioning for Doctrine entity users.
2424
*
2525
* @author Fabien Potencier <fabien@symfony.com>
2626
* @author Johannes M. Schmitt <schmittjoh@gmail.com>

‎src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/Descriptor.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/Descriptor.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ protected function resolveServiceDefinition(ContainerBuilder $builder, $serviceI
225225
return $builder->getDefinition($serviceId);
226226
}
227227

228-
// Some service IDs don't have a Definition, they're simply an Alias
228+
// Some service IDs don't have a Definition, they're aliases
229229
if ($builder->hasAlias($serviceId)) {
230230
return $builder->getAlias($serviceId);
231231
}

‎src/Symfony/Bundle/FrameworkBundle/Tests/Command/CacheClearCommand/CacheClearCommandTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/Command/CacheClearCommand/CacheClearCommandTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function testCacheIsFreshAfterCacheClearedWithWarmup()
5454
// Ensure that all *.meta files are fresh
5555
$finder = new Finder();
5656
$metaFiles = $finder->files()->in($this->kernel->getCacheDir())->name('*.php.meta');
57-
// simply check that cache is warmed up
57+
// check that cache is warmed up
5858
$this->assertNotEmpty($metaFiles);
5959
$configCacheFactory = new ConfigCacheFactory(true);
6060

‎src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,10 @@ public function performNoDeepMerging()
332332
* Allows extra config keys to be specified under an array without
333333
* throwing an exception.
334334
*
335-
* Those config values are simply ignored and removed from the
336-
* resulting array. This should be used only in special cases where
337-
* you want to send an entire configuration array through a special
338-
* tree that processes only part of the array.
335+
* Those config values are ignored and removed from the resulting
336+
* array. This should be used only in special cases where you want
337+
* to send an entire configuration array through a special tree that
338+
* processes only part of the array.
339339
*
340340
* @param bool $remove Whether to remove the extra keys
341341
*

‎src/Symfony/Component/Config/Definition/PrototypedArrayNode.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Config/Definition/PrototypedArrayNode.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ protected function mergeValues($leftSide, $rightSide)
301301
}
302302

303303
foreach ($rightSide as $k => $v) {
304-
// prototype, and key is irrelevant, so simply append the element
304+
// prototype, and key is irrelevant, append the element
305305
if (null === $this->keyAttribute) {
306306
$leftSide[] = $v;
307307
continue;

‎src/Symfony/Component/DependencyInjection/LazyProxy/Instantiator/RealServiceInstantiator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/LazyProxy/Instantiator/RealServiceInstantiator.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* {@inheritdoc}
1919
*
20-
* Noop proxy instantiator - simply produces the real service instead of a proxy instance.
20+
* Noop proxy instantiator - produces the real service instead of a proxy instance.
2121
*
2222
* @author Marco Pivetta <ocramius@gmail.com>
2323
*/

‎src/Symfony/Component/DomCrawler/Crawler.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DomCrawler/Crawler.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ private function relativize($xpath)
968968
$expressions = [];
969969

970970
// An expression which will never match to replace expressions which cannot match in the crawler
971-
// We cannot simply drop
971+
// We cannot drop
972972
$nonMatchingExpression = 'a[name() = "b"]';
973973

974974
$xpathLen = \strlen($xpath);

‎src/Symfony/Component/Finder/Finder.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Finder/Finder.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*
3030
* All rules may be invoked several times.
3131
*
32-
* All methods return the current Finder object to allow easy chaining:
32+
* All methods return the current Finder object to allow chaining:
3333
*
3434
* $finder = Finder::create()->files()->name('*.php')->in(__DIR__);
3535
*

‎src/Symfony/Component/Form/ChoiceList/ArrayChoiceList.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/ChoiceList/ArrayChoiceList.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function __construct($choices, callable $value = null)
7878
// If a deterministic value generator was passed, use it later
7979
$this->valueCallback = $value;
8080
} else {
81-
// Otherwise simply generate incrementing integers as values
81+
// Otherwise generate incrementing integers as values
8282
$i = 0;
8383
$value = function () use (&$i) {
8484
return $i++;

‎src/Symfony/Component/Form/ChoiceList/LazyChoiceList.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/ChoiceList/LazyChoiceList.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class LazyChoiceList implements ChoiceListInterface
3232
/**
3333
* The callable creating string values for each choice.
3434
*
35-
* If null, choices are simply cast to strings.
35+
* If null, choices are cast to strings.
3636
*
3737
* @var callable|null
3838
*/

‎src/Symfony/Component/Form/Form.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Form.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
*
4343
* In most cases, format (1) and format (2) will be the same. For example,
4444
* a checkbox field uses a Boolean value for both internal processing and
45-
* storage in the object. In these cases you simply need to set a view
46-
* transformer to convert between formats (2) and (3). You can do this by
47-
* calling addViewTransformer().
45+
* storage in the object. In these cases you need to set a view transformer
46+
* to convert between formats (2) and (3). You can do this by calling
47+
* addViewTransformer().
4848
*
4949
* In some cases though it makes sense to make format (1) configurable. To
5050
* demonstrate this, let's extend our above date field to store the value

‎src/Symfony/Component/Form/FormRenderer.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/FormRenderer.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function searchAndRenderBlock(FormView $view, $blockNameSuffix, array $va
163163
// "form_widget" in this example (again, no matter in which theme).
164164
// If the designer wants to explicitly fallback to "form_widget" in their
165165
// custom "choice_widget", for example because they only want to wrap
166-
// a <div> around the original implementation, they can simply call the
166+
// a <div> around the original implementation, they can call the
167167
// widget() function again to render the block for the parent type.
168168
//
169169
// The second kind is implemented in the following blocks.

‎src/Symfony/Component/HttpKernel/Fragment/InlineFragmentRenderer.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/Fragment/InlineFragmentRenderer.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function render($uri, Request $request, array $options = [])
8080
return SubRequestHandler::handle($this->kernel, $subRequest, HttpKernelInterface::SUB_REQUEST, false);
8181
} catch (\Exception $e) {
8282
// we dispatch the exception event to trigger the logging
83-
// the response that comes back is simply ignored
83+
// the response that comes back is ignored
8484
if (isset($options['ignore_errors']) && $options['ignore_errors'] && $this->dispatcher) {
8585
$event = new GetResponseForExceptionEvent($this->kernel, $request, HttpKernelInterface::SUB_REQUEST, $e);
8686

‎src/Symfony/Component/Intl/Data/Generator/LocaleDataGenerator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Intl/Data/Generator/LocaleDataGenerator.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ private function generateLocaleName($locale, $displayLocale)
157157
// the name sorting
158158
// $name = $this->langBundle->getLanguageName($displayLocale, $lang, $region);
159159

160-
// Some languages are simply not translated
160+
// Some languages are not translated
161161
// Example: "az" (Azerbaijani) has no translation in "af" (Afrikaans)
162162
if (null === ($name = $this->languageDataProvider->getName($lang, $displayLocale))) {
163163
return;

‎src/Symfony/Component/Validator/Constraints/Regex.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Constraints/Regex.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function getHtmlPattern()
7979
// Unescape the delimiter
8080
$pattern = str_replace('\\'.$delimiter, $delimiter, substr($this->pattern, 1, -1));
8181

82-
// If the pattern is inverted, we can simply wrap it in
82+
// If the pattern is inverted, we can wrap it in
8383
// ((?!pattern).)*
8484
if (!$this->match) {
8585
return '((?!'.$pattern.').)*';

‎src/Symfony/Component/Validator/Mapping/ClassMetadataInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Mapping/ClassMetadataInterface.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ public function hasPropertyMetadata($property);
8686
/**
8787
* Returns all metadata instances for the given named property.
8888
*
89-
* If your implementation does not support properties, simply throw an
90-
* exception in this method (for example a <tt>BadMethodCallException</tt>).
89+
* If your implementation does not support properties, throw an exception
90+
* in this method (for example a <tt>BadMethodCallException</tt>).
9191
*
9292
* @param string $property The property name
9393
*

‎src/Symfony/Component/Workflow/Tests/Validator/StateMachineValidatorTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Workflow/Tests/Validator/StateMachineValidatorTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function testValid()
9494

9595
(new StateMachineValidator())->validate($definition, 'foo');
9696

97-
// the test simply ensures that the validation does not fail (i.e. it does not throw any exceptions)
97+
// the test ensures that the validation does not fail (i.e. it does not throw any exceptions)
9898
$this->addToAssertionCount(1);
9999

100100
// The graph looks like:

‎src/Symfony/Component/Workflow/Tests/Validator/WorkflowValidatorTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Workflow/Tests/Validator/WorkflowValidatorTest.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testSinglePlaceWorkflowValidatorAndSimpleWorkflow()
2929

3030
(new WorkflowValidator(true))->validate($definition, 'foo');
3131

32-
// the test simply ensures that the validation does not fail (i.e. it does not throw any exceptions)
32+
// the test ensures that the validation does not fail (i.e. it does not throw any exceptions)
3333
$this->addToAssertionCount(1);
3434
}
3535

@@ -64,7 +64,7 @@ public function testSameTransitionNameButNotSamePlace()
6464

6565
(new WorkflowValidator())->validate($definition, 'foo');
6666

67-
// the test simply ensures that the validation does not fail (i.e. it does not throw any exceptions)
67+
// the test ensures that the validation does not fail (i.e. it does not throw any exceptions)
6868
$this->addToAssertionCount(1);
6969
}
7070
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.