Skip to content

Commit 8d0555c

Browse files
committed
composer prefer lowest
1 parent 1171828 commit 8d0555c

File tree

3 files changed

+9
-29
lines changed

3 files changed

+9
-29
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: phive install --trust-gpg-keys E82B2FB314E9906E,4AA394086372C20A
2626

2727
- name: Install dependencies
28-
run: composer install --no-interaction
28+
run: composer update --no-interaction --prefer-lowest
2929

3030
- name: Chesk code style
3131
run: tools/php-cs-fixer fix --dry-run --no-interaction
@@ -54,10 +54,10 @@ jobs:
5454
run: phive install --trust-gpg-keys E82B2FB314E9906E,4AA394086372C20A
5555

5656
- name: Install dependencies
57-
run: composer update --no-interaction --with simple-as-fuck/php-validator:^0.6.0 --with illuminate/support:^10.0
57+
run: composer update --no-interaction --prefer-lowest --with simple-as-fuck/php-validator:^0.6.0 --with illuminate/support:^10.0
5858

5959
- name: Run static analysis
60-
run: vendor/bin/phpstan analyse --memory-limit=-1 --configuration=phpstan-laravel-10.neon.dist
60+
run: vendor/bin/phpstan analyse --memory-limit=-1
6161

6262
- name: Run tests
6363
run: tools/phpunit test/ --bootstrap vendor/autoload.php
@@ -80,7 +80,7 @@ jobs:
8080
run: phive install --trust-gpg-keys E82B2FB314E9906E,4AA394086372C20A
8181

8282
- name: Install dependencies
83-
run: composer install --no-interaction
83+
run: composer update --no-interaction --prefer-lowest
8484

8585
- name: Run static analysis
8686
run: vendor/bin/phpstan analyse --memory-limit=-1
@@ -106,10 +106,10 @@ jobs:
106106
run: phive install --trust-gpg-keys E82B2FB314E9906E,4AA394086372C20A
107107

108108
- name: Install dependencies
109-
run: composer update --no-interaction --with illuminate/support:^9.0 --with psr/log:^2.0 --with symfony/http-foundation:^6.0 --with symfony/http-kernel:^6.0 --with symfony/psr-http-message-bridge:^6.0 --with simple-as-fuck/php-validator:^0.5.2
109+
run: composer update --no-interaction --prefer-lowest --with illuminate/support:^9.0 --with psr/log:^2.0 --with symfony/http-foundation:^6.0 --with symfony/http-kernel:^6.0 --with symfony/psr-http-message-bridge:^6.0 --with simple-as-fuck/php-validator:^0.5.2
110110

111111
- name: Run static analysis
112-
run: vendor/bin/phpstan analyse --memory-limit=-1 --configuration=phpstan-validator-0.5.neon.dist
112+
run: vendor/bin/phpstan analyse --memory-limit=-1
113113

114114
- name: Run tests
115115
run: tools/phpunit test/ --bootstrap vendor/autoload.php
@@ -129,10 +129,10 @@ jobs:
129129
uses: actions/checkout@v3
130130

131131
- name: Install dependencies
132-
run: composer install --no-interaction
132+
run: composer update --no-interaction --prefer-lowest
133133

134134
- name: Run static analysis
135-
run: vendor/bin/phpstan analyse --memory-limit=-1 --configuration=phpstan-laravel-10.neon.dist
135+
run: vendor/bin/phpstan analyse --memory-limit=-1
136136

137137
- name: Run tests
138138
run: vendor/bin/phpunit test/
@@ -152,7 +152,7 @@ jobs:
152152
uses: actions/checkout@v3
153153

154154
- name: Install dependencies
155-
run: composer update --no-interaction --with illuminate/support:^8.81 --with symfony/http-kernel:^5.4 --with symfony/http-foundation:^5.4 --with symfony/psr-http-message-bridge:^2.1
155+
run: composer update --no-interaction --prefer-lowest --with illuminate/support:^8.81 --with symfony/http-kernel:^5.4 --with symfony/http-foundation:^5.4 --with symfony/psr-http-message-bridge:^2.1
156156

157157
- name: Run static analysis
158158
run: vendor/bin/phpstan analyse --memory-limit=-1

phpstan-laravel-10.neon.dist

Lines changed: 0 additions & 7 deletions
This file was deleted.

phpstan-validator-0.5.neon.dist

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)