From 1be3df80a64df4ceac6ae8ec74d39590e0232e57 Mon Sep 17 00:00:00 2001
From: Olga Kopylova <okopylova@ebay.com>
Date: Wed, 28 Oct 2015 17:27:24 -0500
Subject: [PATCH] MAGETWO-44736: Contribute Ogres Bugfixes

- fixed code style
---
 .../Magento/Developer/Model/XmlCatalog/Format/PhpStorm.php | 7 +------
 lib/internal/Magento/Framework/Config/Dom/UrnResolver.php  | 4 ++--
 2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/app/code/Magento/Developer/Model/XmlCatalog/Format/PhpStorm.php b/app/code/Magento/Developer/Model/XmlCatalog/Format/PhpStorm.php
index 00db7f57f13..ee2b8e0cd98 100644
--- a/app/code/Magento/Developer/Model/XmlCatalog/Format/PhpStorm.php
+++ b/app/code/Magento/Developer/Model/XmlCatalog/Format/PhpStorm.php
@@ -22,11 +22,6 @@ class PhpStorm implements FormatInterface
      */
     private $currentDirRead;
 
-    /**
-     * @var WriteInterface
-     */
-    private $currentDirWrite;
-
     /**
      * @var \Magento\Framework\Filesystem\File\WriteFactory
      */
@@ -68,7 +63,7 @@ class PhpStorm implements FormatInterface
             $nodeList = $xpath->query('/project');
             $projectNode = $nodeList->item(0);
             $file->close();
-        } catch (FileSystemException $f){
+        } catch (FileSystemException $f) {
             //create file if does not exists
             $dom = new \DOMDocument();
             $projectNode = $dom->createElement('project');
diff --git a/lib/internal/Magento/Framework/Config/Dom/UrnResolver.php b/lib/internal/Magento/Framework/Config/Dom/UrnResolver.php
index 13702ca9abe..4bc62504d25 100644
--- a/lib/internal/Magento/Framework/Config/Dom/UrnResolver.php
+++ b/lib/internal/Magento/Framework/Config/Dom/UrnResolver.php
@@ -43,12 +43,12 @@ class UrnResolver
             $package = $componentRegistrar
                 ->getPath(ComponentRegistrar::LIBRARY, $matches['vendor'] . '/' . $matches['framework']);
         } else {
-            throw new NotFoundException(new Phrase("Unsupported format of schema location: '%1'", $schema));
+            throw new NotFoundException(new Phrase("Unsupported format of schema location: '%1'", [$schema]));
         }
         $schemaPath = $package . '/' . $matches['path'];
         if (empty($package) || !file_exists($schemaPath)) {
             throw new NotFoundException(
-                new Phrase("Could not locate schema: '%1' at '%2'", $schema, $schemaPath)
+                new Phrase("Could not locate schema: '%1' at '%2'", [$schema, $schemaPath])
             );
         }
         return $schemaPath;
-- 
GitLab