Completed
Push — master ( aefb49...0e78db )
by Marco
23s queued 10s
created
src/DetectChanges/BCBreak/MethodBased/MethodBecameFinal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 {
18 18
     public function __invoke(ReflectionMethod $fromMethod, ReflectionMethod $toMethod) : Changes
19 19
     {
20
-        if ($fromMethod->isFinal() || ! $toMethod->isFinal()) {
20
+        if ($fromMethod->isFinal() || !$toMethod->isFinal()) {
21 21
             return Changes::empty();
22 22
         }
23 23
 
Please login to merge, or discard this patch.
src/DetectChanges/BCBreak/MethodBased/OnlyPublicMethodChanged.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
     public function __invoke(ReflectionMethod $fromMethod, ReflectionMethod $toMethod) : Changes
24 24
     {
25
-        if (! $fromMethod->isPublic()) {
25
+        if (!$fromMethod->isPublic()) {
26 26
             return Changes::empty();
27 27
         }
28 28
 
Please login to merge, or discard this patch.
src/DetectChanges/BCBreak/InterfaceBased/InterfaceBecameTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 {
18 18
     public function __invoke(ReflectionClass $fromClass, ReflectionClass $toClass) : Changes
19 19
     {
20
-        if (! $toClass->isTrait() || ! $fromClass->isInterface()) {
20
+        if (!$toClass->isTrait() || !$fromClass->isInterface()) {
21 21
             // checking whether an interface became an class is done in `InterfaceBecameClass`
22 22
             return Changes::empty();
23 23
         }
Please login to merge, or discard this patch.
src/DetectChanges/BCBreak/InterfaceBased/InterfaceBecameClass.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 {
18 18
     public function __invoke(ReflectionClass $fromClass, ReflectionClass $toClass) : Changes
19 19
     {
20
-        if (! $this->isClass($toClass) || ! $fromClass->isInterface()) {
20
+        if (!$this->isClass($toClass) || !$fromClass->isInterface()) {
21 21
             // checking whether a class became an interface is done in `ClassBecameInterface`
22 22
             return Changes::empty();
23 23
         }
@@ -33,6 +33,6 @@  discard block
 block discarded – undo
33 33
      */
34 34
     private function isClass(ReflectionClass $class) : bool
35 35
     {
36
-        return ! ($class->isTrait() || $class->isInterface());
36
+        return !($class->isTrait() || $class->isInterface());
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
BCBreak/ClassConstantBased/OnlyProtectedClassConstantChanged.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     public function __invoke(ReflectionClassConstant $fromConstant, ReflectionClassConstant $toConstant) : Changes
21 21
     {
22
-        if (! $fromConstant->isProtected()) {
22
+        if (!$fromConstant->isProtected()) {
23 23
             return Changes::empty();
24 24
         }
25 25
 
Please login to merge, or discard this patch.
DetectChanges/BCBreak/ClassConstantBased/OnlyPublicClassConstantChanged.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     public function __invoke(ReflectionClassConstant $fromConstant, ReflectionClassConstant $toConstant) : Changes
21 21
     {
22
-        if (! $fromConstant->isPublic()) {
22
+        if (!$fromConstant->isPublic()) {
23 23
             return Changes::empty();
24 24
         }
25 25
 
Please login to merge, or discard this patch.
src/DetectChanges/BCBreak/ClassBased/ClassBecameFinal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
             return Changes::empty();
18 18
         }
19 19
 
20
-        if (! $toClass->isFinal()) {
20
+        if (!$toClass->isFinal()) {
21 21
             return Changes::empty();
22 22
         }
23 23
 
Please login to merge, or discard this patch.
src/DetectChanges/BCBreak/ClassBased/ClassBecameInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 {
19 19
     public function __invoke(ReflectionClass $fromClass, ReflectionClass $toClass) : Changes
20 20
     {
21
-        if ($fromClass->isInterface() || ! $toClass->isInterface()) {
21
+        if ($fromClass->isInterface() || !$toClass->isInterface()) {
22 22
             // checking whether a class became an interface is done in `InterfaceBecameClass`
23 23
             return Changes::empty();
24 24
         }
Please login to merge, or discard this patch.
src/DetectChanges/BCBreak/ClassBased/ClassBecameAbstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
             return Changes::empty();
24 24
         }
25 25
 
26
-        if ($fromClass->isAbstract() || ! $toClass->isAbstract()) {
26
+        if ($fromClass->isAbstract() || !$toClass->isAbstract()) {
27 27
             return Changes::empty();
28 28
         }
29 29
 
Please login to merge, or discard this patch.