@@ -85,7 +85,7 @@ class Configuration implements FeatureDataStore
8585 */
8686 protected $ notifier = [
8787 'name ' => 'Bugsnag PHP (Official) ' ,
88- 'version ' => '3.29.1 ' ,
88+ 'version ' => '3.29.2 ' ,
8989 'url ' => 'https://bugsnag.com ' ,
9090 ];
9191
@@ -253,7 +253,7 @@ public function isBatchSending()
253253 *
254254 * @return $this
255255 */
256- public function setNotifyReleaseStages (array $ notifyReleaseStages = null )
256+ public function setNotifyReleaseStages ($ notifyReleaseStages = null )
257257 {
258258 $ this ->notifyReleaseStages = $ notifyReleaseStages ;
259259
@@ -313,7 +313,7 @@ public function getFilters()
313313 */
314314 public function setProjectRoot ($ projectRoot )
315315 {
316- $ projectRootRegex = $ projectRoot ? '/^ ' . preg_quote ($ projectRoot , '/ ' ). '[ \\/]?/i ' : null ;
316+ $ projectRootRegex = $ projectRoot ? '/^ ' . preg_quote ($ projectRoot , '/ ' ) . '[ \\/]?/i ' : null ;
317317 $ this ->setProjectRootRegex ($ projectRootRegex );
318318 }
319319
@@ -327,7 +327,7 @@ public function setProjectRoot($projectRoot)
327327 public function setProjectRootRegex ($ projectRootRegex )
328328 {
329329 if ($ projectRootRegex && @preg_match ($ projectRootRegex , '' ) === false ) {
330- throw new InvalidArgumentException ('Invalid project root regex: ' . $ projectRootRegex );
330+ throw new InvalidArgumentException ('Invalid project root regex: ' . $ projectRootRegex );
331331 }
332332
333333 $ this ->projectRootRegex = $ projectRootRegex ;
@@ -355,7 +355,7 @@ public function isInProject($file)
355355 */
356356 public function setStripPath ($ stripPath )
357357 {
358- $ stripPathRegex = $ stripPath ? '/^ ' . preg_quote ($ stripPath , '/ ' ). '[ \\/]?/i ' : null ;
358+ $ stripPathRegex = $ stripPath ? '/^ ' . preg_quote ($ stripPath , '/ ' ) . '[ \\/]?/i ' : null ;
359359 $ this ->setStripPathRegex ($ stripPathRegex );
360360 }
361361
@@ -369,7 +369,7 @@ public function setStripPath($stripPath)
369369 public function setStripPathRegex ($ stripPathRegex )
370370 {
371371 if ($ stripPathRegex && @preg_match ($ stripPathRegex , '' ) === false ) {
372- throw new InvalidArgumentException ('Invalid strip path regex: ' . $ stripPathRegex );
372+ throw new InvalidArgumentException ('Invalid strip path regex: ' . $ stripPathRegex );
373373 }
374374
375375 $ this ->stripPathRegex = $ stripPathRegex ;
@@ -670,7 +670,7 @@ public function setErrorReportingLevel($errorReportingLevel)
670670 if (!$ this ->isSubsetOfErrorReporting ($ errorReportingLevel )) {
671671 $ missingLevels = implode (', ' , $ this ->getMissingErrorLevelNames ($ errorReportingLevel ));
672672 $ message =
673- 'Bugsnag Warning: errorReportingLevel cannot contain values that are not in error_reporting. ' .
673+ 'Bugsnag Warning: errorReportingLevel cannot contain values that are not in error_reporting. ' .
674674 "Any errors of these levels will be ignored: {$ missingLevels }. " ;
675675
676676 error_log ($ message );
0 commit comments