diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index bca79de..aa1e05b 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -8,7 +8,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v2 with: fetch-depth: 2 diff --git a/composer.json b/composer.json index 9f253b3..52d294f 100644 --- a/composer.json +++ b/composer.json @@ -12,8 +12,8 @@ "psr-4": {"Utopia\\Tests\\Compression\\":"tests/Compression"} }, "scripts": { - "lint": "./vendor/bin/pint --test", - "format": "./vendor/bin/pint" + "lint": "./vendor/bin/pint --test --config pint.json", + "format": "./vendor/bin/pint --config pint.json" }, "require": { "php": ">=8.0" diff --git a/pint.json b/pint.json new file mode 100644 index 0000000..70add70 --- /dev/null +++ b/pint.json @@ -0,0 +1,6 @@ +{ + "preset": "psr12", + "exclude": [ + "tests/resources" + ] +} \ No newline at end of file