質問編集履歴
2
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -58,4 +58,62 @@
|
|
58
58
|
- /etc/php.d/20-tokenizer.ini
|
59
59
|
- /etc/php.d/30-pdo_sqlite.ini
|
60
60
|
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
|
61
|
-
```
|
61
|
+
```
|
62
|
+
phpのバージョンは 7.0.29で、composer.jsonの内容は
|
63
|
+
```
|
64
|
+
{
|
65
|
+
"name": "cakephp/app",
|
66
|
+
"description": "CakePHP skeleton app",
|
67
|
+
"homepage": "https://cakephp.org",
|
68
|
+
"type": "project",
|
69
|
+
"license": "MIT",
|
70
|
+
"require": {
|
71
|
+
"php": ">=5.6",
|
72
|
+
"cakephp/cakephp": "3.5.*",
|
73
|
+
"cakephp/migrations": "^1.0",
|
74
|
+
"cakephp/plugin-installer": "^1.0",
|
75
|
+
"josegonzalez/dotenv": "2.*",
|
76
|
+
"mobiledetect/mobiledetectlib": "2.*"
|
77
|
+
},
|
78
|
+
"require-dev": {
|
79
|
+
"cakephp/bake": "^1.1",
|
80
|
+
"cakephp/cakephp-codesniffer": "^3.0",
|
81
|
+
"cakephp/debug_kit": "^3.2",
|
82
|
+
"psy/psysh": "@stable"
|
83
|
+
},
|
84
|
+
"suggest": {
|
85
|
+
"markstory/asset_compress": "An asset compression plugin which provides file concatenation and a flexible filter system for preprocessing and minification.",
|
86
|
+
"dereuromark/cakephp-ide-helper": "After baking your code, this keeps your annotations in sync with the code evolving from there on for maximum IDE and PHPStan compatibility.",
|
87
|
+
"phpunit/phpunit": "Allows automated tests to be run without system-wide install.",
|
88
|
+
"cakephp/cakephp-codesniffer": "Allows to check the code against the coding standards used in CakePHP."
|
89
|
+
},
|
90
|
+
"autoload": {
|
91
|
+
"psr-4": {
|
92
|
+
"App\": "src/"
|
93
|
+
}
|
94
|
+
},
|
95
|
+
"autoload-dev": {
|
96
|
+
"psr-4": {
|
97
|
+
"App\Test\": "tests/",
|
98
|
+
"Cake\Test\": "vendor/cakephp/cakephp/tests/"
|
99
|
+
}
|
100
|
+
},
|
101
|
+
"scripts": {
|
102
|
+
"post-install-cmd": "App\Console\Installer::postInstall",
|
103
|
+
"post-create-project-cmd": "App\Console\Installer::postInstall",
|
104
|
+
"post-autoload-dump": "Cake\Composer\Installer\PluginInstaller::postAutoloadDump",
|
105
|
+
"check": [
|
106
|
+
"@test",
|
107
|
+
"@cs-check"
|
108
|
+
],
|
109
|
+
"cs-check": "phpcs --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests",
|
110
|
+
"cs-fix": "phpcbf --colors --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests",
|
111
|
+
"test": "phpunit --colors=always"
|
112
|
+
},
|
113
|
+
"prefer-stable": true,
|
114
|
+
"config": {
|
115
|
+
"sort-packages": true
|
116
|
+
}
|
117
|
+
}
|
118
|
+
```
|
119
|
+
です。
|
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -10,4 +10,52 @@
|
|
10
10
|
```
|
11
11
|
と出ました。vendorの中はemptyになっていました。
|
12
12
|
|
13
|
-
対処法を教えて欲しいです。よろしくお願いいたします。
|
13
|
+
対処法を教えて欲しいです。よろしくお願いいたします。
|
14
|
+
|
15
|
+
|
16
|
+
【追記】
|
17
|
+
php composer.phar install した時のエラー
|
18
|
+
```
|
19
|
+
Loading composer repositories with package information
|
20
|
+
Updating dependencies (including require-dev)
|
21
|
+
Your requirements could not be resolved to an installable set of packages.
|
22
|
+
|
23
|
+
Problem 1
|
24
|
+
- cakephp/cakephp-codesniffer 3.0.0 requires squizlabs/php_codesniffer ^3.0.0 -> satisfiable by squizlabs/php_codesniffer[3.0.0, 3.0.1, 3.0.2, 3.1.0, 3.1.1, 3.2.0, 3.2.1, 3.2.2, 3.2.3].
|
25
|
+
- cakephp/cakephp-codesniffer 3.0.1 requires squizlabs/php_codesniffer ^3.0.0 -> satisfiable by squizlabs/php_codesniffer[3.0.0, 3.0.1, 3.0.2, 3.1.0, 3.1.1, 3.2.0, 3.2.1, 3.2.2, 3.2.3].
|
26
|
+
- cakephp/cakephp-codesniffer 3.0.2 requires squizlabs/php_codesniffer ~3.0.0 -> satisfiable by squizlabs/php_codesniffer[3.0.0, 3.0.1, 3.0.2].
|
27
|
+
- cakephp/cakephp-codesniffer 3.0.3 requires squizlabs/php_codesniffer ^3.0.0 -> satisfiable by squizlabs/php_codesniffer[3.0.0, 3.0.1, 3.0.2, 3.1.0, 3.1.1, 3.2.0, 3.2.1, 3.2.2, 3.2.3].
|
28
|
+
- squizlabs/php_codesniffer 3.2.3 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
|
29
|
+
- squizlabs/php_codesniffer 3.2.2 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
|
30
|
+
- squizlabs/php_codesniffer 3.2.1 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
|
31
|
+
- squizlabs/php_codesniffer 3.2.0 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
|
32
|
+
- squizlabs/php_codesniffer 3.1.1 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
|
33
|
+
- squizlabs/php_codesniffer 3.1.0 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
|
34
|
+
- squizlabs/php_codesniffer 3.0.2 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
|
35
|
+
- squizlabs/php_codesniffer 3.0.1 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
|
36
|
+
- squizlabs/php_codesniffer 3.0.0 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
|
37
|
+
- Installation request for cakephp/cakephp-codesniffer ^3.0 -> satisfiable by cakephp/cakephp-codesniffer[3.0.0, 3.0.1, 3.0.2, 3.0.3].
|
38
|
+
|
39
|
+
To enable extensions, verify that they are enabled in your .ini files:
|
40
|
+
- /etc/php.ini
|
41
|
+
- /etc/php.d/20-bz2.ini
|
42
|
+
- /etc/php.d/20-calendar.ini
|
43
|
+
- /etc/php.d/20-ctype.ini
|
44
|
+
- /etc/php.d/20-curl.ini
|
45
|
+
- /etc/php.d/20-exif.ini
|
46
|
+
- /etc/php.d/20-fileinfo.ini
|
47
|
+
- /etc/php.d/20-ftp.ini
|
48
|
+
- /etc/php.d/20-gd.ini
|
49
|
+
- /etc/php.d/20-gettext.ini
|
50
|
+
- /etc/php.d/20-iconv.ini
|
51
|
+
- /etc/php.d/20-intl.ini
|
52
|
+
- /etc/php.d/20-json.ini
|
53
|
+
- /etc/php.d/20-mbstring.ini
|
54
|
+
- /etc/php.d/20-pdo.ini
|
55
|
+
- /etc/php.d/20-phar.ini
|
56
|
+
- /etc/php.d/20-sockets.ini
|
57
|
+
- /etc/php.d/20-sqlite3.ini
|
58
|
+
- /etc/php.d/20-tokenizer.ini
|
59
|
+
- /etc/php.d/30-pdo_sqlite.ini
|
60
|
+
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
|
61
|
+
```
|