-
-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathcomposer.json
39 lines (39 loc) · 1.4 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"name": "dereuromark/media-embed",
"description": "A PHP library to deal with all those media services around, parsing their URLs and embedding their audio/video content in websites.",
"keywords": ["media", "embed", "PHP", "iframe", "video", "audio"],
"license": "MIT",
"authors": [
{
"name": "Mark Scherer",
"role": "Author",
"homepage": "http://www.dereuromark.de"
}
],
"require": {
"php": ">=5.6",
"jbroadway/urlify": "^1.0.0"
},
"require-dev":{
"fig-r/psr2r-sniffer": "dev-master"
},
"autoload": {
"psr-4": {
"MediaEmbed\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"MediaEmbed\\Test\\": "tests/"
}
},
"scripts": {
"test": "php phpunit.phar",
"test-coverage": "php phpunit.phar --log-junit tmp/coverage/unitreport.xml --coverage-html tmp/coverage --coverage-clover tmp/coverage/coverage.xml",
"test-setup": "[ ! -f phpunit.phar ] && wget https://phar.phpunit.de/phpunit.phar || true",
"phpstan": "phpstan analyse -c tests/phpstan.neon -l 5 src/",
"phpstan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:\"^0.10\" && mv composer.backup composer.json",
"cs-check": "phpcs -v -p --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --extensions=php --ignore=tests/test_files/ src/ tests/",
"cs-fix": "phpcbf -v --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --extensions=php --ignore=tests/test_files/ src/ tests/"
}
}