Skip to content

Commit

Permalink
Merge pull request #1464 from magento-engcom/develop-prs
Browse files Browse the repository at this point in the history
[EngCom] Public Pull Requests
 - MAGETWO-72350: Fix: Use all columns when running tests #10784
 - MAGETWO-72349: Fix: Move GitHub-specific documents into .github #10778
 - MAGETWO-72344: Enhancement: Configure preferred installation source in composer.json #10774
 - MAGETWO-72279: Always use https for Vimeo video's. #10768
  • Loading branch information
ishakhsuvarov authored Sep 6, 2017
2 parents c2810e0 + e08a775 commit 5973d67
Show file tree
Hide file tree
Showing 20 changed files with 18 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .github/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Order deny,allow
Deny from all
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,6 @@
order allow,deny
deny from all
</Files>
<Files CONTRIBUTING.md>
order allow,deny
deny from all
</Files>
<Files COPYING.txt>
order allow,deny
deny from all
Expand Down
4 changes: 0 additions & 4 deletions .htaccess.sample
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,6 @@
order allow,deny
deny from all
</Files>
<Files CONTRIBUTING.md>
order allow,deny
deny from all
</Files>
<Files COPYING.txt>
order allow,deny
deny from all
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ cache:
- $HOME/node_modules
- $HOME/yarn.lock
before_install: ./dev/travis/before_install.sh
install: composer install --no-interaction --prefer-dist
install: composer install --no-interaction
before_script: ./dev/travis/before_script.sh
script:
# Set arguments for variants of phpunit based tests; '|| true' prevents failing script when leading test fails
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ define([
additionalParams += '&autoplay=1';
}

src = window.location.protocol + '//player.vimeo.com/video/' +
src = 'https://player.vimeo.com/video/' +
this._code + '?api=1&player_id=vimeo' +
this._code +
timestamp +
Expand Down Expand Up @@ -525,7 +525,7 @@ define([
);
} else if (type === 'vimeo') {
$.ajax({
url: window.location.protocol + '//www.vimeo.com/api/v2/video/' + id + '.json',
url: 'https://www.vimeo.com/api/v2/video/' + id + '.json',
dataType: 'jsonp',
data: {
format: 'json'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ define(['jquery', 'jquery/ui'], function ($) {
if (this._loop) {
additionalParams += '&loop=1';
}
src = window.location.protocol + '//player.vimeo.com/video/' +
src = 'https://player.vimeo.com/video/' +
this._code + '?api=1&player_id=vimeo' +
this._code +
timestamp +
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"OSL-3.0",
"AFL-3.0"
],
"config": {
"preferred-install": "dist"
},
"require": {
"php": "7.0.2|7.0.4|~7.0.6|~7.1.0",
"zendframework/zend-stdlib": "^2.7.7",
Expand Down
1 change: 1 addition & 0 deletions dev/tests/api-functional/phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
colors="true"
columns="max"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="./framework/bootstrap.php"
>
Expand Down
1 change: 1 addition & 0 deletions dev/tests/functional/phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
colors="true"
columns="max"
bootstrap="bootstrap.php"
backupGlobals="false"
verbose="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
colors="true"
columns="max"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="./framework/bootstrap.php"
>
Expand Down
1 change: 1 addition & 0 deletions dev/tests/integration/phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
colors="true"
columns="max"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="./framework/bootstrap.php"
stderr="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -547,9 +547,7 @@ public function cropDataProvider()
*/
public function testCreatePngFromString($pixel1, $expectedColor1, $pixel2, $expectedColor2, $adapterType)
{
if (!function_exists('imagettfbbox')
|| (getenv('TRAVIS') && getenv('TRAVIS_PHP_VERSION') == '7.1')
) {
if (!function_exists('imagettfbbox') || (getenv('TRAVIS'))) {
$this->markTestSkipped('Workaround for problem with imagettfbbox() function on Travis');
}
$adapter = $this->_getAdapter($adapterType);
Expand Down
1 change: 1 addition & 0 deletions dev/tests/static/framework/tests/unit/phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
colors="true"
columns="max"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="../../bootstrap.php"
>
Expand Down
1 change: 1 addition & 0 deletions dev/tests/static/phpunit-all.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
colors="true"
columns="max"
bootstrap="./framework/bootstrap.php"
>
<testsuites>
Expand Down
1 change: 1 addition & 0 deletions dev/tests/static/phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
colors="true"
columns="max"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="./framework/bootstrap.php"
>
Expand Down
1 change: 1 addition & 0 deletions dev/tests/unit/phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.1/phpunit.xsd"
colors="true"
columns="max"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="./framework/bootstrap.php"
>
Expand Down

0 comments on commit 5973d67

Please sign in to comment.