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.
@@ -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 Boolean|callback $evaluation Either a Boolean indicating whether the configuration should evaluate to true or false,
120
+
* @param string $cfgName The configuration name used for ini_get()
121
+
* @param Boolean|callback $evaluation Either a Boolean indicating whether the configuration should evaluate to true or false,
122
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.
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
124
This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
125
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
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
@@ -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 Boolean|callback $evaluation Either a Boolean indicating whether the configuration should evaluate to true or false,
222
+
* @param string $cfgName The configuration name used for ini_get()
223
+
* @param Boolean|callback $evaluation Either a Boolean indicating whether the configuration should evaluate to true or false,
224
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.
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
226
This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
227
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)
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 Boolean|callback $evaluation Either a Boolean indicating whether the configuration should evaluate to true or false,
240
+
* @param string $cfgName The configuration name used for ini_get()
241
+
* @param Boolean|callback $evaluation Either a Boolean indicating whether the configuration should evaluate to true or false,
242
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.
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
244
This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
245
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)
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)
sprintf('Configured default timezone "%s" must be supported by your installation of PHP', date_default_timezone_get()),
436
443
'Your default timezone is not supported by PHP. Check for typos in your <strong>php.ini</strong> file and have a look at the list of deprecated timezones at <a href="http://php.net/manual/en/timezones.others.php">http://php.net/manual/en/timezones.others.php</a>.'
'xdebug.max_nesting_level should be above 100 in php.ini',
519
+
'Set "<strong>xdebug.max_nesting_level</strong>" to e.g. "<strong>250</strong>" in php.ini<a href="#phpini">*</a> to stop Xdebug\'s infinite recursion protection erroneously throwing a fatal error in your project.'
0 commit comments