diff --git a/.gitignore b/.gitignore index 8184876..6d8fe63 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,4 @@ /.idea # Composer Install # -/vendor +/administrator/components/com_patchtester/vendor diff --git a/.travis.yml b/.travis.yml index be64560..67c8d65 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,5 +21,5 @@ before_script: - composer install script: - - if [[ $RUN_PHPCS == "yes" ]]; then vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla --ignore=./*tmpl/* administrator/components/com_patchtester; fi - - if [[ $UPDATE_CROWDIN == "yes" && $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_BRANCH == "master" ]]; then vendor/bin/crowdin --upload; fi + - if [[ $RUN_PHPCS == "yes" ]]; then administrator/components/com_patchtester/vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla --ignore=./*tmpl/* administrator/components/com_patchtester; fi + - if [[ $UPDATE_CROWDIN == "yes" && $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_BRANCH == "master" ]]; then administrator/components/com_patchtester/vendor/bin/crowdin --upload; fi diff --git a/build/patchtester/build.sh b/build/patchtester/build.sh index 1fc4eb4..705e637 100755 --- a/build/patchtester/build.sh +++ b/build/patchtester/build.sh @@ -1,13 +1,16 @@ #!/bin/sh -rm -rf ../packaging && mkdir ../packaging -rm -rf ../packages && mkdir ../packages -cp -r ../../administrator/components/com_patchtester ../packaging/admin -cp -r ../../administrator/templates/hathor/html/com_patchtester ../packaging/hathor -cp -r ../../media/com_patchtester ../packaging/media -rm -rf ../packaging/admin/backups/*.txt -mv ../packaging/admin/patchtester.xml ../packaging/patchtester.xml -mv ../packaging/admin/script.php ../packaging/script.php -cd ../packaging -tar jcf ../packages/com_patchtester.tar.bz2 admin/ hathor/ media/ patchtester.xml script.php -tar zcf ../packages/com_patchtester.tar.gz admin/ hathor/ media/ patchtester.xml script.php -zip -r ../packages/com_patchtester.zip admin/ hathor/ media/ patchtester.xml script.php +cd ../../ +rm -rf packaging && mkdir packaging +rm -rf packages && mkdir packages +composer install --no-dev +cp -r administrator/components/com_patchtester packaging/admin +cp -r administrator/templates/hathor/html/com_patchtester packaging/hathor +cp -r media/com_patchtester packaging/media +rm -rf packaging/admin/backups/*.txt +mv packaging/admin/patchtester.xml packaging/patchtester.xml +mv packaging/admin/script.php packaging/script.php +cd packaging +tar jcf packages/com_patchtester.tar.bz2 admin/ hathor/ media/ patchtester.xml script.php +tar zcf packages/com_patchtester.tar.gz admin/ hathor/ media/ patchtester.xml script.php +zip -r packages/com_patchtester.zip admin/ hathor/ media/ patchtester.xml script.php +composer install diff --git a/composer.json b/composer.json index 2b8ed8b..1555e7b 100644 --- a/composer.json +++ b/composer.json @@ -5,6 +5,9 @@ "keywords": ["joomla", "cms"], "homepage": "https://github.com/joomla-extensions/patchtester", "license": "GPL-2.0+", + "config": { + "vendor-dir": "administrator/components/com_patchtester/vendor" + }, "require": { "php": ">=5.3.10" }, diff --git a/composer.lock b/composer.lock index 423ab98..445879f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,6 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "2e9abcd81c99cc66888e6331ef3c915d", "content-hash": "edd2fd4e5088da2a5bc5b04969135d4d", "packages": [], "packages-dev": [ @@ -49,7 +48,7 @@ } ], "description": "A crowdin API implementation in PHP", - "time": "2016-08-02 01:04:16" + "time": "2016-08-02T01:04:16+00:00" }, { "name": "guzzlehttp/guzzle", @@ -111,32 +110,32 @@ "rest", "web service" ], - "time": "2016-10-08 15:01:37" + "time": "2016-10-08T15:01:37+00:00" }, { "name": "guzzlehttp/promises", - "version": "1.3.0", + "version": "v1.3.1", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "2693c101803ca78b27972d84081d027fca790a1e" + "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/2693c101803ca78b27972d84081d027fca790a1e", - "reference": "2693c101803ca78b27972d84081d027fca790a1e", + "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646", + "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646", "shasum": "" }, "require": { "php": ">=5.5.0" }, "require-dev": { - "phpunit/phpunit": "~4.0" + "phpunit/phpunit": "^4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "1.4-dev" } }, "autoload": { @@ -162,7 +161,7 @@ "keywords": [ "promise" ], - "time": "2016-11-18 17:47:58" + "time": "2016-12-20T10:07:11+00:00" }, { "name": "guzzlehttp/psr7", @@ -220,7 +219,7 @@ "stream", "uri" ], - "time": "2016-06-24 23:00:38" + "time": "2016-06-24T23:00:38+00:00" }, { "name": "ircmaxell/password-compat", @@ -262,33 +261,33 @@ "hashing", "password" ], - "time": "2014-11-20 16:49:30" + "time": "2014-11-20T16:49:30+00:00" }, { "name": "joomla/application", - "version": "1.6.0", + "version": "1.7.0", "source": { "type": "git", "url": "https://github.com/joomla-framework/application.git", - "reference": "2c2fb32553819f22ee15d4022dec805e750f43ce" + "reference": "e1a2416d3aaeae3c927920b3e1b1c33095b16e03" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/joomla-framework/application/zipball/2c2fb32553819f22ee15d4022dec805e750f43ce", - "reference": "2c2fb32553819f22ee15d4022dec805e750f43ce", + "url": "https://api.github.com/repos/joomla-framework/application/zipball/e1a2416d3aaeae3c927920b3e1b1c33095b16e03", + "reference": "e1a2416d3aaeae3c927920b3e1b1c33095b16e03", "shasum": "" }, "require": { "joomla/input": "~1.2", "joomla/registry": "~1.1", - "php": ">=5.3.10|>=7.0", + "php": "^5.3.10|~7.0", "psr/log": "~1.0" }, "require-dev": { "joomla/session": "^1.2.1", "joomla/test": "~1.1", "joomla/uri": "~1.1", - "phpunit/phpunit": "~4.8|~5.0", + "phpunit/phpunit": "~4.8|>=5.0 <5.4", "squizlabs/php_codesniffer": "1.*" }, "suggest": { @@ -317,7 +316,7 @@ "framework", "joomla" ], - "time": "2016-04-09 03:08:55" + "time": "2016-12-10T17:26:50+00:00" }, { "name": "joomla/compat", @@ -354,7 +353,7 @@ "framework", "joomla" ], - "time": "2015-02-24 00:21:06" + "time": "2015-02-24T00:21:06+00:00" }, { "name": "joomla/crowdin-sync", @@ -396,7 +395,7 @@ "crowdin", "joomla" ], - "time": "2016-10-31 22:30:19" + "time": "2016-10-31T22:30:19+00:00" }, { "name": "joomla/filter", @@ -446,7 +445,7 @@ "framework", "joomla" ], - "time": "2016-10-16 18:10:33" + "time": "2016-10-16T18:10:33+00:00" }, { "name": "joomla/input", @@ -494,7 +493,7 @@ "input", "joomla" ], - "time": "2014-10-12 18:01:36" + "time": "2014-10-12T18:01:36+00:00" }, { "name": "joomla/registry", @@ -547,30 +546,33 @@ "joomla", "registry" ], - "time": "2016-05-14 20:42:05" + "time": "2016-05-14T20:42:05+00:00" }, { "name": "joomla/string", - "version": "1.4.0", + "version": "1.4.1", "source": { "type": "git", "url": "https://github.com/joomla-framework/string.git", - "reference": "05197132a075ee22a3f0f7da31a19a6d5b4717db" + "reference": "66363d317e6c020f30a70265c129281c77c43ca0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/joomla-framework/string/zipball/05197132a075ee22a3f0f7da31a19a6d5b4717db", - "reference": "05197132a075ee22a3f0f7da31a19a6d5b4717db", + "url": "https://api.github.com/repos/joomla-framework/string/zipball/66363d317e6c020f30a70265c129281c77c43ca0", + "reference": "66363d317e6c020f30a70265c129281c77c43ca0", "shasum": "" }, "require": { - "php": ">=5.3.10|>=7.0" + "php": "^5.3.10|~7.0" }, "require-dev": { "joomla/test": "~1.0", "phpunit/phpunit": "~4.8|~5.0", "squizlabs/php_codesniffer": "1.*" }, + "suggest": { + "ext-mbstring": "For improved processing" + }, "type": "joomla-package", "extra": { "branch-alias": { @@ -579,8 +581,7 @@ }, "autoload": { "psr-4": { - "Joomla\\String\\": "src/", - "Joomla\\String\\Tests\\": "Tests/" + "Joomla\\String\\": "src/" }, "files": [ "src/phputf8/utf8.php", @@ -611,28 +612,28 @@ "joomla", "string" ], - "time": "2016-01-30 20:04:23" + "time": "2016-12-10T18:13:42+00:00" }, { "name": "joomla/utilities", - "version": "1.4.0", + "version": "1.4.1", "source": { "type": "git", "url": "https://github.com/joomla-framework/utilities.git", - "reference": "ecf18231ff86ab06cf555a7c3ed4dd447ae39e9b" + "reference": "8913ca02aad7b929e0d52d78fd5a6961070bdbc6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/joomla-framework/utilities/zipball/ecf18231ff86ab06cf555a7c3ed4dd447ae39e9b", - "reference": "ecf18231ff86ab06cf555a7c3ed4dd447ae39e9b", + "url": "https://api.github.com/repos/joomla-framework/utilities/zipball/8913ca02aad7b929e0d52d78fd5a6961070bdbc6", + "reference": "8913ca02aad7b929e0d52d78fd5a6961070bdbc6", "shasum": "" }, "require": { "joomla/string": "~1.3", - "php": ">=5.3.10" + "php": "^5.3.10|~7.0" }, "require-dev": { - "phpunit/phpunit": "4.*", + "phpunit/phpunit": "~4.8|~5.0", "squizlabs/php_codesniffer": "1.*" }, "type": "joomla-package", @@ -643,8 +644,7 @@ }, "autoload": { "psr-4": { - "Joomla\\Utilities\\": "src/", - "Joomla\\Utilities\\Tests\\": "Tests/" + "Joomla\\Utilities\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -658,7 +658,7 @@ "joomla", "utilities" ], - "time": "2015-09-05 16:41:24" + "time": "2016-12-10T17:09:33+00:00" }, { "name": "psr/http-message", @@ -708,7 +708,7 @@ "request", "response" ], - "time": "2016-08-06 14:39:51" + "time": "2016-08-06T14:39:51+00:00" }, { "name": "psr/log", @@ -755,7 +755,7 @@ "psr", "psr-3" ], - "time": "2016-10-10 12:19:37" + "time": "2016-10-10T12:19:37+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -830,7 +830,7 @@ "phpcs", "standards" ], - "time": "2014-12-04 22:32:15" + "time": "2014-12-04T22:32:15+00:00" }, { "name": "symfony/polyfill-php55", @@ -886,29 +886,35 @@ "portable", "shim" ], - "time": "2016-11-14 01:06:16" + "time": "2016-11-14T01:06:16+00:00" }, { "name": "symfony/yaml", - "version": "v3.1.6", + "version": "v3.2.2", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "7ff51b06c6c3d5cc6686df69004a42c69df09e27" + "reference": "50eadbd7926e31842893c957eca362b21592a97d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/7ff51b06c6c3d5cc6686df69004a42c69df09e27", - "reference": "7ff51b06c6c3d5cc6686df69004a42c69df09e27", + "url": "https://api.github.com/repos/symfony/yaml/zipball/50eadbd7926e31842893c957eca362b21592a97d", + "reference": "50eadbd7926e31842893c957eca362b21592a97d", "shasum": "" }, "require": { "php": ">=5.5.9" }, + "require-dev": { + "symfony/console": "~2.8|~3.0" + }, + "suggest": { + "symfony/console": "For validating YAML files using the lint command" + }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -935,7 +941,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2016-10-24 18:41:13" + "time": "2017-01-03T13:51:32+00:00" } ], "aliases": [],