summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-12-16 12:04:40 +0100
committerRemi Collet <remi@remirepo.net>2019-12-16 12:04:40 +0100
commita0a57f9df7a9f23a5109ef9398f180e433f7f8de (patch)
tree012b8c4e0a739c0d51167302a81634dde2ce2eb1 /src
parent2359afb9657dd3897a2a6f6eef2bd28df0d2ffd0 (diff)
- update to 4.0.0
- raise dependency on PHP 7.2 - use Chronos 2.0.1 - add Chronos, Console and Filesystem
Diffstat (limited to 'src')
-rw-r--r--src/Cache/composer.json9
-rw-r--r--src/Collection/composer.json2
-rw-r--r--src/Console/composer.json42
-rw-r--r--src/Core/composer.json4
-rw-r--r--src/Database/composer.json11
-rw-r--r--src/Datasource/composer.json6
-rw-r--r--src/Event/composer.json4
-rw-r--r--src/Filesystem/composer.json4
-rw-r--r--src/Form/composer.json6
-rw-r--r--src/Http/composer.json48
-rw-r--r--src/I18n/composer.json6
-rw-r--r--src/Log/composer.json7
-rw-r--r--src/ORM/composer.json19
-rw-r--r--src/Utility/composer.json4
-rw-r--r--src/Validation/composer.json6
15 files changed, 139 insertions, 39 deletions
diff --git a/src/Cache/composer.json b/src/Cache/composer.json
index 2760303..f78e504 100644
--- a/src/Cache/composer.json
+++ b/src/Cache/composer.json
@@ -22,9 +22,12 @@
"source": "https://github.com/cakephp/cache"
},
"require": {
- "php": ">=5.6.0",
- "psr/simple-cache": "^1.0.0",
- "cakephp/core": "^3.6.0"
+ "php": ">=7.2.0",
+ "cakephp/core": "^4.0",
+ "psr/simple-cache": "^1.0.0"
+ },
+ "provide": {
+ "psr/simple-cache-implementation": "^1.0.0"
},
"autoload": {
"psr-4": {
diff --git a/src/Collection/composer.json b/src/Collection/composer.json
index 47a24c4..87c0566 100644
--- a/src/Collection/composer.json
+++ b/src/Collection/composer.json
@@ -23,7 +23,7 @@
"source": "https://github.com/cakephp/collection"
},
"require": {
- "php": ">=5.6.0"
+ "php": ">=7.2.0"
},
"autoload": {
"psr-4": {
diff --git a/src/Console/composer.json b/src/Console/composer.json
new file mode 100644
index 0000000..971d9a6
--- /dev/null
+++ b/src/Console/composer.json
@@ -0,0 +1,42 @@
+{
+ "name": "cakephp/console",
+ "description": "Build beautiful console applications with CakePHP",
+ "type": "library",
+ "keywords": [
+ "cakephp",
+ "console",
+ "cli",
+ "framework"
+ ],
+ "homepage": "https://cakephp.org",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "CakePHP Community",
+ "homepage": "https://github.com/cakephp/cache/graphs/contributors"
+ }
+ ],
+ "support": {
+ "issues": "https://github.com/cakephp/cakephp/issues",
+ "forum": "https://stackoverflow.com/tags/cakephp",
+ "irc": "irc://irc.freenode.org/cakephp",
+ "source": "https://github.com/cakephp/console"
+ },
+ "require": {
+ "php": ">=7.2.0",
+ "cakephp/core": "^4.0",
+ "cakephp/event": "^4.0",
+ "cakephp/filesystem": "^4.0",
+ "cakephp/log": "^4.0",
+ "cakephp/utility": "^4.0"
+ },
+ "suggest": {
+ "cakephp/datasource": "To use the Shell or Command base classes",
+ "cakephp/orm": "To use the Shell or Command base classes"
+ },
+ "autoload": {
+ "psr-4": {
+ "Cake\\Console\\": "."
+ }
+ }
+}
diff --git a/src/Core/composer.json b/src/Core/composer.json
index 0ee9afc..a59fd08 100644
--- a/src/Core/composer.json
+++ b/src/Core/composer.json
@@ -22,8 +22,8 @@
"source": "https://github.com/cakephp/core"
},
"require": {
- "php": ">=5.6.0",
- "cakephp/utility": "^3.6.0"
+ "php": ">=7.2.0",
+ "cakephp/utility": "^4.0"
},
"suggest": {
"cakephp/event": "To use PluginApplicationInterface or plugin applications.",
diff --git a/src/Database/composer.json b/src/Database/composer.json
index c197115..9325117 100644
--- a/src/Database/composer.json
+++ b/src/Database/composer.json
@@ -24,11 +24,12 @@
"source": "https://github.com/cakephp/database"
},
"require": {
- "php": ">=5.6.0",
- "cakephp/cache": "^3.6.0",
- "cakephp/core": "^3.6.0",
- "cakephp/datasource": "^3.6.0",
- "cakephp/log": "^3.6.0"
+ "php": ">=7.2.0",
+ "cakephp/core": "^4.0",
+ "cakephp/datasource": "^4.0"
+ },
+ "suggest": {
+ "cakephp/i18n": "If you are using locale-aware datetime formats or Chronos types."
},
"autoload": {
"psr-4": {
diff --git a/src/Datasource/composer.json b/src/Datasource/composer.json
index 7846db2..ffd623c 100644
--- a/src/Datasource/composer.json
+++ b/src/Datasource/composer.json
@@ -24,8 +24,10 @@
"source": "https://github.com/cakephp/datasource"
},
"require": {
- "php": ">=5.6.0",
- "cakephp/core": "^3.6.0"
+ "php": ">=7.2.0",
+ "cakephp/core": "^4.0",
+ "psr/log": "^1.1",
+ "psr/simple-cache": "^1.0"
},
"suggest": {
"cakephp/utility": "If you decide to use EntityTrait.",
diff --git a/src/Event/composer.json b/src/Event/composer.json
index e984d41..d3a9bc5 100644
--- a/src/Event/composer.json
+++ b/src/Event/composer.json
@@ -23,8 +23,8 @@
"source": "https://github.com/cakephp/event"
},
"require": {
- "php": ">=5.6.0",
- "cakephp/core": "^3.6.0"
+ "php": ">=7.2.0",
+ "cakephp/core": "^4.0"
},
"autoload": {
"psr-4": {
diff --git a/src/Filesystem/composer.json b/src/Filesystem/composer.json
index e5dcb07..edaffd5 100644
--- a/src/Filesystem/composer.json
+++ b/src/Filesystem/composer.json
@@ -23,8 +23,8 @@
"source": "https://github.com/cakephp/filesystem"
},
"require": {
- "php": ">=5.6.0",
- "cakephp/core": "^3.6.0"
+ "php": ">=7.2.0",
+ "cakephp/core": "^4.0"
},
"autoload": {
"psr-4": {
diff --git a/src/Form/composer.json b/src/Form/composer.json
index 5e1dfdc..7942811 100644
--- a/src/Form/composer.json
+++ b/src/Form/composer.json
@@ -21,9 +21,9 @@
"source": "https://github.com/cakephp/form"
},
"require": {
- "php": ">=5.6.0",
- "cakephp/event": "^3.6.0",
- "cakephp/validation": "^3.6.0"
+ "php": ">=7.2.0",
+ "cakephp/event": "^4.0",
+ "cakephp/validation": "^4.0"
},
"autoload": {
"psr-4": {
diff --git a/src/Http/composer.json b/src/Http/composer.json
new file mode 100644
index 0000000..73cdd62
--- /dev/null
+++ b/src/Http/composer.json
@@ -0,0 +1,48 @@
+{
+ "name": "cakephp/http",
+ "description": "CakePHP HTTP client and PSR7/15 middleware libraries",
+ "type": "library",
+ "keywords": [
+ "cakephp",
+ "http",
+ "psr7",
+ "psr15"
+ ],
+ "homepage": "https://cakephp.org",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "CakePHP Community",
+ "homepage": "https://github.com/cakephp/http/graphs/contributors"
+ }
+ ],
+ "support": {
+ "issues": "https://github.com/cakephp/cakephp/issues",
+ "forum": "https://stackoverflow.com/tags/cakephp",
+ "irc": "irc://irc.freenode.org/cakephp",
+ "source": "https://github.com/cakephp/http"
+ },
+ "require": {
+ "php": ">=7.2.0",
+ "cakephp/core": "^4.0",
+ "cakephp/event": "^4.0",
+ "cakephp/utility": "^4.0",
+ "psr/http-client": "^1.0",
+ "psr/http-server-handler": "^1.0",
+ "psr/http-server-middleware": "^1.0",
+ "zendframework/zend-diactoros": "^2.1",
+ "zendframework/zend-httphandlerrunner": "^1.0"
+ },
+ "provide": {
+ "psr/http-client-implementation": "^1.0"
+ },
+ "suggest": {
+ "cakephp/cache": "To use cache session storage",
+ "cakephp/orm": "To use database session storage"
+ },
+ "autoload": {
+ "psr-4": {
+ "Cake\\Http\\": "."
+ }
+ }
+}
diff --git a/src/I18n/composer.json b/src/I18n/composer.json
index 7ffc86f..94976f0 100644
--- a/src/I18n/composer.json
+++ b/src/I18n/composer.json
@@ -28,10 +28,10 @@
"source": "https://github.com/cakephp/i18n"
},
"require": {
- "php": ">=5.6.0",
+ "php": ">=7.2.0",
"ext-intl": "*",
- "cakephp/core": "^3.6.0",
- "cakephp/chronos": "^1.0.0",
+ "cakephp/core": "^4.0",
+ "cakephp/chronos": "^2.0.0",
"aura/intl": "^3.0.0"
},
"suggest": {
diff --git a/src/Log/composer.json b/src/Log/composer.json
index a775a4f..0d43640 100644
--- a/src/Log/composer.json
+++ b/src/Log/composer.json
@@ -23,10 +23,13 @@
"source": "https://github.com/cakephp/log"
},
"require": {
- "php": ">=5.6.0",
- "cakephp/core": "^3.6.0",
+ "php": ">=7.2.0",
+ "cakephp/core": "^4.0",
"psr/log": "^1.0.0"
},
+ "provide": {
+ "psr/log-implementation": "^1.0.0"
+ },
"autoload": {
"psr-4": {
"Cake\\Log\\": "."
diff --git a/src/ORM/composer.json b/src/ORM/composer.json
index 1432893..c0f2675 100644
--- a/src/ORM/composer.json
+++ b/src/ORM/composer.json
@@ -23,17 +23,18 @@
"source": "https://github.com/cakephp/orm"
},
"require": {
- "php": ">=5.6.0",
- "cakephp/collection": "^3.6.0",
- "cakephp/core": "^3.6.0",
- "cakephp/datasource": "^3.6.0",
- "cakephp/database": "^3.6.0",
- "cakephp/event": "^3.6.0",
- "cakephp/utility": "^3.6.0",
- "cakephp/validation": "^3.6.0"
+ "php": ">=7.2.0",
+ "cakephp/collection": "^4.0",
+ "cakephp/core": "^4.0",
+ "cakephp/datasource": "^4.0",
+ "cakephp/database": "^4.0",
+ "cakephp/event": "^4.0",
+ "cakephp/utility": "^4.0",
+ "cakephp/validation": "^4.0"
},
"suggest": {
- "cakephp/i18n": "If you are using Translate / Timestamp Behavior."
+ "cakephp/cache": "If you decide to use Query caching.",
+ "cakephp/i18n": "If you are using Translate/TimestampBehavior or Chronos types."
},
"autoload": {
"psr-4": {
diff --git a/src/Utility/composer.json b/src/Utility/composer.json
index 4c5c8f1..fccb2f8 100644
--- a/src/Utility/composer.json
+++ b/src/Utility/composer.json
@@ -25,8 +25,8 @@
"source": "https://github.com/cakephp/utility"
},
"require": {
- "php": ">=5.6.0",
- "cakephp/core": "^3.6.0"
+ "php": ">=7.2.0",
+ "cakephp/core": "^4.0"
},
"suggest": {
"ext-intl": "To use Text::transliterate() or Text::slug()",
diff --git a/src/Validation/composer.json b/src/Validation/composer.json
index e4de56a..eceaafd 100644
--- a/src/Validation/composer.json
+++ b/src/Validation/composer.json
@@ -22,9 +22,9 @@
"source": "https://github.com/cakephp/validation"
},
"require": {
- "php": ">=5.6.0",
- "cakephp/core": "^3.6.0",
- "cakephp/utility": "^3.6.0",
+ "php": ">=7.2.0",
+ "cakephp/core": "^4.0",
+ "cakephp/utility": "^4.0",
"psr/http-message": "^1.0.0"
},
"suggest": {