Skip to content

Commit

Permalink
Enable error_reporting in php.ini and add problem matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
darthmaim committed Feb 7, 2024
1 parent 4794910 commit 854a120
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,14 @@ jobs:
with:
php-version: ${{ matrix.php }}
ini-values: |
phar.readonly=false
phar.readonly = false
error_reporting = E_ALL
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Setup problem matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Validate composer.json and composer.lock
run: composer validate --strict

Expand Down
2 changes: 0 additions & 2 deletions tests/BasicTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
use Psr\Http\Message\RequestInterface;
use PHPUnit\Framework\TestCase;

error_reporting(E_ALL);

abstract class BasicTestCase extends TestCase {
/** @var GW2Api $api */
protected $api;
Expand Down

0 comments on commit 854a120

Please sign in to comment.