質問編集履歴

2

追記

2018/04/11 01:21

投稿

Piesuke
Piesuke

スコア15

test CHANGED
File without changes
test CHANGED
@@ -119,3 +119,119 @@
119
119
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
120
120
 
121
121
  ```
122
+
123
+ phpのバージョンは 7.0.29で、composer.jsonの内容は
124
+
125
+ ```
126
+
127
+ {
128
+
129
+ "name": "cakephp/app",
130
+
131
+ "description": "CakePHP skeleton app",
132
+
133
+ "homepage": "https://cakephp.org",
134
+
135
+ "type": "project",
136
+
137
+ "license": "MIT",
138
+
139
+ "require": {
140
+
141
+ "php": ">=5.6",
142
+
143
+ "cakephp/cakephp": "3.5.*",
144
+
145
+ "cakephp/migrations": "^1.0",
146
+
147
+ "cakephp/plugin-installer": "^1.0",
148
+
149
+ "josegonzalez/dotenv": "2.*",
150
+
151
+ "mobiledetect/mobiledetectlib": "2.*"
152
+
153
+ },
154
+
155
+ "require-dev": {
156
+
157
+ "cakephp/bake": "^1.1",
158
+
159
+ "cakephp/cakephp-codesniffer": "^3.0",
160
+
161
+ "cakephp/debug_kit": "^3.2",
162
+
163
+ "psy/psysh": "@stable"
164
+
165
+ },
166
+
167
+ "suggest": {
168
+
169
+ "markstory/asset_compress": "An asset compression plugin which provides file concatenation and a flexible filter system for preprocessing and minification.",
170
+
171
+ "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.",
172
+
173
+ "phpunit/phpunit": "Allows automated tests to be run without system-wide install.",
174
+
175
+ "cakephp/cakephp-codesniffer": "Allows to check the code against the coding standards used in CakePHP."
176
+
177
+ },
178
+
179
+ "autoload": {
180
+
181
+ "psr-4": {
182
+
183
+ "App\": "src/"
184
+
185
+ }
186
+
187
+ },
188
+
189
+ "autoload-dev": {
190
+
191
+ "psr-4": {
192
+
193
+ "App\Test\": "tests/",
194
+
195
+ "Cake\Test\": "vendor/cakephp/cakephp/tests/"
196
+
197
+ }
198
+
199
+ },
200
+
201
+ "scripts": {
202
+
203
+ "post-install-cmd": "App\Console\Installer::postInstall",
204
+
205
+ "post-create-project-cmd": "App\Console\Installer::postInstall",
206
+
207
+ "post-autoload-dump": "Cake\Composer\Installer\PluginInstaller::postAutoloadDump",
208
+
209
+ "check": [
210
+
211
+ "@test",
212
+
213
+ "@cs-check"
214
+
215
+ ],
216
+
217
+ "cs-check": "phpcs --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests",
218
+
219
+ "cs-fix": "phpcbf --colors --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests",
220
+
221
+ "test": "phpunit --colors=always"
222
+
223
+ },
224
+
225
+ "prefer-stable": true,
226
+
227
+ "config": {
228
+
229
+ "sort-packages": true
230
+
231
+ }
232
+
233
+ }
234
+
235
+ ```
236
+
237
+ です。

1

追記

2018/04/11 01:21

投稿

Piesuke
Piesuke

スコア15

test CHANGED
File without changes
test CHANGED
@@ -23,3 +23,99 @@
23
23
 
24
24
 
25
25
  対処法を教えて欲しいです。よろしくお願いいたします。
26
+
27
+
28
+
29
+
30
+
31
+ 【追記】
32
+
33
+ php composer.phar install した時のエラー
34
+
35
+ ```
36
+
37
+ Loading composer repositories with package information
38
+
39
+ Updating dependencies (including require-dev)
40
+
41
+ Your requirements could not be resolved to an installable set of packages.
42
+
43
+
44
+
45
+ Problem 1
46
+
47
+ - 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].
48
+
49
+ - 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].
50
+
51
+ - 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].
52
+
53
+ - 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].
54
+
55
+ - squizlabs/php_codesniffer 3.2.3 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
56
+
57
+ - squizlabs/php_codesniffer 3.2.2 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
58
+
59
+ - squizlabs/php_codesniffer 3.2.1 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
60
+
61
+ - squizlabs/php_codesniffer 3.2.0 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
62
+
63
+ - squizlabs/php_codesniffer 3.1.1 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
64
+
65
+ - squizlabs/php_codesniffer 3.1.0 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
66
+
67
+ - squizlabs/php_codesniffer 3.0.2 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
68
+
69
+ - squizlabs/php_codesniffer 3.0.1 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
70
+
71
+ - squizlabs/php_codesniffer 3.0.0 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
72
+
73
+ - 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].
74
+
75
+
76
+
77
+ To enable extensions, verify that they are enabled in your .ini files:
78
+
79
+ - /etc/php.ini
80
+
81
+ - /etc/php.d/20-bz2.ini
82
+
83
+ - /etc/php.d/20-calendar.ini
84
+
85
+ - /etc/php.d/20-ctype.ini
86
+
87
+ - /etc/php.d/20-curl.ini
88
+
89
+ - /etc/php.d/20-exif.ini
90
+
91
+ - /etc/php.d/20-fileinfo.ini
92
+
93
+ - /etc/php.d/20-ftp.ini
94
+
95
+ - /etc/php.d/20-gd.ini
96
+
97
+ - /etc/php.d/20-gettext.ini
98
+
99
+ - /etc/php.d/20-iconv.ini
100
+
101
+ - /etc/php.d/20-intl.ini
102
+
103
+ - /etc/php.d/20-json.ini
104
+
105
+ - /etc/php.d/20-mbstring.ini
106
+
107
+ - /etc/php.d/20-pdo.ini
108
+
109
+ - /etc/php.d/20-phar.ini
110
+
111
+ - /etc/php.d/20-sockets.ini
112
+
113
+ - /etc/php.d/20-sqlite3.ini
114
+
115
+ - /etc/php.d/20-tokenizer.ini
116
+
117
+ - /etc/php.d/30-pdo_sqlite.ini
118
+
119
+ You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
120
+
121
+ ```