You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Symfony/app/SymfonyRequirements.php
+50-31
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ public function getTestMessage()
77
77
}
78
78
79
79
/**
80
-
* Returns the help text for resolving the problem
80
+
* Returns the help text for resolving the problem.
81
81
*
82
82
* @return string The help text
83
83
*/
@@ -119,14 +119,14 @@ class PhpIniRequirement extends Requirement
119
119
*
120
120
* @param string $cfgName The configuration name used for ini_get()
121
121
* @param Boolean|callback $evaluation Either a Boolean indicating whether the configuration should evaluate to true or false,
122
-
or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement
123
-
* @param Boolean $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false.
124
-
This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
125
-
Example: You require a config to be true but PHP later removes this config and defaults it to true internally.
126
-
* @param string|null $testMessage The message for testing the requirement (when null and $evaluation is a Boolean a default message is derived)
127
-
* @param string|null $helpHtml The help text formatted in HTML for resolving the problem (when null and $evaluation is a Boolean a default help is derived)
128
-
* @param string|null $helpText The help text (when null, it will be inferred from $helpHtml, i.e. stripped from HTML tags)
129
-
* @param Boolean $optional Whether this is only an optional recommendation not a mandatory requirement
122
+
* or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement
123
+
* @param Boolean $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false.
124
+
* This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
125
+
* Example: You require a config to be true but PHP later removes this config and defaults it to true internally.
126
+
* @param string|null $testMessage The message for testing the requirement (when null and $evaluation is a Boolean a default message is derived)
127
+
* @param string|null $helpHtml The help text formatted in HTML for resolving the problem (when null and $evaluation is a Boolean a default help is derived)
128
+
* @param string|null $helpText The help text (when null, it will be inferred from $helpHtml, i.e. stripped from HTML tags)
129
+
* @param Boolean $optional Whether this is only an optional recommendation not a mandatory requirement
@@ -221,13 +221,13 @@ public function addRecommendation($fulfilled, $testMessage, $helpHtml, $helpText
221
221
*
222
222
* @param string $cfgName The configuration name used for ini_get()
223
223
* @param Boolean|callback $evaluation Either a Boolean indicating whether the configuration should evaluate to true or false,
224
-
or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement
225
-
* @param Boolean $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false.
226
-
This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
227
-
Example: You require a config to be true but PHP later removes this config and defaults it to true internally.
228
-
* @param string $testMessage The message for testing the requirement (when null and $evaluation is a Boolean a default message is derived)
229
-
* @param string $helpHtml The help text formatted in HTML for resolving the problem (when null and $evaluation is a Boolean a default help is derived)
230
-
* @param string|null $helpText The help text (when null, it will be inferred from $helpHtml, i.e. stripped from HTML tags)
224
+
* or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement
225
+
* @param Boolean $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false.
226
+
* This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
227
+
* Example: You require a config to be true but PHP later removes this config and defaults it to true internally.
228
+
* @param string $testMessage The message for testing the requirement (when null and $evaluation is a Boolean a default message is derived)
229
+
* @param string $helpHtml The help text formatted in HTML for resolving the problem (when null and $evaluation is a Boolean a default help is derived)
230
+
* @param string|null $helpText The help text (when null, it will be inferred from $helpHtml, i.e. stripped from HTML tags)
@@ -239,13 +239,13 @@ public function addPhpIniRequirement($cfgName, $evaluation, $approveCfgAbsence =
239
239
*
240
240
* @param string $cfgName The configuration name used for ini_get()
241
241
* @param Boolean|callback $evaluation Either a Boolean indicating whether the configuration should evaluate to true or false,
242
-
or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement
243
-
* @param Boolean $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false.
244
-
This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
245
-
Example: You require a config to be true but PHP later removes this config and defaults it to true internally.
246
-
* @param string $testMessage The message for testing the requirement (when null and $evaluation is a Boolean a default message is derived)
247
-
* @param string $helpHtml The help text formatted in HTML for resolving the problem (when null and $evaluation is a Boolean a default help is derived)
248
-
* @param string|null $helpText The help text (when null, it will be inferred from $helpHtml, i.e. stripped from HTML tags)
242
+
* or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement
243
+
* @param Boolean $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false.
244
+
* This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
245
+
* Example: You require a config to be true but PHP later removes this config and defaults it to true internally.
246
+
* @param string $testMessage The message for testing the requirement (when null and $evaluation is a Boolean a default message is derived)
247
+
* @param string $helpHtml The help text formatted in HTML for resolving the problem (when null and $evaluation is a Boolean a default help is derived)
248
+
* @param string|null $helpText The help text (when null, it will be inferred from $helpHtml, i.e. stripped from HTML tags)
'Set "<strong>intl.error_level</strong>" to "<strong>0</strong>" in php.ini<a href="#phpini">*</a> to inhibit the messages when an error occurs in ICU functions.'
0 commit comments