|
11 | 11 | ], |
12 | 12 | "require": { |
13 | 13 | "php": "~8.1.0 || ~8.2.0 || ~8.3.0", |
14 | | - "laminas/laminas-component-installer": "^3.2", |
15 | | - "laminas/laminas-development-mode": "^3.10", |
16 | | - "laminas/laminas-skeleton-installer": "^1.2", |
17 | | - "laminas/laminas-mvc": "^3.6.0" |
| 14 | + "laminas/laminas-component-installer": "^3.4.0", |
| 15 | + "laminas/laminas-development-mode": "^3.12.0", |
| 16 | + "laminas/laminas-mvc": "^3.7.0", |
| 17 | + "laminas/laminas-skeleton-installer": "^1.3.0" |
| 18 | + }, |
| 19 | + "require-dev": { |
| 20 | + "dealerdirect/phpcodesniffer-composer-installer": "^1.0", |
| 21 | + "laminas/laminas-test": "^4.9", |
| 22 | + "phpunit/phpunit": "^10.4", |
| 23 | + "psalm/plugin-phpunit": "^0.18.4", |
| 24 | + "squizlabs/php_codesniffer": "^3.7", |
| 25 | + "vimeo/psalm": "^5.13" |
18 | 26 | }, |
19 | 27 | "autoload": { |
20 | 28 | "psr-4": { |
|
87 | 95 | "prompt": "Would you like to install sessions support?", |
88 | 96 | "module": true |
89 | 97 | }, |
90 | | - { |
91 | | - "name": "laminas/laminas-test", |
92 | | - "constraint": "^4.7.0", |
93 | | - "prompt": "Would you like to install MVC testing tools for testing support?", |
94 | | - "dev": true |
95 | | - }, |
96 | 98 | { |
97 | 99 | "name": "laminas/laminas-di", |
98 | 100 | "constraint": "^3.12.0", |
|
111 | 113 | "post-create-project-cmd": [ |
112 | 114 | "@development-enable", |
113 | 115 | "php bin/update-gitignore.php", |
114 | | - "php -r 'if (file_exists(\"bin/remove-package-artifacts.php\")) include \"bin/remove-package-artifacts.php\";'", |
115 | | - "php -r 'if (file_exists(\"CHANGELOG.md\")) unlink(\"CHANGELOG.md\");'" |
| 116 | + "php -r 'if (file_exists(\"bin/remove-package-artifacts.php\")) include \"bin/remove-package-artifacts.php\";'" |
116 | 117 | ], |
117 | 118 | "post-install-cmd": "@clear-config-cache", |
118 | 119 | "post-update-cmd": "@clear-config-cache", |
|
121 | 122 | "php -S 0.0.0.0:8080 -t public" |
122 | 123 | ], |
123 | 124 | "test": "vendor/bin/phpunit", |
124 | | - "static-analysis": "vendor/bin/psalm --shepherd --stats" |
| 125 | + "static-analysis": "vendor/bin/psalm --stats" |
125 | 126 | }, |
126 | 127 | "scripts-descriptions": { |
127 | 128 | "clear-config-cache": "Clears merged config cache. Required for config changes to be applied.", |
|
131 | 132 | "development-enable": "Enable development mode.", |
132 | 133 | "development-status": "Detail whether or not the application is in development mode.", |
133 | 134 | "serve": "Start the built-in PHP web server and serve the application.", |
| 135 | + "static-analysis": "Run static analysis tool Psalm.", |
134 | 136 | "test": "Run unit tests." |
135 | 137 | }, |
136 | 138 | "config": { |
| 139 | + "sort-packages": true, |
137 | 140 | "allow-plugins": { |
138 | 141 | "laminas/laminas-component-installer": true, |
139 | | - "laminas/laminas-skeleton-installer": true |
| 142 | + "laminas/laminas-skeleton-installer": true, |
| 143 | + "dealerdirect/phpcodesniffer-composer-installer": true |
140 | 144 | } |
141 | 145 | } |
142 | 146 | } |
0 commit comments