Skip to content

Commit 6655666

Browse files
author
Leandro F. L
committed
Case mismatch
1 parent 702d7fe commit 6655666

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

lib/internal/Magento/Framework/Api/ExtensionAttributesFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function getExtensibleInterfaceName($extensibleClassName)
9797
}
9898
$modelReflection = new \ReflectionClass($extensibleClassName);
9999
if ($modelReflection->isInterface()
100-
&& $modelReflection->isSubClassOf(self::EXTENSIBLE_INTERFACE_NAME)
100+
&& $modelReflection->isSubclassOf(self::EXTENSIBLE_INTERFACE_NAME)
101101
&& $modelReflection->hasMethod('getExtensionAttributes')
102102
) {
103103
$this->classInterfaceMap[$extensibleClassName] = $extensibleClassName;

lib/internal/Magento/Framework/App/State/CleanupFiles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private function emptyDir($code, $subPath = null)
106106
$messages[] = $dirPath . $path;
107107
try {
108108
$dir->delete($path);
109-
} catch (FilesystemException $e) {
109+
} catch (FileSystemException $e) {
110110
$messages[] = $e->getMessage();
111111
}
112112
}

lib/internal/Magento/Framework/App/Test/Unit/Cache/Tag/ResolverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function testGetTagsForNotObject()
4747
public function testGetTagsForObject()
4848
{
4949
$strategyReturnValue = ['test tag'];
50-
$object = new \StdClass;
50+
$object = new \stdClass;
5151
$this->strategy->expects($this->once())
5252
->method('getTags')
5353
->with($object)

lib/internal/Magento/Framework/App/Test/Unit/Cache/Tag/Strategy/DummyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function testGetTagsWithObject()
2828
{
2929
$emptyArray = [];
3030

31-
$this->assertEquals($emptyArray, $this->model->getTags(new \StdClass));
31+
$this->assertEquals($emptyArray, $this->model->getTags(new \stdClass));
3232

3333
$identityInterface = $this->getMockForAbstractClass(\Magento\Framework\DataObject\IdentityInterface::class);
3434
$this->assertEquals($emptyArray, $this->model->getTags($identityInterface));

lib/internal/Magento/Framework/App/Test/Unit/Cache/Tag/Strategy/FactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function testGetStrategyWithScalar()
5555

5656
public function testGetStrategyWithObject()
5757
{
58-
$this->assertEquals($this->dummyStrategy, $this->model->getStrategy(new \StdClass));
58+
$this->assertEquals($this->dummyStrategy, $this->model->getStrategy(new \stdClass));
5959
}
6060

6161
public function testGetStrategyWithIdentityInterface()

lib/internal/Magento/Framework/App/Test/Unit/Cache/Tag/Strategy/IdentifierTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function testGetWithScalar()
2828

2929
public function testGetTagsWithObject()
3030
{
31-
$this->assertEquals([], $this->model->getTags(new \StdClass));
31+
$this->assertEquals([], $this->model->getTags(new \stdClass));
3232
}
3333

3434
public function testGetTagsWithIdentityInterface()

lib/internal/Magento/Framework/App/Test/Unit/Request/HttpTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ public function testIsSafeMethodTrue($httpMethod)
363363
{
364364
$this->_model = $this->getModel();
365365
$_SERVER['REQUEST_METHOD'] = $httpMethod;
366-
$this->assertEquals(true, $this->_model->IsSafeMethod());
366+
$this->assertEquals(true, $this->_model->isSafeMethod());
367367
}
368368

369369
/**
@@ -375,7 +375,7 @@ public function testIsSafeMethodFalse($httpMethod)
375375
{
376376
$this->_model = $this->getModel();
377377
$_SERVER['REQUEST_METHOD'] = $httpMethod;
378-
$this->assertEquals(false, $this->_model->IsSafeMethod());
378+
$this->assertEquals(false, $this->_model->isSafeMethod());
379379
}
380380

381381
public function httpSafeMethodProvider()

lib/internal/Magento/Framework/Code/Test/Unit/Reader/_files/ClassesForArgumentsReader.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function __construct(
132132
$this->_arrayVariable = $arrayVariable;
133133
}
134134
}
135-
class ThirdClassForParentCall extends firstClassForParentCall
135+
class ThirdClassForParentCall extends FirstClassForParentCall
136136
{
137137
/**
138138
* @var stdClass
@@ -155,7 +155,7 @@ public function __construct(\stdClass $stdClassObject, \ClassExtendsDefaultPhpTy
155155
$this->_secondClass = $secondClass;
156156
}
157157
}
158-
class WrongArgumentsOrder extends firstClassForParentCall
158+
class WrongArgumentsOrder extends FirstClassForParentCall
159159
{
160160
/**
161161
* @var stdClass
@@ -178,7 +178,7 @@ public function __construct(\stdClass $stdClassObject, \ClassExtendsDefaultPhpTy
178178
$this->_secondClass = $secondClass;
179179
}
180180
}
181-
class ArgumentsOnSeparateLines extends firstClassForParentCall
181+
class ArgumentsOnSeparateLines extends FirstClassForParentCall
182182
{
183183
/**
184184
* @var stdClass

lib/internal/Magento/Framework/Data/Test/Unit/Tree/Node/CollectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testOffsets()
4040
$this->assertSame($this->collection->offsetExists('node1'), true);
4141
$this->collection->offsetSet('node1', 'Hello');
4242
$this->assertSame($this->collection->offsetExists('node1'), true);
43-
$this->assertSame($this->collection->offsetget('node1'), 'Hello');
43+
$this->assertSame($this->collection->offsetGet('node1'), 'Hello');
4444
$this->collection->offsetUnset('node1');
4545
$this->assertSame($this->collection->offsetExists('node1'), false);
4646
}

lib/internal/Magento/Framework/Xml/Security.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function ($errno, $errstr) {
7272
E_WARNING
7373
);
7474

75-
$result = (bool)$document->loadXml($xmlContent, LIBXML_NONET);
75+
$result = (bool)$document->loadXML($xmlContent, LIBXML_NONET);
7676
restore_error_handler();
7777
// Entity load to previous setting
7878
libxml_disable_entity_loader($loadEntities);

0 commit comments

Comments
 (0)