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
{{ message }}
This repository was archived by the owner on Nov 27, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: app/SymfonyRequirements.php
+53-31Lines changed: 53 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -117,16 +117,16 @@ class PhpIniRequirement extends Requirement
117
117
/**
118
118
* Constructor that initializes the requirement.
119
119
*
120
-
* @param string $cfgName The configuration name used for ini_get()
121
-
* @param bool|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
120
+
* @param string $cfgName The configuration name used for ini_get()
121
+
* @param bool|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
123
* @param bool $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 bool $optional Whether this is only an optional recommendation not a mandatory requirement
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 bool $optional Whether this is only an optional recommendation not a mandatory requirement
@@ -219,15 +219,15 @@ public function addRecommendation($fulfilled, $testMessage, $helpHtml, $helpText
219
219
/**
220
220
* Adds a mandatory requirement in form of a php.ini configuration.
221
221
*
222
-
* @param string $cfgName The configuration name used for ini_get()
223
-
* @param bool|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
222
+
* @param string $cfgName The configuration name used for ini_get()
223
+
* @param bool|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
225
* @param bool $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)
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)
@@ -237,15 +237,15 @@ public function addPhpIniRequirement($cfgName, $evaluation, $approveCfgAbsence =
237
237
/**
238
238
* Adds an optional recommendation in form of a php.ini configuration.
239
239
*
240
-
* @param string $cfgName The configuration name used for ini_get()
241
-
* @param bool|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
240
+
* @param string $cfgName The configuration name used for ini_get()
241
+
* @param bool|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
243
* @param bool $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)
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)
0 commit comments