Completed
Push — feature/properly-support-php-8... ( f5a313...3dbce6 )
by Johan
53s queued 35s
created
src/OpenConext/Value/Saml/Metadata/ContactPerson/ContactType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function __construct($type)
33 33
     {
34
-        $validMessage = 'one of "ContactType::' . implode(', ContactType::', self::$validTypes) . '"';
34
+        $validMessage = 'one of "ContactType::'.implode(', ContactType::', self::$validTypes).'"';
35 35
         Assertion::inArray($type, self::$validTypes, $validMessage);
36 36
 
37 37
         $this->contactType = $type;
Please login to merge, or discard this patch.
src/OpenConext/Value/Saml/Metadata/ShibbolethMetadataScope.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         Assertion::boolean($isRegexp);
51 51
 
52 52
         if ($isRegexp) {
53
-            Assertion::validRegularExpression('#' . $scope . '#i', 'scope');
53
+            Assertion::validRegularExpression('#'.$scope.'#i', 'scope');
54 54
         }
55 55
 
56 56
         $this->scope    = $scope;
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
             return strcasecmp($this->scope, $string) === 0;
70 70
         }
71 71
 
72
-        $regexp = new RegularExpression('#' . $this->scope . '#i');
72
+        $regexp = new RegularExpression('#'.$this->scope.'#i');
73 73
         return $regexp->matches($string);
74 74
     }
75 75
 
Please login to merge, or discard this patch.
src/OpenConext/Value/Assert/Assertion.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     {
47 47
         $pregMatchErrored = false;
48 48
         set_error_handler(
49
-            function () use (&$pregMatchErrored): void {
49
+            function() use (&$pregMatchErrored): void {
50 50
                 $pregMatchErrored = true;
51 51
             }
52 52
         );
Please login to merge, or discard this patch.