diff --git a/.github/workflows /check.yml b/.github/workflows/check.yml similarity index 100% rename from .github/workflows /check.yml rename to .github/workflows/check.yml diff --git a/.github/workflows/first.yml b/.github/workflows/first.yml deleted file mode 100644 index 198cecf..0000000 --- a/.github/workflows/first.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Release - -on: - push: - branches: [ main ] - - -jobs: - verify_and_tag: - runs-on: ubuntu-latest - steps: - - name: First interaction - uses: actions/first-interaction@v1.3.0 - diff --git a/.github/workflows /release.yml b/.github/workflows/release.yml similarity index 100% rename from .github/workflows /release.yml rename to .github/workflows/release.yml diff --git a/VERSION b/VERSION index 8acdd82..bc3b3c9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.1 +0.0.1alpha1 diff --git a/composer.json b/composer.json index 5fc8096..c4f20ec 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,6 @@ "name": "fallegahq/json-test-utils", "description": "JSON testing utilities for PHPUnit 11+", "type": "library", - "version": "0.0.2", "require": { "php": "^8.2", "phpunit/phpunit": "^11" diff --git a/composer.lock b/composer.lock index 80c11ee..9d6fe89 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "9be90141285e7b55e77c2e832c925658", + "content-hash": "ce0f8c9bfc2ffd838ae20180a3c1e4ba", "packages": [ { "name": "myclabs/deep-copy", diff --git a/src/JsonValidationException.php b/src/JsonValidationException.php index a399a8f..33f9574 100644 --- a/src/JsonValidationException.php +++ b/src/JsonValidationException.php @@ -11,7 +11,7 @@ class JsonValidationException extends InvalidArgumentException { protected array $errors = []; - public function __construct(string $message = '', array $errors = [], int $code = 0, Throwable $previous = null) { + public function __construct(string $message = '', array $errors = [], int $code = 0, ?Throwable $previous = null) { $this->errors = $errors; parent::__construct($message, $code, $previous); }