|
1 | 1 | { |
2 | 2 | "name": "itk-dev/serviceplatformen", |
3 | 3 | "description": "", |
4 | | - "type": "library", |
5 | 4 | "license": "MIT", |
| 5 | + "type": "library", |
6 | 6 | "authors": [ |
7 | 7 | { |
8 | 8 | "name": "Lars Steen", |
|
13 | 13 | |
14 | 14 | } |
15 | 15 | ], |
16 | | - "bin": [ |
17 | | - "bin/serviceplatformen-sf1500-data-lookup", |
18 | | - "bin/serviceplatformen-sf1601-kombipostafsend" |
19 | | - ], |
20 | 16 | "require": { |
21 | 17 | "php": "^8.1", |
22 | 18 | "ext-curl": "*", |
|
40 | 36 | "wsdltophp/packagebase": "^5.0" |
41 | 37 | }, |
42 | 38 | "require-dev": { |
| 39 | + "ergebnis/composer-normalize": "^2.48", |
43 | 40 | "friendsofphp/php-cs-fixer": "^3.11", |
44 | 41 | "goetas-webservices/xsd2php": "dev-feature-xml-namespace-prefix", |
45 | 42 | "phan/phan": "^5.4", |
|
50 | 47 | "symfony/mime": "^5.4 || ^6.0", |
51 | 48 | "wsdltophp/packagegenerator": "^4.1" |
52 | 49 | }, |
53 | | - "config": { |
54 | | - "optimize-autoloader": true, |
55 | | - "preferred-install": "dist", |
56 | | - "sort-packages": true |
| 50 | + "repositories": { |
| 51 | + "goetas-webservices/xsd2php": { |
| 52 | + "type": "vcs", |
| 53 | + "url": "https://github.com/rimi-itk/xsd2php" |
| 54 | + } |
57 | 55 | }, |
| 56 | + "minimum-stability": "dev", |
| 57 | + "prefer-stable": true, |
58 | 58 | "autoload": { |
59 | 59 | "psr-4": { |
| 60 | + "DataGovDk\\Model\\Core\\": "lib/DataGovDk/Model/Core/", |
| 61 | + "DataGovDk\\Model\\DataTypes\\": "lib/DataGovDk/Model/DataTypes/", |
| 62 | + "DigitalPost\\MeMo\\": "lib/DigitalPost/MeMo/", |
| 63 | + "Digitaliseringskataloget\\": "lib/digitaliseringskataloget", |
60 | 64 | "ItkDev\\Serviceplatformen\\": "src/", |
61 | 65 | "ItkDev\\Serviceplatformen\\SF1500\\": "generated-classes/ItkDev/Serviceplatformen/SF1500/", |
62 | 66 | "ItkDev\\Serviceplatformen\\SF1600\\": "generated-classes/ItkDev/Serviceplatformen/SF1600/", |
63 | | - "DigitalPost\\MeMo\\": "lib/DigitalPost/MeMo/", |
64 | | - "DataGovDk\\Model\\DataTypes\\": "lib/DataGovDk/Model/DataTypes/", |
65 | | - "DataGovDk\\Model\\Core\\": "lib/DataGovDk/Model/Core/", |
66 | | - "WwwGs1Dk\\Gs1Standarder\\Identifikation\\GlnGlobalLocationNumber\\": "lib/WwwGs1Dk/Gs1Standarder/Identifikation/GlnGlobalLocationNumber/", |
67 | | - "ServicesNsiDk\\En\\Services\\SOR\\": "lib/ServicesNsiDk/En/Services/SOR/", |
68 | | - "MotorregisterSkatDk\\": "lib/MotorregisterSkatDk/", |
69 | | - "KleOnlineDk\\": "lib/KleOnlineDk/", |
70 | | - "WwwFormOnlineDk\\": "lib/WwwFormOnlineDk/", |
| 67 | + "KleOnlineDk\\": "lib/KleOnlineDk/", |
| 68 | + "MotorregisterSkatDk\\": "lib/MotorregisterSkatDk/", |
| 69 | + "Oio\\": "lib/Oio/", |
| 70 | + "ServicesNsiDk\\En\\Services\\SOR\\": "lib/ServicesNsiDk/En/Services/SOR/", |
71 | 71 | "WwwDstDk\\Da\\TilSalg\\Forskningsservice\\Dokumentation\\Hoejkvalitetsvariable\\Elevregister2\\Udd\\": "lib/WwwDstDk/Da/TilSalg/Forskningsservice/Dokumentation/Hoejkvalitetsvariable/Elevregister2/Udd/", |
72 | | - "Digitaliseringskataloget\\": "lib/digitaliseringskataloget", |
73 | | - "Oio\\": "lib/Oio/" |
| 72 | + "WwwFormOnlineDk\\": "lib/WwwFormOnlineDk/", |
| 73 | + "WwwGs1Dk\\Gs1Standarder\\Identifikation\\GlnGlobalLocationNumber\\": "lib/WwwGs1Dk/Gs1Standarder/Identifikation/GlnGlobalLocationNumber/" |
74 | 74 | } |
75 | 75 | }, |
76 | 76 | "autoload-dev": { |
77 | 77 | "psr-4": { |
78 | 78 | "ItkDev\\Serviceplatformen\\Tests\\": "tests/" |
79 | 79 | } |
80 | 80 | }, |
81 | | - "minimum-stability": "dev", |
82 | | - "prefer-stable": true, |
| 81 | + "bin": [ |
| 82 | + "bin/serviceplatformen-sf1500-data-lookup", |
| 83 | + "bin/serviceplatformen-sf1601-kombipostafsend" |
| 84 | + ], |
| 85 | + "config": { |
| 86 | + "allow-plugins": { |
| 87 | + "ergebnis/composer-normalize": true |
| 88 | + }, |
| 89 | + "optimize-autoloader": true, |
| 90 | + "preferred-install": "dist", |
| 91 | + "sort-packages": true |
| 92 | + }, |
83 | 93 | "scripts": { |
84 | | - "tests/unit": [ |
85 | | - "phpunit --configuration phpunit.xml.dist --testsuite Unit" |
86 | | - ], |
87 | | - "tests/end-to-end": [ |
88 | | - "phpunit --configuration phpunit.xml.dist --testsuite EndToEnd" |
89 | | - ], |
90 | | - "tests": [ |
91 | | - "@tests/unit", |
92 | | - "@tests/end-to-end" |
| 94 | + "code-analysis": [ |
| 95 | + "@code-analysis/phan", |
| 96 | + "@code-analysis/phpstan" |
93 | 97 | ], |
94 | | - "coding-standards-check/php-cs-fixer": [ |
95 | | - "php-cs-fixer fix --dry-run" |
| 98 | + "code-analysis/phan": [ |
| 99 | + "phan --allow-polyfill-parser" |
96 | 100 | ], |
97 | | - "coding-standards-check/phpcs": [ |
98 | | - "phpcs --standard=phpcs.xml.dist" |
| 101 | + "code-analysis/phpstan": [ |
| 102 | + "phpstan analyse" |
99 | 103 | ], |
100 | | - "coding-standards-check": [ |
101 | | - "@coding-standards-check/php-cs-fixer", |
102 | | - "@coding-standards-check/phpcs" |
| 104 | + "coding-standards-apply": [ |
| 105 | + "@coding-standards-apply/php-cs-fixer", |
| 106 | + "@coding-standards-apply/phpcs" |
103 | 107 | ], |
104 | 108 | "coding-standards-apply/php-cs-fixer": [ |
105 | 109 | "php-cs-fixer fix" |
106 | 110 | ], |
107 | 111 | "coding-standards-apply/phpcs": [ |
108 | 112 | "phpcbf --standard=phpcs.xml.dist" |
109 | 113 | ], |
110 | | - "coding-standards-apply": [ |
111 | | - "@coding-standards-apply/php-cs-fixer", |
112 | | - "@coding-standards-apply/phpcs" |
| 114 | + "coding-standards-check": [ |
| 115 | + "@coding-standards-check/php-cs-fixer", |
| 116 | + "@coding-standards-check/phpcs" |
113 | 117 | ], |
114 | | - "code-analysis/phan": [ |
115 | | - "phan --allow-polyfill-parser" |
| 118 | + "coding-standards-check/php-cs-fixer": [ |
| 119 | + "php-cs-fixer fix --dry-run" |
116 | 120 | ], |
117 | | - "code-analysis/phpstan": [ |
118 | | - "phpstan analyse" |
| 121 | + "coding-standards-check/phpcs": [ |
| 122 | + "phpcs --standard=phpcs.xml.dist" |
119 | 123 | ], |
120 | | - "code-analysis": [ |
121 | | - "@code-analysis/phan", |
122 | | - "@code-analysis/phpstan" |
| 124 | + "tests": [ |
| 125 | + "@tests/unit", |
| 126 | + "@tests/end-to-end" |
| 127 | + ], |
| 128 | + "tests/end-to-end": [ |
| 129 | + "phpunit --configuration phpunit.xml.dist --testsuite EndToEnd" |
| 130 | + ], |
| 131 | + "tests/unit": [ |
| 132 | + "phpunit --configuration phpunit.xml.dist --testsuite Unit" |
123 | 133 | ] |
124 | | - }, |
125 | | - "repositories": { |
126 | | - "goetas-webservices/xsd2php": { |
127 | | - "type": "vcs", |
128 | | - "url": "https://github.com/rimi-itk/xsd2php" |
129 | | - } |
130 | 134 | } |
131 | 135 | } |
0 commit comments