|
36 | 36 | "role": "Developer" |
37 | 37 | }, |
38 | 38 | { |
39 | | - "name": "Alfonso Rodríguez", |
| 39 | + "name": "Alfonso Rodr\u00edguez", |
40 | 40 | |
41 | 41 | "role": "Developer" |
42 | 42 | }, |
|
72 | 72 | "symfony/http-client": "To use the SymfonyHttpClientTransport." |
73 | 73 | }, |
74 | 74 | "require-dev": { |
75 | | - "composer/composer": "^1.10.0", |
76 | | - "phpunit/phpunit": "^8", |
77 | | - "friendsofphp/php-cs-fixer": "2.*", |
78 | | - "squizlabs/php_codesniffer": "3.*", |
79 | | - "php-coveralls/php-coveralls": "^2.4.0", |
80 | | - "brainmaestro/composer-git-hooks": "^2.8", |
81 | | - "vimeo/psalm": "^4.5", |
82 | 75 | "psr/http-client": "^1.0", |
83 | 76 | "psr/http-factory": "^1.0", |
84 | 77 | "psr/http-message": "^1.0", |
85 | 78 | "symfony/dotenv": "^3.4|^4.0|^5.0", |
86 | 79 | "symfony/http-client-contracts": "^1.1|^2.0", |
87 | 80 | "symfony/http-client": "^4.4|^5.0", |
88 | 81 | "symfony/process": "^3.4|^4.0|^5.0", |
89 | | - "nyholm/psr7": "^1.4", |
90 | | - "fakerphp/faker": "^1.14" |
| 82 | + "nyholm/psr7": "^1.4" |
91 | 83 | }, |
92 | 84 | "autoload": { |
93 | 85 | "psr-4": { |
94 | | - "BigBlueButton\\": ["src", "tests/integration"] |
| 86 | + "BigBlueButton\\": [ |
| 87 | + "src", |
| 88 | + "tests/integration" |
| 89 | + ] |
95 | 90 | } |
96 | 91 | }, |
97 | 92 | "autoload-dev": { |
98 | 93 | "psr-4": { |
99 | | - "BigBlueButton\\Tests\\Functional\\": ["tests/functional"] |
| 94 | + "BigBlueButton\\Tests\\Functional\\": [ |
| 95 | + "tests/functional" |
| 96 | + ] |
100 | 97 | } |
101 | 98 | }, |
102 | 99 | "scripts": { |
103 | | - "test": "vendor/bin/phpunit --testsuite=\"BigBlueButton unit test suite\"", |
104 | | - "test-integration": "vendor/bin/phpunit --testsuite=\"BigBlueButton integration test suite\"", |
105 | | - "test-functional": "vendor/bin/phpunit --testsuite=\"BigBlueButton functional test suite\" --exclude-group=functional-legacy", |
106 | | - "cs-fix": "vendor/bin/php-cs-fixer fix --allow-risky=yes", |
107 | | - "cs-test": "vendor/bin/php-cs-fixer fix --dry-run --allow-risky=yes", |
| 100 | + "test": "tools/phpunit --testsuite=\"BigBlueButton unit test suite\"", |
| 101 | + "test-integration": "tools/phpunit --testsuite=\"BigBlueButton integration test suite\"", |
| 102 | + "test-functional": "tools/phpunit --testsuite=\"BigBlueButton functional test suite\" --exclude-group=functional-legacy", |
| 103 | + "cs-fix": "tools/php-cs-fixer fix --allow-risky=yes", |
| 104 | + "cs-test": "tools/php-cs-fixer fix --dry-run --allow-risky=yes", |
108 | 105 | "psalm": "psalm --threads=1", |
109 | 106 | "psalm-clear": "psalm --clear-cache && psalm --clear-global-cache", |
110 | 107 | "psalm-fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType", |
111 | | - "post-install-cmd": "vendor/bin/cghooks add --ignore-lock", |
112 | | - "post-update-cmd": "vendor/bin/cghooks update" |
| 108 | + "post-install-cmd": "tools/composer-git-hooks add --ignore-lock", |
| 109 | + "post-update-cmd": "tools/composer-git-hooks update" |
113 | 110 | }, |
114 | 111 | "extra": { |
115 | 112 | "hooks": { |
116 | 113 | "pre-commit": [ |
117 | | - "vendor/bin/php-cs-fixer fix --dry-run --allow-risky=yes" |
| 114 | + "tools/php-cs-fixer fix --dry-run --allow-risky=yes" |
118 | 115 | ], |
119 | 116 | "pre-push": [ |
120 | | - "vendor/bin/phpunit --testsuite=\"BigBlueButton unit test suite,BigBlueButton integration test suite\"", |
121 | | - "vendor/bin/psalm --threads=1" |
| 117 | + "tools/phpunit --testsuite=\"BigBlueButton unit test suite,BigBlueButton integration test suite\"", |
| 118 | + "tools/psalm --threads=1" |
122 | 119 | ], |
123 | 120 | "post-merge": "composer install", |
124 | 121 | "post-checkout": "composer install" |
| 122 | + }, |
| 123 | + "cotor": { |
| 124 | + "brainmaestro/composer-git-hooks": "^2.8", |
| 125 | + "extensions": { |
| 126 | + "phpunit/phpunit": { |
| 127 | + "fakerphp/faker": "^1.14" |
| 128 | + } |
| 129 | + }, |
| 130 | + "friendsofphp/php-cs-fixer": "^3.7", |
| 131 | + "php-coveralls/php-coveralls": "^2.4", |
| 132 | + "phpunit/phpunit": "^8", |
| 133 | + "vimeo/psalm": "^4.22" |
125 | 134 | } |
126 | 135 | } |
127 | 136 | } |
0 commit comments