Skip to content

Commit

Permalink
Bugfix needed to change parse replace whitespace with dash
Browse files Browse the repository at this point in the history
  • Loading branch information
leonhelmus committed Aug 25, 2019
1 parent da0e9b6 commit 3d5eb17
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion files/fileTemplates/M2-Acl-XML.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
#parse("M2 XML File Header")
#parse("M2-XML-File-Header")
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
Expand Down
2 changes: 1 addition & 1 deletion files/fileTemplates/M2-Class-Block.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types=1);
#parse("M2 PHP File Header")
#parse("M2-PHP-File-Header")

#if (${NAMESPACE})
namespace ${NAMESPACE};
Expand Down
2 changes: 1 addition & 1 deletion files/fileTemplates/M2-Class-Helper.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types=1);
#parse("M2 PHP File Header")
#parse("M2-PHP-File-Header")

#if (${NAMESPACE})
namespace ${NAMESPACE};
Expand Down
2 changes: 1 addition & 1 deletion files/fileTemplates/M2-Class-Observer.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types=1);
#parse("M2 PHP File Header")
#parse("M2-PHP-File-Header")

#if (${NAMESPACE})
namespace ${NAMESPACE};
Expand Down
2 changes: 1 addition & 1 deletion files/fileTemplates/M2-Class-ViewModel.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types=1);
#parse("M2 PHP File Header")
#parse("M2-PHP-File-Header")

#if (${NAMESPACE})
namespace ${NAMESPACE};
Expand Down
2 changes: 1 addition & 1 deletion files/fileTemplates/M2-Class.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php declare(strict_types=1);
#parse("M2 PHP File Header")
#parse("M2-PHP-File-Header")

#if (${NAMESPACE})
namespace ${NAMESPACE};
Expand Down
2 changes: 1 addition & 1 deletion files/fileTemplates/M2-Config-XML.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
#parse("M2 XML File Header")
#parse("M2-XML-File-Header")
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
<default>
#[[$END$]]#
Expand Down
2 changes: 1 addition & 1 deletion files/fileTemplates/M2-DI.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
#parse("M2 XML File Header")
#parse("M2-XML-File-Header")
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
#[[$END$]]#
</config>
2 changes: 1 addition & 1 deletion files/fileTemplates/M2-Db-schema-XML.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
#parse("M2 XML File Header")
#parse("M2-XML-File-Header")
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
#[[$END$]]#
</schema>
2 changes: 1 addition & 1 deletion files/fileTemplates/M2-Extension-Attributes-XML.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
#parse("M2 XML File Header")
#parse("M2-XML-File-Header")
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
#[[$END$]]#
</config>
2 changes: 1 addition & 1 deletion files/fileTemplates/M2-Layout-XML.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
#parse("M2 XML File Header")
#parse("M2-XML-File-Header")
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="checkout" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
#[[$END$]]#
Expand Down
2 changes: 1 addition & 1 deletion files/fileTemplates/M2-Module-XML.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
#parse("M2 XML File Header")
#parse("M2-XML-File-Header")
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
m2module#[[$END$]]#
</config>
4 changes: 2 additions & 2 deletions files/fileTemplates/M2-Registration.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
#parse("M2 PHP File Header")
<?php declare(strict_types=1);
#parse("M2-PHP-File-Header")

use Magento\Framework\Component\ComponentRegistrar;

Expand Down
2 changes: 1 addition & 1 deletion files/fileTemplates/M2-Sales-XML.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
#parse("M2 XML File Header")
#parse("M2-XML-File-Header")
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Sales:etc/sales.xsd">
<section name="quote">
<group name="totals">
Expand Down
2 changes: 1 addition & 1 deletion files/fileTemplates/M2-System-XML.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
#parse("M2 XML File Header")
#parse("M2-XML-File-Header")
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<system>
#[[$END$]]#
Expand Down
2 changes: 1 addition & 1 deletion files/fileTemplates/M2-System-include-XML.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
#parse("M2 XML File Header")
#parse("M2-XML-File-Header")
<include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_include.xsd">
#[[$END$]]#
</include>
2 changes: 1 addition & 1 deletion files/fileTemplates/includes/M2-PHP-File-Header.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#parse("M2 Settings")
#parse("M2-Settings")
/**
* Copyright © $Company. All rights reserved.
* $Website
Expand Down
2 changes: 1 addition & 1 deletion files/fileTemplates/includes/M2-XML-File-Header.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#parse("M2 Settings")
#parse("M2-Settings")
<!--
/**
* Copyright © $Company. All rights reserved.
Expand Down

0 comments on commit 3d5eb17

Please sign in to comment.