File tree Expand file tree Collapse file tree 4 files changed +27
-21
lines changed Expand file tree Collapse file tree 4 files changed +27
-21
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ sudo: false
3
3
language : php
4
4
5
5
php :
6
- - 7.0
7
6
- 7.1
7
+ - 7.2
8
8
9
9
install :
10
+ - mkdir -p ~/.composer/
10
11
- echo "{\"http-basic\":{\"repo.magento.com\":{\"username\":\"${MAGENTO_USERNAME}\",\"password\":\"${MAGENTO_PASSWORD}\"}}}" > ~/.composer/auth.json
11
12
- composer install --prefer-dist
12
13
- composer create-project --repository=https://repo.magento.com magento/marketplace-eqp marketplace-eqp
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ This modules prevents the generation of those urls if the aforementioned setting
13
13
## System requirements
14
14
This extension supports the following versions of Magento:
15
15
16
- * Community Edition (CE) versions 2.1.x and 2.2 .x
16
+ * Community Edition (CE) versions 2.1.x, 2.2.x and 2.3 .x
17
17
18
18
## Installation
19
19
1 . Require the module via Composer
Original file line number Diff line number Diff line change 1
1
<?php
2
+
2
3
// @codingStandardsIgnoreFile
4
+
3
5
require_once realpath (__DIR__ . '/../../vendor/autoload.php ' );
4
- /**
5
- * Create value-object \Magento\Framework\Phrase
6
- *
7
- * @SuppressWarnings(PHPMD.ShortMethodName)
8
- * @return \Magento\Framework\Phrase
9
- */
10
- function __ ()
11
- {
12
- $ argc = func_get_args ();
13
- $ text = array_shift ($ argc );
14
- if (!empty ($ argc ) && is_array ($ argc [0 ])) {
15
- $ argc = $ argc [0 ];
6
+
7
+ if (!function_exists ('__ ' )) {
8
+ /**
9
+ * Create value-object \Magento\Framework\Phrase
10
+ *
11
+ * @SuppressWarnings(PHPMD.ShortMethodName)
12
+ * @return \Magento\Framework\Phrase
13
+ */
14
+ function __ ()
15
+ {
16
+ $ argc = func_get_args ();
17
+ $ text = array_shift ($ argc );
18
+ if (!empty ($ argc ) && is_array ($ argc [0 ])) {
19
+ $ argc = $ argc [0 ];
20
+ }
21
+ return new \Magento \Framework \Phrase ($ text , $ argc );
16
22
}
17
- return new \Magento \Framework \Phrase ($ text , $ argc );
18
23
}
Original file line number Diff line number Diff line change 8
8
}
9
9
],
10
10
"require" : {
11
- "php" : " 7.0.2|7.0.4 |~7.0.6|~7.1 .0" ,
12
- "psr/log" : " 1.0.2 " ,
13
- "magento/framework" : " 101 .0.*" ,
14
- "magento/module-catalog-url-rewrite" : " 100.2 .*"
11
+ "php" : " ~7.1.0 |~7.2 .0" ,
12
+ "psr/log" : " 1.1.0 " ,
13
+ "magento/framework" : " 102 .0.*" ,
14
+ "magento/module-catalog-url-rewrite" : " 100.3 .*"
15
15
},
16
16
"require-dev" : {
17
- "phpunit/phpunit" : " ~6.2.0 " ,
18
- "squizlabs/php_codesniffer" : " 3.2.2 " ,
17
+ "phpunit/phpunit" : " ~6.5.13 " ,
18
+ "squizlabs/php_codesniffer" : " 3.3.1 " ,
19
19
"phpmd/phpmd" : " @stable" ,
20
20
"php-coveralls/php-coveralls" : " ~2.1.0"
21
21
},
You can’t perform that action at this time.
0 commit comments