build: update build script to prod
This commit is contained in:
parent
2a2f0e5d5a
commit
4d86bb7ba6
32
build.sh
32
build.sh
|
@ -31,11 +31,26 @@ then
|
||||||
npm ci
|
npm ci
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
is_prod_build=false
|
||||||
|
for i in "$@"
|
||||||
|
do
|
||||||
|
case $i in
|
||||||
|
--prod)
|
||||||
|
is_prod_build=true
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
new_md5_composer=$(<last-composer-build.md5)
|
new_md5_composer=$(<last-composer-build.md5)
|
||||||
if [ "$current_md5_composer" != "$new_md5_composer" ]
|
if [ "$current_md5_composer" != "$new_md5_composer" ]
|
||||||
then
|
then
|
||||||
## Install composer dependencies
|
## Install composer dependencies
|
||||||
composer install
|
if [ "$is_prod_build" == false ]
|
||||||
|
then
|
||||||
|
composer install
|
||||||
|
else
|
||||||
|
composer install --no-dev
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
new_md5_sass=$(<last-sass-build.md5)
|
new_md5_sass=$(<last-sass-build.md5)
|
||||||
|
@ -47,24 +62,15 @@ fi
|
||||||
|
|
||||||
new_md5_js=$(<last-js-build.md5)
|
new_md5_js=$(<last-js-build.md5)
|
||||||
|
|
||||||
is_prod_build=false
|
|
||||||
if [ "$current_md5_js" != "$new_md5_js" ]
|
if [ "$current_md5_js" != "$new_md5_js" ]
|
||||||
then
|
then
|
||||||
for i in "$@"
|
|
||||||
do
|
|
||||||
case $i in
|
|
||||||
--prod)
|
|
||||||
is_prod_build=true
|
|
||||||
echo "$(tput setab 4) $(tput sgr 0) $(tput setab 4) $(tput sgr 0) Building in production mode $(tput setab 4) $(tput sgr 0) $(tput setab 4) $(tput sgr 0)"
|
|
||||||
npm run build-prod
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if [ "$is_prod_build" == false ]
|
if [ "$is_prod_build" == false ]
|
||||||
then
|
then
|
||||||
echo "$(tput setab 2) $(tput sgr 0) $(tput setab 2) $(tput sgr 0) Building in development mode $(tput setab 2) $(tput sgr 0) $(tput setab 2) $(tput sgr 0)"
|
echo "$(tput setab 2) $(tput sgr 0) $(tput setab 2) $(tput sgr 0) Building in development mode $(tput setab 2) $(tput sgr 0) $(tput setab 2) $(tput sgr 0)"
|
||||||
npm run build
|
npm run build
|
||||||
|
else
|
||||||
|
echo "$(tput setab 4) $(tput sgr 0) $(tput setab 4) $(tput sgr 0) Building in production mode $(tput setab 4) $(tput sgr 0) $(tput setab 4) $(tput sgr 0)"
|
||||||
|
npm run build-prod
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
"require": {
|
"require": {
|
||||||
"respect/validation": "^1.1",
|
"respect/validation": "^1.1",
|
||||||
"smalot/pdfparser": "*",
|
"smalot/pdfparser": "*",
|
||||||
"kornrunner/blurhash": "^1.1"
|
"kornrunner/blurhash": "^1.1",
|
||||||
|
"phpcompatibility/php-compatibility": "*"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"squizlabs/php_codesniffer": "^2.2 || ^3.0.2",
|
"squizlabs/php_codesniffer": "^2.2 || ^3.0.2",
|
||||||
"phpcompatibility/php-compatibility": "*",
|
|
||||||
"yoast/phpunit-polyfills": "^1.0.1"
|
"yoast/phpunit-polyfills": "^1.0.1"
|
||||||
},
|
},
|
||||||
"prefer-stable" : true,
|
"prefer-stable" : true,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "33ed3955dccb57a048e54eec04c20205",
|
"content-hash": "c9a92efe1f2d92a648c4050665f81b05",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "kornrunner/blurhash",
|
"name": "kornrunner/blurhash",
|
||||||
|
@ -47,8 +47,74 @@
|
||||||
],
|
],
|
||||||
"description": "Pure PHP implementation of Blurhash",
|
"description": "Pure PHP implementation of Blurhash",
|
||||||
"homepage": "https://github.com/kornrunner/php-blurhash",
|
"homepage": "https://github.com/kornrunner/php-blurhash",
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/kornrunner/php-blurhash/issues",
|
||||||
|
"source": "https://github.com/kornrunner/php-blurhash.git"
|
||||||
|
},
|
||||||
"time": "2020-04-15T22:06:04+00:00"
|
"time": "2020-04-15T22:06:04+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "phpcompatibility/php-compatibility",
|
||||||
|
"version": "9.3.5",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
|
||||||
|
"reference": "9fb324479acf6f39452e0655d2429cc0d3914243"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243",
|
||||||
|
"reference": "9fb324479acf6f39452e0655d2429cc0d3914243",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3",
|
||||||
|
"squizlabs/php_codesniffer": "^2.3 || ^3.0.2"
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"squizlabs/php_codesniffer": "2.6.2"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.",
|
||||||
|
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
|
||||||
|
},
|
||||||
|
"type": "phpcodesniffer-standard",
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"LGPL-3.0-or-later"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Wim Godden",
|
||||||
|
"homepage": "https://github.com/wimg",
|
||||||
|
"role": "lead"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Juliette Reinders Folmer",
|
||||||
|
"homepage": "https://github.com/jrfnl",
|
||||||
|
"role": "lead"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Contributors",
|
||||||
|
"homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.",
|
||||||
|
"homepage": "http://techblog.wimgodden.be/tag/codesniffer/",
|
||||||
|
"keywords": [
|
||||||
|
"compatibility",
|
||||||
|
"phpcs",
|
||||||
|
"standards"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
|
||||||
|
"source": "https://github.com/PHPCompatibility/PHPCompatibility"
|
||||||
|
},
|
||||||
|
"time": "2019-12-27T09:44:58+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "respect/validation",
|
"name": "respect/validation",
|
||||||
"version": "1.1.31",
|
"version": "1.1.31",
|
||||||
|
@ -110,31 +176,31 @@
|
||||||
"validation",
|
"validation",
|
||||||
"validator"
|
"validator"
|
||||||
],
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/Respect/Validation/issues",
|
||||||
|
"source": "https://github.com/Respect/Validation/tree/1.1.31"
|
||||||
|
},
|
||||||
"time": "2019-05-28T06:10:06+00:00"
|
"time": "2019-05-28T06:10:06+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "smalot/pdfparser",
|
"name": "smalot/pdfparser",
|
||||||
"version": "v0.18.1",
|
"version": "v2.0.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/smalot/pdfparser.git",
|
"url": "https://github.com/smalot/pdfparser.git",
|
||||||
"reference": "b47f26425e32a814dc1ee55e3ce669b9e73b8458"
|
"reference": "768d1d6859bdf9ef0da44724ac84079f920b7599"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/smalot/pdfparser/zipball/b47f26425e32a814dc1ee55e3ce669b9e73b8458",
|
"url": "https://api.github.com/repos/smalot/pdfparser/zipball/768d1d6859bdf9ef0da44724ac84079f920b7599",
|
||||||
"reference": "b47f26425e32a814dc1ee55e3ce669b9e73b8458",
|
"reference": "768d1d6859bdf9ef0da44724ac84079f920b7599",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-zlib": "*",
|
"ext-zlib": "*",
|
||||||
"php": ">=5.6",
|
"php": ">=7.1",
|
||||||
"symfony/polyfill-mbstring": "^1.18"
|
"symfony/polyfill-mbstring": "^1.18"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
|
||||||
"friendsofphp/php-cs-fixer": "^2.16",
|
|
||||||
"symfony/phpunit-bridge": "^5.2"
|
|
||||||
},
|
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-0": {
|
||||||
|
@ -160,20 +226,80 @@
|
||||||
"pdf",
|
"pdf",
|
||||||
"text"
|
"text"
|
||||||
],
|
],
|
||||||
"time": "2021-01-05T08:52:07+00:00"
|
"support": {
|
||||||
|
"issues": "https://github.com/smalot/pdfparser/issues",
|
||||||
|
"source": "https://github.com/smalot/pdfparser/tree/v2.0.1"
|
||||||
|
},
|
||||||
|
"time": "2021-11-22T11:57:24+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/polyfill-mbstring",
|
"name": "squizlabs/php_codesniffer",
|
||||||
"version": "v1.20.0",
|
"version": "3.6.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/polyfill-mbstring.git",
|
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
|
||||||
"reference": "39d483bdf39be819deabf04ec872eb0b2410b531"
|
"reference": "f268ca40d54617c6e06757f83f699775c9b3ff2e"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/39d483bdf39be819deabf04ec872eb0b2410b531",
|
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/f268ca40d54617c6e06757f83f699775c9b3ff2e",
|
||||||
"reference": "39d483bdf39be819deabf04ec872eb0b2410b531",
|
"reference": "f268ca40d54617c6e06757f83f699775c9b3ff2e",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ext-simplexml": "*",
|
||||||
|
"ext-tokenizer": "*",
|
||||||
|
"ext-xmlwriter": "*",
|
||||||
|
"php": ">=5.4.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
|
||||||
|
},
|
||||||
|
"bin": [
|
||||||
|
"bin/phpcs",
|
||||||
|
"bin/phpcbf"
|
||||||
|
],
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "3.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"BSD-3-Clause"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Greg Sherwood",
|
||||||
|
"role": "lead"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
|
||||||
|
"homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
|
||||||
|
"keywords": [
|
||||||
|
"phpcs",
|
||||||
|
"standards"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
|
||||||
|
"source": "https://github.com/squizlabs/PHP_CodeSniffer",
|
||||||
|
"wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
|
||||||
|
},
|
||||||
|
"time": "2021-10-11T04:00:11+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "symfony/polyfill-mbstring",
|
||||||
|
"version": "v1.23.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/symfony/polyfill-mbstring.git",
|
||||||
|
"reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9174a3d80210dca8daa7f31fec659150bbeabfc6",
|
||||||
|
"reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -185,7 +311,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-main": "1.20-dev"
|
"dev-main": "1.23-dev"
|
||||||
},
|
},
|
||||||
"thanks": {
|
"thanks": {
|
||||||
"name": "symfony/polyfill",
|
"name": "symfony/polyfill",
|
||||||
|
@ -224,7 +350,7 @@
|
||||||
"shim"
|
"shim"
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.20.0"
|
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.1"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -240,7 +366,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2020-10-23T14:02:19+00:00"
|
"time": "2021-05-27T12:26:48+00:00"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packages-dev": [
|
"packages-dev": [
|
||||||
|
@ -482,64 +608,6 @@
|
||||||
},
|
},
|
||||||
"time": "2021-02-23T14:00:09+00:00"
|
"time": "2021-02-23T14:00:09+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "phpcompatibility/php-compatibility",
|
|
||||||
"version": "9.3.5",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
|
|
||||||
"reference": "9fb324479acf6f39452e0655d2429cc0d3914243"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243",
|
|
||||||
"reference": "9fb324479acf6f39452e0655d2429cc0d3914243",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.3",
|
|
||||||
"squizlabs/php_codesniffer": "^2.3 || ^3.0.2"
|
|
||||||
},
|
|
||||||
"conflict": {
|
|
||||||
"squizlabs/php_codesniffer": "2.6.2"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0"
|
|
||||||
},
|
|
||||||
"suggest": {
|
|
||||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.",
|
|
||||||
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
|
|
||||||
},
|
|
||||||
"type": "phpcodesniffer-standard",
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"LGPL-3.0-or-later"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Wim Godden",
|
|
||||||
"homepage": "https://github.com/wimg",
|
|
||||||
"role": "lead"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Juliette Reinders Folmer",
|
|
||||||
"homepage": "https://github.com/jrfnl",
|
|
||||||
"role": "lead"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Contributors",
|
|
||||||
"homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.",
|
|
||||||
"homepage": "http://techblog.wimgodden.be/tag/codesniffer/",
|
|
||||||
"keywords": [
|
|
||||||
"compatibility",
|
|
||||||
"phpcs",
|
|
||||||
"standards"
|
|
||||||
],
|
|
||||||
"time": "2019-12-27T09:44:58+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "phpdocumentor/reflection-common",
|
"name": "phpdocumentor/reflection-common",
|
||||||
"version": "2.2.0",
|
"version": "2.2.0",
|
||||||
|
@ -842,16 +910,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-file-iterator",
|
"name": "phpunit/php-file-iterator",
|
||||||
"version": "2.0.4",
|
"version": "2.0.5",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
|
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
|
||||||
"reference": "28af674ff175d0768a5a978e6de83f697d4a7f05"
|
"reference": "42c5ba5220e6904cbfe8b1a1bda7c0cfdc8c12f5"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/28af674ff175d0768a5a978e6de83f697d4a7f05",
|
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/42c5ba5220e6904cbfe8b1a1bda7c0cfdc8c12f5",
|
||||||
"reference": "28af674ff175d0768a5a978e6de83f697d4a7f05",
|
"reference": "42c5ba5220e6904cbfe8b1a1bda7c0cfdc8c12f5",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -890,7 +958,7 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
|
"issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
|
||||||
"source": "https://github.com/sebastianbergmann/php-file-iterator/tree/2.0.4"
|
"source": "https://github.com/sebastianbergmann/php-file-iterator/tree/2.0.5"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -898,7 +966,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-07-19T06:46:01+00:00"
|
"time": "2021-12-02T12:42:26+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-text-template",
|
"name": "phpunit/php-text-template",
|
||||||
|
@ -1890,57 +1958,6 @@
|
||||||
},
|
},
|
||||||
"time": "2016-10-03T07:35:21+00:00"
|
"time": "2016-10-03T07:35:21+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "squizlabs/php_codesniffer",
|
|
||||||
"version": "3.5.8",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
|
|
||||||
"reference": "9d583721a7157ee997f235f327de038e7ea6dac4"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/9d583721a7157ee997f235f327de038e7ea6dac4",
|
|
||||||
"reference": "9d583721a7157ee997f235f327de038e7ea6dac4",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"ext-simplexml": "*",
|
|
||||||
"ext-tokenizer": "*",
|
|
||||||
"ext-xmlwriter": "*",
|
|
||||||
"php": ">=5.4.0"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
|
|
||||||
},
|
|
||||||
"bin": [
|
|
||||||
"bin/phpcs",
|
|
||||||
"bin/phpcbf"
|
|
||||||
],
|
|
||||||
"type": "library",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "3.x-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"BSD-3-Clause"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Greg Sherwood",
|
|
||||||
"role": "lead"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
|
|
||||||
"homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
|
|
||||||
"keywords": [
|
|
||||||
"phpcs",
|
|
||||||
"standards"
|
|
||||||
],
|
|
||||||
"time": "2020-10-23T02:01:07+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "symfony/polyfill-ctype",
|
"name": "symfony/polyfill-ctype",
|
||||||
"version": "v1.23.0",
|
"version": "v1.23.0",
|
||||||
|
@ -2130,16 +2147,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "yoast/phpunit-polyfills",
|
"name": "yoast/phpunit-polyfills",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Yoast/PHPUnit-Polyfills.git",
|
"url": "https://github.com/Yoast/PHPUnit-Polyfills.git",
|
||||||
"reference": "1a582ab1d91e86aa450340c4d35631a85314ff9f"
|
"reference": "5ea3536428944955f969bc764bbe09738e151ada"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/1a582ab1d91e86aa450340c4d35631a85314ff9f",
|
"url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/5ea3536428944955f969bc764bbe09738e151ada",
|
||||||
"reference": "1a582ab1d91e86aa450340c4d35631a85314ff9f",
|
"reference": "5ea3536428944955f969bc764bbe09738e151ada",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -2187,7 +2204,7 @@
|
||||||
"issues": "https://github.com/Yoast/PHPUnit-Polyfills/issues",
|
"issues": "https://github.com/Yoast/PHPUnit-Polyfills/issues",
|
||||||
"source": "https://github.com/Yoast/PHPUnit-Polyfills"
|
"source": "https://github.com/Yoast/PHPUnit-Polyfills"
|
||||||
},
|
},
|
||||||
"time": "2021-10-03T08:40:26+00:00"
|
"time": "2021-11-23T01:37:03+00:00"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"aliases": [],
|
"aliases": [],
|
||||||
|
|
Loading…
Reference in New Issue