質問編集履歴
7
誤字の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -222,30 +222,28 @@
|
|
222
222
|
|
223
223
|
|
224
224
|
|
225
|
+
コマンドラインで実行
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
![イメージ説明](f2b8783f06f05391d1e02cfc823b8e34.jpeg)
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
```PHP
|
234
|
+
|
235
|
+
C:\Users\nogiz46>php c:/xampp/php/php-cs-fixer.phar fix C:\Users\nogiz46\Documents\rails_wp\mytheme/footer.php --verbose
|
236
|
+
|
237
|
+
Loaded config default.
|
238
|
+
|
239
|
+
F
|
240
|
+
|
241
|
+
Legend: ?-unknown, I-invalid file syntax, file ignored, S-Skipped, .-no changes, F-fixed, E-error
|
242
|
+
|
243
|
+
1) Documents\rails_wp\mytheme\footer.php (no_spaces_inside_parenthesis)
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
Fixed all files in 0.039 seconds, 8.000 MB memory used
|
248
|
+
|
225
249
|
```
|
226
|
-
|
227
|
-
コマンドラインで実行
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
![イメージ説明](f498bdf0b677623b8b4b882d06f61296.jpeg)
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
```PHP
|
236
|
-
|
237
|
-
C:\Users\nogiz46>php c:/xampp/php/php-cs-fixer.phar fix C:\Users\nogiz46\Documents\rails_wp\mytheme/footer.php --verbose
|
238
|
-
|
239
|
-
Loaded config default.
|
240
|
-
|
241
|
-
F
|
242
|
-
|
243
|
-
Legend: ?-unknown, I-invalid file syntax, file ignored, S-Skipped, .-no changes, F-fixed, E-error
|
244
|
-
|
245
|
-
1) Documents\rails_wp\mytheme\footer.php (no_spaces_inside_parenthesis)
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
Fixed all files in 0.039 seconds, 8.000 MB memory used
|
250
|
-
|
251
|
-
```
|
6
文法の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -184,448 +184,6 @@
|
|
184
184
|
|
185
185
|
```json
|
186
186
|
|
187
|
-
{
|
188
|
-
|
189
|
-
"executables": {
|
190
|
-
|
191
|
-
"php": {
|
192
|
-
|
193
|
-
"path": ""
|
194
|
-
|
195
|
-
},
|
196
|
-
|
197
|
-
"php-cs-fixer": {
|
198
|
-
|
199
|
-
"path": "c:/xampp/php/php-cs-fixer.phar"
|
200
|
-
|
201
|
-
},
|
202
|
-
|
203
|
-
"uncrustify": {
|
204
|
-
|
205
|
-
"path": ""
|
206
|
-
|
207
|
-
},
|
208
|
-
|
209
|
-
"autopep8": {
|
210
|
-
|
211
|
-
"path": ""
|
212
|
-
|
213
|
-
},
|
214
|
-
|
215
|
-
"isort": {
|
216
|
-
|
217
|
-
"path": ""
|
218
|
-
|
219
|
-
},
|
220
|
-
|
221
|
-
"clang-format": {
|
222
|
-
|
223
|
-
"path": ""
|
224
|
-
|
225
|
-
},
|
226
|
-
|
227
|
-
"crystal": {
|
228
|
-
|
229
|
-
"path": ""
|
230
|
-
|
231
|
-
},
|
232
|
-
|
233
|
-
"dfmt": {
|
234
|
-
|
235
|
-
"path": ""
|
236
|
-
|
237
|
-
},
|
238
|
-
|
239
|
-
"elm-format": {
|
240
|
-
|
241
|
-
"path": ""
|
242
|
-
|
243
|
-
},
|
244
|
-
|
245
|
-
"gn": {
|
246
|
-
|
247
|
-
"path": ""
|
248
|
-
|
249
|
-
},
|
250
|
-
|
251
|
-
"goimports": {
|
252
|
-
|
253
|
-
"path": ""
|
254
|
-
|
255
|
-
},
|
256
|
-
|
257
|
-
"emacs": {
|
258
|
-
|
259
|
-
"path": ""
|
260
|
-
|
261
|
-
},
|
262
|
-
|
263
|
-
"ocp-indent": {
|
264
|
-
|
265
|
-
"path": ""
|
266
|
-
|
267
|
-
},
|
268
|
-
|
269
|
-
"phpcbf": {
|
270
|
-
|
271
|
-
"path": ""
|
272
|
-
|
273
|
-
},
|
274
|
-
|
275
|
-
"puppet-lint": {
|
276
|
-
|
277
|
-
"path": ""
|
278
|
-
|
279
|
-
},
|
280
|
-
|
281
|
-
"rubocop": {
|
282
|
-
|
283
|
-
"path": ""
|
284
|
-
|
285
|
-
},
|
286
|
-
|
287
|
-
"sass-convert": {
|
288
|
-
|
289
|
-
"path": ""
|
290
|
-
|
291
|
-
},
|
292
|
-
|
293
|
-
"rscript": {
|
294
|
-
|
295
|
-
"path": ""
|
296
|
-
|
297
|
-
},
|
298
|
-
|
299
|
-
"beautysh": {
|
300
|
-
|
301
|
-
"path": ""
|
302
|
-
|
303
|
-
},
|
304
|
-
|
305
|
-
"terraform": {
|
306
|
-
|
307
|
-
"path": ""
|
308
|
-
|
309
|
-
}
|
310
|
-
|
311
|
-
},
|
312
|
-
|
313
|
-
"general": {
|
314
|
-
|
315
|
-
"_analyticsUserId": "bbd8c89b-349c-41aa-94c5-359de2a2ba5a",
|
316
|
-
|
317
|
-
"loggerLevel": "warn",
|
318
|
-
|
319
|
-
"beautifyEntireFileOnSave": true,
|
320
|
-
|
321
|
-
"muteUnsupportedLanguageErrors": false,
|
322
|
-
|
323
|
-
"muteAllErrors": false,
|
324
|
-
|
325
|
-
"showLoadingView": true
|
326
|
-
|
327
|
-
},
|
328
|
-
|
329
|
-
"php": {
|
330
|
-
|
331
|
-
"cs_fixer_path": "",
|
332
|
-
|
333
|
-
"cs_fixer_version": 2,
|
334
|
-
|
335
|
-
"cs_fixer_config_file": "",
|
336
|
-
|
337
|
-
"fixers": "",
|
338
|
-
|
339
|
-
"level": "",
|
340
|
-
|
341
|
-
"rules": "",
|
342
|
-
|
343
|
-
"allow_risky": "no",
|
344
|
-
|
345
|
-
"phpcbf_path": "",
|
346
|
-
|
347
|
-
"phpcbf_version": 2,
|
348
|
-
|
349
|
-
"standard": "PEAR",
|
350
|
-
|
351
|
-
"disabled": false,
|
352
|
-
|
353
|
-
"default_beautifier": "PHP-CS-Fixer",
|
354
|
-
|
355
|
-
"beautify_on_save": false
|
356
|
-
|
357
|
-
},
|
358
|
-
|
359
|
-
"apex": {
|
360
|
-
|
361
|
-
"configPath": "",
|
362
|
-
|
363
|
-
"disabled": false,
|
364
|
-
|
365
|
-
"default_beautifier": "Uncrustify",
|
366
|
-
|
367
|
-
"beautify_on_save": false
|
368
|
-
|
369
|
-
},
|
370
|
-
|
371
|
-
"arduino": {
|
372
|
-
|
373
|
-
"configPath": "",
|
374
|
-
|
375
|
-
"disabled": false,
|
376
|
-
|
377
|
-
"default_beautifier": "Uncrustify",
|
378
|
-
|
379
|
-
"beautify_on_save": false
|
380
|
-
|
381
|
-
},
|
382
|
-
|
383
|
-
"bash": {
|
384
|
-
|
385
|
-
"indent_size": 2,
|
386
|
-
|
387
|
-
"indent_with_tabs": false,
|
388
|
-
|
389
|
-
"disabled": false,
|
390
|
-
|
391
|
-
"default_beautifier": "beautysh",
|
392
|
-
|
393
|
-
"beautify_on_save": false
|
394
|
-
|
395
|
-
},
|
396
|
-
|
397
|
-
"blade": {
|
398
|
-
|
399
|
-
"indent_inner_html": false,
|
400
|
-
|
401
|
-
"indent_size": 2,
|
402
|
-
|
403
|
-
"indent_char": " ",
|
404
|
-
|
405
|
-
"brace_style": "collapse",
|
406
|
-
|
407
|
-
"indent_scripts": "normal",
|
408
|
-
|
409
|
-
"wrap_line_length": 250,
|
410
|
-
|
411
|
-
"wrap_attributes": "auto",
|
412
|
-
|
413
|
-
"wrap_attributes_indent_size": 2,
|
414
|
-
|
415
|
-
"preserve_newlines": true,
|
416
|
-
|
417
|
-
"max_preserve_newlines": 10,
|
418
|
-
|
419
|
-
"unformatted": [
|
420
|
-
|
421
|
-
"a",
|
422
|
-
|
423
|
-
"abbr",
|
424
|
-
|
425
|
-
"area",
|
426
|
-
|
427
|
-
"audio",
|
428
|
-
|
429
|
-
"b",
|
430
|
-
|
431
|
-
"bdi",
|
432
|
-
|
433
|
-
"bdo",
|
434
|
-
|
435
|
-
"br",
|
436
|
-
|
437
|
-
"button",
|
438
|
-
|
439
|
-
"canvas",
|
440
|
-
|
441
|
-
"cite",
|
442
|
-
|
443
|
-
"code",
|
444
|
-
|
445
|
-
"data",
|
446
|
-
|
447
|
-
"datalist",
|
448
|
-
|
449
|
-
"del",
|
450
|
-
|
451
|
-
"dfn",
|
452
|
-
|
453
|
-
"em",
|
454
|
-
|
455
|
-
"embed",
|
456
|
-
|
457
|
-
"i",
|
458
|
-
|
459
|
-
"iframe",
|
460
|
-
|
461
|
-
"img",
|
462
|
-
|
463
|
-
"input",
|
464
|
-
|
465
|
-
"ins",
|
466
|
-
|
467
|
-
"kbd",
|
468
|
-
|
469
|
-
"keygen",
|
470
|
-
|
471
|
-
"label",
|
472
|
-
|
473
|
-
"map",
|
474
|
-
|
475
|
-
"mark",
|
476
|
-
|
477
|
-
"math",
|
478
|
-
|
479
|
-
"meter",
|
480
|
-
|
481
|
-
"noscript",
|
482
|
-
|
483
|
-
"object",
|
484
|
-
|
485
|
-
"output",
|
486
|
-
|
487
|
-
"progress",
|
488
|
-
|
489
|
-
"q",
|
490
|
-
|
491
|
-
"ruby",
|
492
|
-
|
493
|
-
"s",
|
494
|
-
|
495
|
-
"samp",
|
496
|
-
|
497
|
-
"select",
|
498
|
-
|
499
|
-
"small",
|
500
|
-
|
501
|
-
"span",
|
502
|
-
|
503
|
-
"strong",
|
504
|
-
|
505
|
-
"sub",
|
506
|
-
|
507
|
-
"sup",
|
508
|
-
|
509
|
-
"svg",
|
510
|
-
|
511
|
-
"template",
|
512
|
-
|
513
|
-
"textarea",
|
514
|
-
|
515
|
-
"time",
|
516
|
-
|
517
|
-
"u",
|
518
|
-
|
519
|
-
"var",
|
520
|
-
|
521
|
-
"video",
|
522
|
-
|
523
|
-
"wbr",
|
524
|
-
|
525
|
-
"text",
|
526
|
-
|
527
|
-
"acronym",
|
528
|
-
|
529
|
-
"address",
|
530
|
-
|
531
|
-
"big",
|
532
|
-
|
533
|
-
"dt",
|
534
|
-
|
535
|
-
"ins",
|
536
|
-
|
537
|
-
"small",
|
538
|
-
|
539
|
-
"strike",
|
540
|
-
|
541
|
-
"tt",
|
542
|
-
|
543
|
-
"pre",
|
544
|
-
|
545
|
-
"h1",
|
546
|
-
|
547
|
-
"h2",
|
548
|
-
|
549
|
-
"h3",
|
550
|
-
|
551
|
-
"h4",
|
552
|
-
|
553
|
-
"h5",
|
554
|
-
|
555
|
-
"h6"
|
556
|
-
|
557
|
-
],
|
558
|
-
|
559
|
-
"end_with_newline": false,
|
560
|
-
|
561
|
-
"extra_liners": [
|
562
|
-
|
563
|
-
"head",
|
564
|
-
|
565
|
-
"body",
|
566
|
-
|
567
|
-
"/html"
|
568
|
-
|
569
|
-
],
|
570
|
-
|
571
|
-
"disabled": false,
|
572
|
-
|
573
|
-
"default_beautifier": "JS Beautify",
|
574
|
-
|
575
|
-
"beautify_on_save": false
|
576
|
-
|
577
|
-
},
|
578
|
-
|
579
|
-
"cs": {
|
580
|
-
|
581
|
-
"configPath": "",
|
582
|
-
|
583
|
-
"disabled": false,
|
584
|
-
|
585
|
-
"default_beautifier": "Uncrustify",
|
586
|
-
|
587
|
-
"beautify_on_save": false
|
588
|
-
|
589
|
-
},
|
590
|
-
|
591
|
-
"c": {
|
592
|
-
|
593
|
-
"configPath": "",
|
594
|
-
|
595
|
-
"disabled": false,
|
596
|
-
|
597
|
-
"default_beautifier": "Uncrustify",
|
598
|
-
|
599
|
-
"beautify_on_save": false
|
600
|
-
|
601
|
-
},
|
602
|
-
|
603
|
-
"clj": {
|
604
|
-
|
605
|
-
"disabled": false,
|
606
|
-
|
607
|
-
"default_beautifier": "cljfmt",
|
608
|
-
|
609
|
-
"beautify_on_save": false
|
610
|
-
|
611
|
-
},
|
612
|
-
|
613
|
-
"coffeescript": {
|
614
|
-
|
615
|
-
"indent_size": 2,
|
616
|
-
|
617
|
-
"indent_char": " ",
|
618
|
-
|
619
|
-
"indent_with_tabs": false,
|
620
|
-
|
621
|
-
"disabled": false,
|
622
|
-
|
623
|
-
"default_beautifier": "coffee-fmt",
|
624
|
-
|
625
|
-
"beautify_on_save": false
|
626
|
-
|
627
|
-
},
|
628
|
-
|
629
187
|
|
630
188
|
|
631
189
|
debug 末尾
|
@@ -671,3 +229,23 @@
|
|
671
229
|
|
672
230
|
|
673
231
|
![イメージ説明](f498bdf0b677623b8b4b882d06f61296.jpeg)
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
```PHP
|
236
|
+
|
237
|
+
C:\Users\nogiz46>php c:/xampp/php/php-cs-fixer.phar fix C:\Users\nogiz46\Documents\rails_wp\mytheme/footer.php --verbose
|
238
|
+
|
239
|
+
Loaded config default.
|
240
|
+
|
241
|
+
F
|
242
|
+
|
243
|
+
Legend: ?-unknown, I-invalid file syntax, file ignored, S-Skipped, .-no changes, F-fixed, E-error
|
244
|
+
|
245
|
+
1) Documents\rails_wp\mytheme\footer.php (no_spaces_inside_parenthesis)
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
Fixed all files in 0.039 seconds, 8.000 MB memory used
|
250
|
+
|
251
|
+
```
|
5
文法の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -665,3 +665,9 @@
|
|
665
665
|
|
666
666
|
|
667
667
|
```
|
668
|
+
|
669
|
+
コマンドラインで実行
|
670
|
+
|
671
|
+
|
672
|
+
|
673
|
+
![イメージ説明](f498bdf0b677623b8b4b882d06f61296.jpeg)
|
4
設定画面の追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -52,6 +52,10 @@
|
|
52
52
|
|
53
53
|
|
54
54
|
|
55
|
+
![イメージ説明](8dd474e50b17d82865b1348c93820af4.jpeg)
|
56
|
+
|
57
|
+
|
58
|
+
|
55
59
|
```ここに言語を入力
|
56
60
|
|
57
61
|
# Atom Beautify - Debugging information
|
3
設定画面の追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -621,3 +621,43 @@
|
|
621
621
|
"beautify_on_save": false
|
622
622
|
|
623
623
|
},
|
624
|
+
|
625
|
+
|
626
|
+
|
627
|
+
debug 末尾
|
628
|
+
|
629
|
+
```ここに言語を入力
|
630
|
+
|
631
|
+
, GOOGLE_API_KEY=AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q, HOMEDRIVE=C:, HOMEPATH=\Users\nogiz46, LOCALAPPDATA=C:\Users\nogiz46\AppData\Local, LOGONSERVER=\HASHIMOTO, NODE_ENV=production, NODE_PATH=C:\Users\nogiz46\AppData\Local\atom\app-1.27.2\resources\app.asar\exports, NUMBER_OF_PROCESSORS=8, OS=Windows_NT, Path=C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Brackets\command;C:\Program Files\PuTTY\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Git\cmd;C:\Program Files\Calibre2\;C:\xampp\php;C:\Users\nogiz46\AppData\Local\Microsoft\WindowsApps;C:\Users\nogiz46\AppData\Local\atom\bin;C:\xampp\php;, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, PROCESSOR_ARCHITECTURE=AMD64, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel, PROCESSOR_LEVEL=6, PROCESSOR_REVISION=3c03, ProgramData=C:\ProgramData, ProgramFiles=C:\Program Files, ProgramFiles(x86)=C:\Program Files (x86), ProgramW6432=C:\Program Files, PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules, PUBLIC=C:\Users\Public, SESSIONNAME=Console, SystemDrive=C:, SystemRoot=C:\WINDOWS, TEMP=C:\Users\nogiz46\AppData\Local\Temp, TMP=C:\Users\nogiz46\AppData\Local\Temp, USERDOMAIN=HASHIMOTO, USERDOMAIN_ROAMINGPROFILE=HASHIMOTO, USERNAME=nogiz46, USERPROFILE=C:\Users\nogiz46, VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\, windir=C:\WINDOWS
|
632
|
+
|
633
|
+
2018-06-05T21:14:50.888Z - debug: [] spawn C:\xampp\php\php.EXE 0=c:/xampp/php/php-cs-fixer.phar, 1=fix, 2=--allow-risky=no, 3=--using-cache=no, 4=C:\Users\nogiz46\AppData\Local\Temp\temp11856-11648-2fytpi.98c2l.php
|
634
|
+
|
635
|
+
2018-06-05T21:14:51.111Z - debug: [] spawn done 0 Loaded config default.
|
636
|
+
|
637
|
+
|
638
|
+
|
639
|
+
Fixed all files in 0.008 seconds, 8.000 MB memory used
|
640
|
+
|
641
|
+
|
642
|
+
|
643
|
+
2018-06-05T21:14:51.111Z - verbose: [] spawn result, returnCode 0
|
644
|
+
|
645
|
+
2018-06-05T21:14:51.111Z - verbose: [] spawn result, stdout
|
646
|
+
|
647
|
+
Fixed all files in 0.008 seconds, 8.000 MB memory used
|
648
|
+
|
649
|
+
|
650
|
+
|
651
|
+
2018-06-05T21:14:51.111Z - verbose: [] spawn result, stderr Loaded config default.
|
652
|
+
|
653
|
+
|
654
|
+
|
655
|
+
2018-06-05T21:14:51.111Z - info: [beautifiers\index.coffee] Analytics is enabled.
|
656
|
+
|
657
|
+
|
658
|
+
|
659
|
+
```
|
660
|
+
|
661
|
+
|
662
|
+
|
663
|
+
```
|
2
設定画面の追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -37,3 +37,587 @@
|
|
37
37
|
|
38
38
|
|
39
39
|
間違いがあれば、ご指摘お願いいたします。
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
PHPの環境変数設定画面 と debug結果(一部抜粋)を追記いたします。
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
![イメージ説明](278e9098a1045323bd635e15bcc7fb5c.jpeg)
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
![イメージ説明](fc55087a69235fe2afabe4b3b2d92e3f.jpeg)
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
```ここに言語を入力
|
56
|
+
|
57
|
+
# Atom Beautify - Debugging information
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
The following debugging information was generated by `Atom Beautify` on `Wed Jun 06 2018 06:14:50 GMT+0900 (東京 (標準時))`.
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
---
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
## Table Of Contents
|
70
|
+
|
71
|
+
- [Versions](#versions)
|
72
|
+
|
73
|
+
- [Original file to be beautified](#original-file-to-be-beautified)
|
74
|
+
|
75
|
+
- [Original File Contents](#original-file-contents)
|
76
|
+
|
77
|
+
- [Package Settings](#package-settings)
|
78
|
+
|
79
|
+
- [Beautification options](#beautification-options)
|
80
|
+
|
81
|
+
- [Final Options](#final-options)
|
82
|
+
|
83
|
+
- [Results](#results)
|
84
|
+
|
85
|
+
- [Logs](#logs)
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
---
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
**Platform**: win32
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
## Versions
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
**Atom Version**: 1.27.2
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
**Atom Beautify Version**: 0.32.5
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
## Original file to be beautified
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
**Original File Path**: `C:\Users\nogiz46\Documents\rails_wp\mytheme\footer.php`
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
**Original File Grammar**: PHP
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
**Original File Language**: PHP
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
**Language namespace**: php
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
**Supported Beautifiers**: hh_format, PHP-CS-Fixer, PHPCBF
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
**Selected Beautifier**: PHP-CS-Fixer
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
### Original File Contents
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
```php
|
146
|
+
|
147
|
+
<footer>
|
148
|
+
|
149
|
+
<div class="footer-inner">
|
150
|
+
|
151
|
+
<div class="copyright">
|
152
|
+
|
153
|
+
<p><?php bloginfo('description'); ?></p>
|
154
|
+
|
155
|
+
<p>copyright © <?php bloginfo('name'); ?></p>
|
156
|
+
|
157
|
+
</div>
|
158
|
+
|
159
|
+
</div>
|
160
|
+
|
161
|
+
</footer>
|
162
|
+
|
163
|
+
<?php wp_footer(); ?>
|
164
|
+
|
165
|
+
</body>
|
166
|
+
|
167
|
+
</html>
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
```
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
### Package Settings
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
The raw package settings options
|
180
|
+
|
181
|
+
```json
|
182
|
+
|
183
|
+
{
|
184
|
+
|
185
|
+
"executables": {
|
186
|
+
|
187
|
+
"php": {
|
188
|
+
|
189
|
+
"path": ""
|
190
|
+
|
191
|
+
},
|
192
|
+
|
193
|
+
"php-cs-fixer": {
|
194
|
+
|
195
|
+
"path": "c:/xampp/php/php-cs-fixer.phar"
|
196
|
+
|
197
|
+
},
|
198
|
+
|
199
|
+
"uncrustify": {
|
200
|
+
|
201
|
+
"path": ""
|
202
|
+
|
203
|
+
},
|
204
|
+
|
205
|
+
"autopep8": {
|
206
|
+
|
207
|
+
"path": ""
|
208
|
+
|
209
|
+
},
|
210
|
+
|
211
|
+
"isort": {
|
212
|
+
|
213
|
+
"path": ""
|
214
|
+
|
215
|
+
},
|
216
|
+
|
217
|
+
"clang-format": {
|
218
|
+
|
219
|
+
"path": ""
|
220
|
+
|
221
|
+
},
|
222
|
+
|
223
|
+
"crystal": {
|
224
|
+
|
225
|
+
"path": ""
|
226
|
+
|
227
|
+
},
|
228
|
+
|
229
|
+
"dfmt": {
|
230
|
+
|
231
|
+
"path": ""
|
232
|
+
|
233
|
+
},
|
234
|
+
|
235
|
+
"elm-format": {
|
236
|
+
|
237
|
+
"path": ""
|
238
|
+
|
239
|
+
},
|
240
|
+
|
241
|
+
"gn": {
|
242
|
+
|
243
|
+
"path": ""
|
244
|
+
|
245
|
+
},
|
246
|
+
|
247
|
+
"goimports": {
|
248
|
+
|
249
|
+
"path": ""
|
250
|
+
|
251
|
+
},
|
252
|
+
|
253
|
+
"emacs": {
|
254
|
+
|
255
|
+
"path": ""
|
256
|
+
|
257
|
+
},
|
258
|
+
|
259
|
+
"ocp-indent": {
|
260
|
+
|
261
|
+
"path": ""
|
262
|
+
|
263
|
+
},
|
264
|
+
|
265
|
+
"phpcbf": {
|
266
|
+
|
267
|
+
"path": ""
|
268
|
+
|
269
|
+
},
|
270
|
+
|
271
|
+
"puppet-lint": {
|
272
|
+
|
273
|
+
"path": ""
|
274
|
+
|
275
|
+
},
|
276
|
+
|
277
|
+
"rubocop": {
|
278
|
+
|
279
|
+
"path": ""
|
280
|
+
|
281
|
+
},
|
282
|
+
|
283
|
+
"sass-convert": {
|
284
|
+
|
285
|
+
"path": ""
|
286
|
+
|
287
|
+
},
|
288
|
+
|
289
|
+
"rscript": {
|
290
|
+
|
291
|
+
"path": ""
|
292
|
+
|
293
|
+
},
|
294
|
+
|
295
|
+
"beautysh": {
|
296
|
+
|
297
|
+
"path": ""
|
298
|
+
|
299
|
+
},
|
300
|
+
|
301
|
+
"terraform": {
|
302
|
+
|
303
|
+
"path": ""
|
304
|
+
|
305
|
+
}
|
306
|
+
|
307
|
+
},
|
308
|
+
|
309
|
+
"general": {
|
310
|
+
|
311
|
+
"_analyticsUserId": "bbd8c89b-349c-41aa-94c5-359de2a2ba5a",
|
312
|
+
|
313
|
+
"loggerLevel": "warn",
|
314
|
+
|
315
|
+
"beautifyEntireFileOnSave": true,
|
316
|
+
|
317
|
+
"muteUnsupportedLanguageErrors": false,
|
318
|
+
|
319
|
+
"muteAllErrors": false,
|
320
|
+
|
321
|
+
"showLoadingView": true
|
322
|
+
|
323
|
+
},
|
324
|
+
|
325
|
+
"php": {
|
326
|
+
|
327
|
+
"cs_fixer_path": "",
|
328
|
+
|
329
|
+
"cs_fixer_version": 2,
|
330
|
+
|
331
|
+
"cs_fixer_config_file": "",
|
332
|
+
|
333
|
+
"fixers": "",
|
334
|
+
|
335
|
+
"level": "",
|
336
|
+
|
337
|
+
"rules": "",
|
338
|
+
|
339
|
+
"allow_risky": "no",
|
340
|
+
|
341
|
+
"phpcbf_path": "",
|
342
|
+
|
343
|
+
"phpcbf_version": 2,
|
344
|
+
|
345
|
+
"standard": "PEAR",
|
346
|
+
|
347
|
+
"disabled": false,
|
348
|
+
|
349
|
+
"default_beautifier": "PHP-CS-Fixer",
|
350
|
+
|
351
|
+
"beautify_on_save": false
|
352
|
+
|
353
|
+
},
|
354
|
+
|
355
|
+
"apex": {
|
356
|
+
|
357
|
+
"configPath": "",
|
358
|
+
|
359
|
+
"disabled": false,
|
360
|
+
|
361
|
+
"default_beautifier": "Uncrustify",
|
362
|
+
|
363
|
+
"beautify_on_save": false
|
364
|
+
|
365
|
+
},
|
366
|
+
|
367
|
+
"arduino": {
|
368
|
+
|
369
|
+
"configPath": "",
|
370
|
+
|
371
|
+
"disabled": false,
|
372
|
+
|
373
|
+
"default_beautifier": "Uncrustify",
|
374
|
+
|
375
|
+
"beautify_on_save": false
|
376
|
+
|
377
|
+
},
|
378
|
+
|
379
|
+
"bash": {
|
380
|
+
|
381
|
+
"indent_size": 2,
|
382
|
+
|
383
|
+
"indent_with_tabs": false,
|
384
|
+
|
385
|
+
"disabled": false,
|
386
|
+
|
387
|
+
"default_beautifier": "beautysh",
|
388
|
+
|
389
|
+
"beautify_on_save": false
|
390
|
+
|
391
|
+
},
|
392
|
+
|
393
|
+
"blade": {
|
394
|
+
|
395
|
+
"indent_inner_html": false,
|
396
|
+
|
397
|
+
"indent_size": 2,
|
398
|
+
|
399
|
+
"indent_char": " ",
|
400
|
+
|
401
|
+
"brace_style": "collapse",
|
402
|
+
|
403
|
+
"indent_scripts": "normal",
|
404
|
+
|
405
|
+
"wrap_line_length": 250,
|
406
|
+
|
407
|
+
"wrap_attributes": "auto",
|
408
|
+
|
409
|
+
"wrap_attributes_indent_size": 2,
|
410
|
+
|
411
|
+
"preserve_newlines": true,
|
412
|
+
|
413
|
+
"max_preserve_newlines": 10,
|
414
|
+
|
415
|
+
"unformatted": [
|
416
|
+
|
417
|
+
"a",
|
418
|
+
|
419
|
+
"abbr",
|
420
|
+
|
421
|
+
"area",
|
422
|
+
|
423
|
+
"audio",
|
424
|
+
|
425
|
+
"b",
|
426
|
+
|
427
|
+
"bdi",
|
428
|
+
|
429
|
+
"bdo",
|
430
|
+
|
431
|
+
"br",
|
432
|
+
|
433
|
+
"button",
|
434
|
+
|
435
|
+
"canvas",
|
436
|
+
|
437
|
+
"cite",
|
438
|
+
|
439
|
+
"code",
|
440
|
+
|
441
|
+
"data",
|
442
|
+
|
443
|
+
"datalist",
|
444
|
+
|
445
|
+
"del",
|
446
|
+
|
447
|
+
"dfn",
|
448
|
+
|
449
|
+
"em",
|
450
|
+
|
451
|
+
"embed",
|
452
|
+
|
453
|
+
"i",
|
454
|
+
|
455
|
+
"iframe",
|
456
|
+
|
457
|
+
"img",
|
458
|
+
|
459
|
+
"input",
|
460
|
+
|
461
|
+
"ins",
|
462
|
+
|
463
|
+
"kbd",
|
464
|
+
|
465
|
+
"keygen",
|
466
|
+
|
467
|
+
"label",
|
468
|
+
|
469
|
+
"map",
|
470
|
+
|
471
|
+
"mark",
|
472
|
+
|
473
|
+
"math",
|
474
|
+
|
475
|
+
"meter",
|
476
|
+
|
477
|
+
"noscript",
|
478
|
+
|
479
|
+
"object",
|
480
|
+
|
481
|
+
"output",
|
482
|
+
|
483
|
+
"progress",
|
484
|
+
|
485
|
+
"q",
|
486
|
+
|
487
|
+
"ruby",
|
488
|
+
|
489
|
+
"s",
|
490
|
+
|
491
|
+
"samp",
|
492
|
+
|
493
|
+
"select",
|
494
|
+
|
495
|
+
"small",
|
496
|
+
|
497
|
+
"span",
|
498
|
+
|
499
|
+
"strong",
|
500
|
+
|
501
|
+
"sub",
|
502
|
+
|
503
|
+
"sup",
|
504
|
+
|
505
|
+
"svg",
|
506
|
+
|
507
|
+
"template",
|
508
|
+
|
509
|
+
"textarea",
|
510
|
+
|
511
|
+
"time",
|
512
|
+
|
513
|
+
"u",
|
514
|
+
|
515
|
+
"var",
|
516
|
+
|
517
|
+
"video",
|
518
|
+
|
519
|
+
"wbr",
|
520
|
+
|
521
|
+
"text",
|
522
|
+
|
523
|
+
"acronym",
|
524
|
+
|
525
|
+
"address",
|
526
|
+
|
527
|
+
"big",
|
528
|
+
|
529
|
+
"dt",
|
530
|
+
|
531
|
+
"ins",
|
532
|
+
|
533
|
+
"small",
|
534
|
+
|
535
|
+
"strike",
|
536
|
+
|
537
|
+
"tt",
|
538
|
+
|
539
|
+
"pre",
|
540
|
+
|
541
|
+
"h1",
|
542
|
+
|
543
|
+
"h2",
|
544
|
+
|
545
|
+
"h3",
|
546
|
+
|
547
|
+
"h4",
|
548
|
+
|
549
|
+
"h5",
|
550
|
+
|
551
|
+
"h6"
|
552
|
+
|
553
|
+
],
|
554
|
+
|
555
|
+
"end_with_newline": false,
|
556
|
+
|
557
|
+
"extra_liners": [
|
558
|
+
|
559
|
+
"head",
|
560
|
+
|
561
|
+
"body",
|
562
|
+
|
563
|
+
"/html"
|
564
|
+
|
565
|
+
],
|
566
|
+
|
567
|
+
"disabled": false,
|
568
|
+
|
569
|
+
"default_beautifier": "JS Beautify",
|
570
|
+
|
571
|
+
"beautify_on_save": false
|
572
|
+
|
573
|
+
},
|
574
|
+
|
575
|
+
"cs": {
|
576
|
+
|
577
|
+
"configPath": "",
|
578
|
+
|
579
|
+
"disabled": false,
|
580
|
+
|
581
|
+
"default_beautifier": "Uncrustify",
|
582
|
+
|
583
|
+
"beautify_on_save": false
|
584
|
+
|
585
|
+
},
|
586
|
+
|
587
|
+
"c": {
|
588
|
+
|
589
|
+
"configPath": "",
|
590
|
+
|
591
|
+
"disabled": false,
|
592
|
+
|
593
|
+
"default_beautifier": "Uncrustify",
|
594
|
+
|
595
|
+
"beautify_on_save": false
|
596
|
+
|
597
|
+
},
|
598
|
+
|
599
|
+
"clj": {
|
600
|
+
|
601
|
+
"disabled": false,
|
602
|
+
|
603
|
+
"default_beautifier": "cljfmt",
|
604
|
+
|
605
|
+
"beautify_on_save": false
|
606
|
+
|
607
|
+
},
|
608
|
+
|
609
|
+
"coffeescript": {
|
610
|
+
|
611
|
+
"indent_size": 2,
|
612
|
+
|
613
|
+
"indent_char": " ",
|
614
|
+
|
615
|
+
"indent_with_tabs": false,
|
616
|
+
|
617
|
+
"disabled": false,
|
618
|
+
|
619
|
+
"default_beautifier": "coffee-fmt",
|
620
|
+
|
621
|
+
"beautify_on_save": false
|
622
|
+
|
623
|
+
},
|
1
設定画面の追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -21,3 +21,19 @@
|
|
21
21
|
|
22
22
|
|
23
23
|
お詳しい方がいらっしゃいましたら、ご教授よろしくお願いいたします。
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
追記
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
PHP-CS-Fixer の 設定は、下記のようにしています。
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
![![イメージ説明](eb4833a198b546e8349eb538dbf794ed.jpeg)](17d8b9a212994fc136d4254bedf6bb51.jpeg)
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
間違いがあれば、ご指摘お願いいたします。
|