|
1 | 1 | { |
2 | 2 | "name": "codeigniter4/codeigniter4", |
3 | | - "type": "project", |
4 | 3 | "description": "The CodeIgniter framework v4", |
5 | | - "homepage": "https://codeigniter.com", |
6 | 4 | "license": "MIT", |
| 5 | + "type": "project", |
| 6 | + "homepage": "https://codeigniter.com", |
| 7 | + "support": { |
| 8 | + "forum": "https://forum.codeigniter.com/", |
| 9 | + "source": "https://github.com/codeigniter4/CodeIgniter4", |
| 10 | + "slack": "https://codeigniterchat.slack.com" |
| 11 | + }, |
7 | 12 | "require": { |
8 | 13 | "php": "^7.4 || ^8.0", |
9 | 14 | "ext-intl": "*", |
|
13 | 18 | "psr/log": "^1.1" |
14 | 19 | }, |
15 | 20 | "require-dev": { |
16 | | - "kint-php/kint": "^5.0.4", |
17 | 21 | "codeigniter/coding-standard": "^1.5", |
| 22 | + "ergebnis/composer-normalize": "^2.28", |
18 | 23 | "fakerphp/faker": "^1.9", |
| 24 | + "kint-php/kint": "^5.0.4", |
19 | 25 | "mikey179/vfsstream": "^1.6", |
20 | 26 | "nexusphp/cs-config": "^3.6", |
21 | 27 | "nexusphp/tachycardia": "^1.0", |
|
29 | 35 | }, |
30 | 36 | "suggest": { |
31 | 37 | "ext-curl": "If you use CURLRequest class", |
32 | | - "ext-imagick": "If you use Image class ImageMagickHandler", |
33 | | - "ext-gd": "If you use Image class GDHandler", |
| 38 | + "ext-dom": "If you use TestResponse", |
34 | 39 | "ext-exif": "If you run Image class tests", |
35 | | - "ext-simplexml": "If you format XML", |
| 40 | + "ext-fileinfo": "Improves mime type detection for files", |
| 41 | + "ext-gd": "If you use Image class GDHandler", |
| 42 | + "ext-imagick": "If you use Image class ImageMagickHandler", |
| 43 | + "ext-libxml": "If you use TestResponse", |
| 44 | + "ext-memcache": "If you use Cache class MemcachedHandler with Memcache", |
| 45 | + "ext-memcached": "If you use Cache class MemcachedHandler with Memcached", |
36 | 46 | "ext-mysqli": "If you use MySQL", |
37 | 47 | "ext-oci8": "If you use Oracle Database", |
38 | 48 | "ext-pgsql": "If you use PostgreSQL", |
39 | | - "ext-sqlsrv": "If you use SQL Server", |
40 | | - "ext-sqlite3": "If you use SQLite3", |
41 | | - "ext-memcache": "If you use Cache class MemcachedHandler with Memcache", |
42 | | - "ext-memcached": "If you use Cache class MemcachedHandler with Memcached", |
| 49 | + "ext-readline": "Improves CLI::input() usability", |
43 | 50 | "ext-redis": "If you use Cache class RedisHandler", |
44 | | - "ext-dom": "If you use TestResponse", |
45 | | - "ext-libxml": "If you use TestResponse", |
46 | | - "ext-xdebug": "If you use CIUnitTestCase::assertHeaderEmitted()", |
47 | | - "ext-fileinfo": "Improves mime type detection for files", |
48 | | - "ext-readline": "Improves CLI::input() usability" |
49 | | - }, |
50 | | - "config": { |
51 | | - "optimize-autoloader": true, |
52 | | - "preferred-install": "dist", |
53 | | - "sort-packages": true |
54 | | - }, |
55 | | - "extra": { |
56 | | - "branch-alias": { |
57 | | - "dev-develop": "4.x-dev" |
58 | | - } |
| 51 | + "ext-simplexml": "If you format XML", |
| 52 | + "ext-sqlite3": "If you use SQLite3", |
| 53 | + "ext-sqlsrv": "If you use SQL Server", |
| 54 | + "ext-xdebug": "If you use CIUnitTestCase::assertHeaderEmitted()" |
59 | 55 | }, |
60 | 56 | "autoload": { |
61 | 57 | "psr-4": { |
|
71 | 67 | "Utils\\": "utils/" |
72 | 68 | } |
73 | 69 | }, |
| 70 | + "config": { |
| 71 | + "allow-plugins": { |
| 72 | + "ergebnis/composer-normalize": true |
| 73 | + }, |
| 74 | + "optimize-autoloader": true, |
| 75 | + "preferred-install": "dist", |
| 76 | + "sort-packages": true |
| 77 | + }, |
| 78 | + "extra": { |
| 79 | + "branch-alias": { |
| 80 | + "dev-develop": "4.x-dev" |
| 81 | + } |
| 82 | + }, |
74 | 83 | "scripts": { |
75 | 84 | "post-update-cmd": [ |
76 | 85 | "CodeIgniter\\ComposerScripts::postUpdate", |
|
81 | 90 | "bash -c \"XDEBUG_MODE=off phpstan analyse\"", |
82 | 91 | "rector process --dry-run" |
83 | 92 | ], |
84 | | - "sa": "@analyze", |
85 | | - "test": "phpunit", |
86 | 93 | "cs": [ |
87 | 94 | "Composer\\Config::disableProcessTimeout", |
88 | 95 | "php-cs-fixer fix --ansi --verbose --dry-run --diff --config=.php-cs-fixer.user-guide.php", |
|
95 | 102 | "php-cs-fixer fix --ansi --verbose --diff --config=.php-cs-fixer.no-header.php", |
96 | 103 | "php-cs-fixer fix --ansi --verbose --diff" |
97 | 104 | ], |
98 | | - "style": "@cs-fix" |
| 105 | + "sa": "@analyze", |
| 106 | + "style": "@cs-fix", |
| 107 | + "test": "phpunit" |
99 | 108 | }, |
100 | 109 | "scripts-descriptions": { |
101 | 110 | "analyze": "Run static analysis", |
102 | | - "test": "Run unit tests", |
103 | 111 | "cs": "Check the coding style", |
104 | | - "cs-fix": "Fix the coding style" |
105 | | - }, |
106 | | - "support": { |
107 | | - "forum": "https://forum.codeigniter.com/", |
108 | | - "source": "https://github.com/codeigniter4/CodeIgniter4", |
109 | | - "slack": "https://codeigniterchat.slack.com" |
| 112 | + "cs-fix": "Fix the coding style", |
| 113 | + "test": "Run unit tests" |
110 | 114 | } |
111 | 115 | } |
0 commit comments