summaryrefslogtreecommitdiffstats
path: root/composer-chronos.json
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-12-16 10:29:50 +0100
committerRemi Collet <remi@remirepo.net>2019-12-16 10:29:50 +0100
commit2359afb9657dd3897a2a6f6eef2bd28df0d2ffd0 (patch)
treeaf2524dfe9cb656bae8f984245261ec24bc44f86 /composer-chronos.json
duplicate v3
Diffstat (limited to 'composer-chronos.json')
-rw-r--r--composer-chronos.json62
1 files changed, 62 insertions, 0 deletions
diff --git a/composer-chronos.json b/composer-chronos.json
new file mode 100644
index 0000000..d63b284
--- /dev/null
+++ b/composer-chronos.json
@@ -0,0 +1,62 @@
+{
+ "name": "cakephp/chronos",
+ "type": "library",
+ "description": "A simple API extension for DateTime.",
+ "keywords": [
+ "date",
+ "time",
+ "DateTime"
+ ],
+ "homepage": "http://cakephp.org",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Brian Nesbitt",
+ "email": "brian@nesbot.com",
+ "homepage": "http://nesbot.com"
+ },
+ {
+ "name": "The CakePHP Team",
+ "homepage": "http://cakephp.org"
+ }
+ ],
+ "support": {
+ "issues": "https://github.com/cakephp/chronos/issues",
+ "irc": "irc://irc.freenode.org/cakephp",
+ "source": "https://github.com/cakephp/chronos"
+ },
+ "require": {
+ "php": ">=5.6"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "<6.0 || ^7.0",
+ "athletic/athletic": "~0.1",
+ "cakephp/cakephp-codesniffer": "^3.0",
+ "phpbench/phpbench": "@dev"
+ },
+ "autoload": {
+ "psr-4": {
+ "Cake\\Chronos\\": "src/"
+ },
+ "files": ["src/carbon_compat.php"]
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "Cake\\Chronos\\Test\\": "tests/"
+ },
+ "files": ["tests/TestCase.php"]
+ },
+ "scripts": {
+ "check": [
+ "@test",
+ "@cs-check",
+ "@phpstan"
+ ],
+ "test": "phpunit",
+ "cs-check": "phpcs",
+ "cs-fix": "phpcbf",
+ "bench": "phpbench run",
+ "phpstan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan-shim:^0.11 && mv composer.backup composer.json",
+ "phpstan": "phpstan analyze -c phpstan.neon -l 3 src/"
+ }
+}