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.
* @return Boolean true if fulfilled, otherwise false
62
+
* @return bool true if fulfilled, otherwise false
63
63
*/
64
64
publicfunctionisFulfilled()
65
65
{
@@ -99,7 +99,7 @@ public function getHelpHtml()
99
99
/**
100
100
* Returns whether this is only an optional recommendation and not a mandatory requirement.
101
101
*
102
-
* @return Boolean true if optional, false if mandatory
102
+
* @return bool true if optional, false if mandatory
103
103
*/
104
104
publicfunctionisOptional()
105
105
{
@@ -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 bool|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 bool $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 bool $optional Whether this is only an optional recommendation not a mandatory requirement
@@ -193,7 +193,7 @@ public function add(Requirement $requirement)
193
193
/**
194
194
* Adds a mandatory requirement.
195
195
*
196
-
* @param Boolean $fulfilled Whether the requirement is fulfilled
196
+
* @param bool $fulfilled Whether the requirement is fulfilled
197
197
* @param string $testMessage The message for testing the requirement
198
198
* @param string $helpHtml The help text formatted in HTML for resolving the problem
199
199
* @param string|null $helpText The help text (when null, it will be inferred from $helpHtml, i.e. stripped from HTML tags)
@@ -206,7 +206,7 @@ public function addRequirement($fulfilled, $testMessage, $helpHtml, $helpText =
206
206
/**
207
207
* Adds an optional recommendation.
208
208
*
209
-
* @param Boolean $fulfilled Whether the recommendation is fulfilled
209
+
* @param bool $fulfilled Whether the recommendation is fulfilled
210
210
* @param string $testMessage The message for testing the recommendation
211
211
* @param string $helpHtml The help text formatted in HTML for resolving the problem
212
212
* @param string|null $helpText The help text (when null, it will be inferred from $helpHtml, i.e. stripped from HTML tags)
@@ -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 bool|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 bool $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 bool|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 bool $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)
0 commit comments