Skip to content
Snippets Groups Projects
composer.json 2.17 KiB
Newer Older
  • Learn to ignore specific revisions
  • {
    	"repositories": [
    		{
    			"type": "pear",
    
    Jakob Sack's avatar
    Jakob Sack committed
    		},
    		{
    			"type": "vcs",
    			"url": "https://github.com/kwi-dk/UrlLinker",
    			"branch": "bleeding"
    
    	"config": {
    		"platform": {
    
    		"php": ">=7.2",
    
    	},
    	"require-dev": {
    
    	"scripts": {
    
    		"cs:check": "php-cs-fixer fix --dry-run --diff",
    
    Christoph Wurst's avatar
    Christoph Wurst committed
    		"cs:fix": "php-cs-fixer fix",
    
    		"lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;",
    
    		"phan": "phan --allow-polyfill-parser -k .phan/config.php",
    
    		"test:integration": "phpunit -c tests/phpunit.integration.xml tests/Integration --fail-on-warning",
    
    		"test:integration:dev": "phpunit -c tests/phpunit.integration.xml tests/Integration --no-coverage --fail-on-warning --stop-on-error --stop-on-failure",
    
    		"test:unit": "phpunit -c tests/phpunit.unit.xml tests/Unit --fail-on-warning",
    
    		"test:unit:dev": "phpunit -c tests/phpunit.unit.xml tests/Unit --no-coverage --fail-on-warning --stop-on-error --stop-on-failure"