Skip to content

Commit

Permalink
DevKit updates for 3.x branch (sonata-project#542)
Browse files Browse the repository at this point in the history
* DevKit updates

* DevKit updates
  • Loading branch information
SonataCI authored Mar 10, 2021
1 parent acd04f1 commit fdfe4c7
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
with:
php-version: 7.4
coverage: none
tools: composer:v2, pecl
extensions: mongodb
tools: composer:v2
extensions: mongodb-1.9.0, zip

- name: Install Composer dependencies (highest)
uses: "ramsey/composer-install@v1"
Expand All @@ -54,8 +54,8 @@ jobs:
with:
php-version: 7.4
coverage: none
tools: composer:v2, pecl
extensions: mongodb
tools: composer:v2
extensions: mongodb-1.9.0, zip

- name: Install Composer dependencies (highest)
uses: "ramsey/composer-install@v1"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ jobs:
with:
php-version: ${{ matrix.php-version }}
coverage: pcov
tools: composer:v2, pecl
extensions: mongodb-1.9.0
tools: composer:v2
extensions: mongodb-1.9.0, zip

- name: Add PHPUnit matcher
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
Expand Down
15 changes: 12 additions & 3 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,19 @@
#
# It's auto-generated by sonata-project/dev-kit package.

ignore: vendor/

extends: default

rules:
comments: disable
comments-indentation: disable
document-start: disable
line-length:
max: 120
level: warning
empty-lines:
max: 1
max-start: 0
max-end: 0
line-length: disable
truthy:
allowed-values: ['true', 'false']
check-keys: false
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ lint-composer:
.PHONY: lint-composer

lint-yaml:
yaml-lint --ignore-non-yaml-files --quiet --exclude vendor .
yamllint .

.PHONY: lint-yaml

Expand Down
3 changes: 2 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ It's auto-generated by sonata-project/dev-kit package.

<php>
<ini name="precision" value="8" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0" />
<!-- Use max[self]=0 when https://github.com/symfony/symfony/issues/40400 is fixed -->
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=99999" />
<env name="SYMFONY_PHPUNIT_VERSION" value="9.4" />
<server name="PANTHER_WEB_SERVER_DIR" value="./tests/App/public/" />
</php>
Expand Down

0 comments on commit fdfe4c7

Please sign in to comment.