Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

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

* DevKit updates

* DevKit updates
  • Loading branch information
SonataCI authored Mar 10, 2021
1 parent a4c8f12 commit 53108af
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
php-version: ${{ matrix.php-version }}
coverage: pcov
tools: composer:v2
extensions: 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 @@ -28,7 +28,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" />
</php>

Expand Down

0 comments on commit 53108af

Please sign in to comment.