Skip to content

Commit 7161a4a

Browse files
authored
Merge pull request #3 from mops1k/v2.0.0
V2.0.0
2 parents 7ff6929 + f86a29e commit 7161a4a

File tree

63 files changed

+1509
-1094
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+1509
-1094
lines changed

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/tests export-ignore
2+
/ecs.php export-ignore
3+
/phpunit.xml.dist export-ignore
4+
/phpstan.neon export-ignore
5+
/phpstan-baseline.neon export-ignore
6+
/.gitignore export-ignore

.github/workflows/bundle-tests.yml renamed to .github/workflows/bundle-higher-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Symfony bundle testing
1+
name: Prefer higher dependencies
22

33
on:
44
push:
@@ -13,9 +13,9 @@ jobs:
1313
# To automatically get bug fixes and new Php versions for shivammathur/setup-php,
1414
# change this to (see https://github.com/shivammathur/setup-php#bookmark-versioning):
1515
# uses: shivammathur/setup-php@v2
16-
- uses: shivammathur/setup-php@2cb9b829437ee246e9b3cac53555a39208ca6d28
16+
- uses: shivammathur/setup-php@v2
1717
with:
18-
php-version: '8.0'
18+
php-version: '8.1'
1919
- uses: actions/checkout@v2
2020
- name: Cache Composer packages
2121
id: composer-cache
@@ -26,7 +26,7 @@ jobs:
2626
restore-keys: |
2727
${{ runner.os }}-php-
2828
- name: Install Dependencies
29-
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
29+
run: composer update --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
3030
- name: Execute phpstan checks
3131
run: vendor/bin/phpstan --memory-limit=-1 --no-progress
3232
- name: Execute ecs checks
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Prefer lower dependencies
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
bundle-tests:
11+
runs-on: ubuntu-latest
12+
steps:
13+
# To automatically get bug fixes and new Php versions for shivammathur/setup-php,
14+
# change this to (see https://github.com/shivammathur/setup-php#bookmark-versioning):
15+
# uses: shivammathur/setup-php@v2
16+
- uses: shivammathur/setup-php@v2
17+
with:
18+
php-version: '8.1'
19+
- uses: actions/checkout@v2
20+
- name: Cache Composer packages
21+
id: composer-cache
22+
uses: actions/cache@v2
23+
with:
24+
path: vendor
25+
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
26+
restore-keys: |
27+
${{ runner.os }}-php-
28+
- name: Install Dependencies
29+
run: composer update --no-ansi --no-interaction --no-scripts --no-progress --prefer-lowest
30+
- name: Execute phpstan checks
31+
run: vendor/bin/phpstan --memory-limit=-1 --no-progress
32+
- name: Execute ecs checks
33+
run: vendor/bin/ecs --no-error-table --no-progress-bar
34+
- name: Execute PHPUnit tests
35+
run: vendor/bin/phpunit

License

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 Kvintilyanov Aleksandr
3+
Copyright (c) 2023 Kvintilyanov Aleksandr
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)