Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Commit 7b886b1

Browse files
committed
upgrade code to be used with PHP 7.3+
1 parent b144a4e commit 7b886b1

File tree

10 files changed

+55
-2574
lines changed

10 files changed

+55
-2574
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,9 @@ index
2626

2727
# php_cs
2828
.php_cs.cache
29+
30+
# composer
31+
composer.lock
32+
33+
# php unit
34+
.phpunit.result.cache

composer.json

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,34 +28,30 @@
2828
"minimum-stability": "dev",
2929
"prefer-stable": true,
3030
"require": {
31-
"yiisoft/yii2": "~2.0.5",
32-
"bower-asset/chartjs": "~2.6"
31+
"php": ">=7.3",
32+
"yiisoft/yii2": "^2.0",
33+
"nnnick/chartjs": "^2.9"
3334
},
3435
"require-dev": {
35-
"phpunit/phpunit": "~4.4",
36-
"friendsofphp/php-cs-fixer": "^2.0"
36+
"roave/security-advisories": "dev-master",
37+
"friendsofphp/php-cs-fixer": "^2.16",
38+
"phpunit/phpunit": "^8.5"
3739
},
3840
"autoload": {
3941
"psr-4": {
4042
"dosamigos\\chartjs\\": "src"
4143
}
4244
},
43-
"config": {
44-
"fxp-asset": {
45-
"installer-paths": {
46-
"npm-asset-library": "vendor/npm",
47-
"bower-asset-library": "vendor/bower"
48-
},
49-
"vcs-driver-options": {
50-
"github-no-api": true
51-
},
52-
"git-skip-update": "2 days",
53-
"pattern-skip-version": "(-build|-patch)"
54-
}
55-
},
5645
"extra": {
46+
"installer-types": ["bower-asset", "npm-asset"],
5747
"branch-alias": {
5848
"dev-master": "1.0-dev"
5949
}
60-
}
50+
},
51+
"repositories": [
52+
{
53+
"type": "composer",
54+
"url": "https://asset-packagist.org"
55+
}
56+
]
6157
}

0 commit comments

Comments
 (0)