Skip to content

Commit 09d3157

Browse files
rtucekMarc Cámara
authored andcommitted
Tweak PHP Composer settings (#434)
* Remove version and prefer-stable deps Remove the version hint as suggested in https://getcomposer.org/doc/04-schema.md#version Any version or revision should be determined by a tag, branch or commit SHA. Prefer stable deps for development. * Apply some rules for TravisCI Remove --dev flag as it's no longer honored. Prefer dist over original sources for deps on Travis (performance).
1 parent 9f1db38 commit 09d3157

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ php:
1010

1111
before_script:
1212
- composer self-update
13-
- composer install --prefer-source --no-interaction --dev
13+
- composer install --prefer-dist --no-interaction
1414

1515
script: phpunit -d memory_limit=1024M
1616

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"keywords": ["localization", "laravel", "php"],
55
"homepage": "https://github.com/mcamara/laravel-localization",
66
"license": "MIT",
7-
"version": "1.2.3",
87
"authors": [
98
{
109
"name": "Marc Cámara",
@@ -27,5 +26,6 @@
2726
"Mcamara\\LaravelLocalization": "src/"
2827
}
2928
},
30-
"minimum-stability": "dev"
29+
"minimum-stability": "dev",
30+
"prefer-stable": true
3131
}

0 commit comments

Comments
 (0)