diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 4df9804..f398d90 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -48,7 +48,7 @@ jobs:
version: 2.x
- name: Directory Permissions
- run: sudo chown -R $(whoami) skeleton vendor/pestphp/pest/.temp
+ run: sudo chown -R $(whoami) ./vendor/pestphp/pest/.temp ./vendor/orchestra/testbench-core/laravel/bootstrap/cache
- name: Execute tests - coverage threshold 90%
run: ./vendor/bin/pest --bail --retry --coverage --min=90 --coverage-clover clover.xml
diff --git a/.gitignore b/.gitignore
index fbec92b..f613b17 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
-DS_Store
+.DS_Store
/vendor
/skeleton
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..c5482ca
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,4 @@
+[submodule "core"]
+ path = core
+ url = https://github.com/media-code/workspace-core
+ branch = main
diff --git a/LICENSE.md b/LICENSE.md
index 1fa32c1..0e78c26 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -1,163 +1,21 @@
-GNU Lesser General Public License
-=================================
-
-_Version 3, 29 June 2007_
-_Copyright © 2007 Free Software Foundation, Inc. <>_
-
-Everyone is permitted to copy and distribute verbatim copies
-of this license document, but changing it is not allowed.
-
-
-This version of the GNU Lesser General Public License incorporates
-the terms and conditions of version 3 of the GNU General Public
-License, supplemented by the additional permissions listed below.
-
-### 0. Additional Definitions
-
-As used herein, “this License” refers to version 3 of the GNU Lesser
-General Public License, and the “GNU GPL” refers to version 3 of the GNU
-General Public License.
-
-“The Library” refers to a covered work governed by this License,
-other than an Application or a Combined Work as defined below.
-
-An “Application” is any work that makes use of an interface provided
-by the Library, but which is not otherwise based on the Library.
-Defining a subclass of a class defined by the Library is deemed a mode
-of using an interface provided by the Library.
-
-A “Combined Work” is a work produced by combining or linking an
-Application with the Library. The particular version of the Library
-with which the Combined Work was made is also called the “Linked
-Version”.
-
-The “Minimal Corresponding Source” for a Combined Work means the
-Corresponding Source for the Combined Work, excluding any source code
-for portions of the Combined Work that, considered in isolation, are
-based on the Application, and not on the Linked Version.
-
-The “Corresponding Application Code” for a Combined Work means the
-object code and/or source code for the Application, including any data
-and utility programs needed for reproducing the Combined Work from the
-Application, but excluding the System Libraries of the Combined Work.
-
-### 1. Exception to Section 3 of the GNU GPL
-
-You may convey a covered work under sections 3 and 4 of this License
-without being bound by section 3 of the GNU GPL.
-
-### 2. Conveying Modified Versions
-
-If you modify a copy of the Library, and, in your modifications, a
-facility refers to a function or data to be supplied by an Application
-that uses the facility (other than as an argument passed when the
-facility is invoked), then you may convey a copy of the modified
-version:
-
-* **a)** under this License, provided that you make a good faith effort to
-ensure that, in the event an Application does not supply the
-function or data, the facility still operates, and performs
-whatever part of its purpose remains meaningful, or
-
-* **b)** under the GNU GPL, with none of the additional permissions of
-this License applicable to that copy.
-
-### 3. Object Code Incorporating Material from Library Header Files
-
-The object code form of an Application may incorporate material from
-a header file that is part of the Library. You may convey such object
-code under terms of your choice, provided that, if the incorporated
-material is not limited to numerical parameters, data structure
-layouts and accessors, or small macros, inline functions and templates
-(ten or fewer lines in length), you do both of the following:
-
-* **a)** Give prominent notice with each copy of the object code that the
-Library is used in it and that the Library and its use are
-covered by this License.
-* **b)** Accompany the object code with a copy of the GNU GPL and this license
-document.
-
-### 4. Combined Works
-
-You may convey a Combined Work under terms of your choice that,
-taken together, effectively do not restrict modification of the
-portions of the Library contained in the Combined Work and reverse
-engineering for debugging such modifications, if you also do each of
-the following:
-
-* **a)** Give prominent notice with each copy of the Combined Work that
-the Library is used in it and that the Library and its use are
-covered by this License.
-
-* **b)** Accompany the Combined Work with a copy of the GNU GPL and this license
-document.
-
-* **c)** For a Combined Work that displays copyright notices during
-execution, include the copyright notice for the Library among
-these notices, as well as a reference directing the user to the
-copies of the GNU GPL and this license document.
-
-* **d)** Do one of the following:
- - **0)** Convey the Minimal Corresponding Source under the terms of this
-License, and the Corresponding Application Code in a form
-suitable for, and under terms that permit, the user to
-recombine or relink the Application with a modified version of
-the Linked Version to produce a modified Combined Work, in the
-manner specified by section 6 of the GNU GPL for conveying
-Corresponding Source.
- - **1)** Use a suitable shared library mechanism for linking with the
-Library. A suitable mechanism is one that **(a)** uses at run time
-a copy of the Library already present on the user's computer
-system, and **(b)** will operate properly with a modified version
-of the Library that is interface-compatible with the Linked
-Version.
-
-* **e)** Provide Installation Information, but only if you would otherwise
-be required to provide such information under section 6 of the
-GNU GPL, and only to the extent that such information is
-necessary to install and execute a modified version of the
-Combined Work produced by recombining or relinking the
-Application with a modified version of the Linked Version. (If
-you use option **4d0**, the Installation Information must accompany
-the Minimal Corresponding Source and Corresponding Application
-Code. If you use option **4d1**, you must provide the Installation
-Information in the manner specified by section 6 of the GNU GPL
-for conveying Corresponding Source.)
-
-### 5. Combined Libraries
-
-You may place library facilities that are a work based on the
-Library side by side in a single library together with other library
-facilities that are not Applications and are not covered by this
-License, and convey such a combined library under terms of your
-choice, if you do both of the following:
-
-* **a)** Accompany the combined library with a copy of the same work based
-on the Library, uncombined with any other library facilities,
-conveyed under the terms of this License.
-* **b)** Give prominent notice with the combined library that part of it
-is a work based on the Library, and explaining where to find the
-accompanying uncombined form of the same work.
-
-### 6. Revised Versions of the GNU Lesser General Public License
-
-The Free Software Foundation may publish revised and/or new versions
-of the GNU Lesser General Public License from time to time. Such new
-versions will be similar in spirit to the present version, but may
-differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number. If the
-Library as you received it specifies that a certain numbered version
-of the GNU Lesser General Public License “or any later version”
-applies to it, you have the option of following the terms and
-conditions either of that published version or of any later version
-published by the Free Software Foundation. If the Library as you
-received it does not specify a version number of the GNU Lesser
-General Public License, you may choose any version of the GNU Lesser
-General Public License ever published by the Free Software Foundation.
-
-If the Library as you received it specifies that a proxy can decide
-whether future versions of the GNU Lesser General Public License shall
-apply, that proxy's public statement of acceptance of any version is
-permanent authorization for you to choose that version for the
-Library.
+The MIT License (MIT)
+
+Copyright (c) 2023 Gedachtegoed
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
+OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
diff --git a/README.md b/README.md
index 794bd99..05ab2dc 100644
--- a/README.md
+++ b/README.md
@@ -5,6 +5,7 @@ Extendible workspace configurator for Laravel to effortlessly keep linters, fixe
[![codestyle](https://github.com/media-code/workspace/actions/workflows/codestyle.yml/badge.svg)](https://github.com/media-code/workspace/actions/workflows/codestyle.yml)
[![tests](https://github.com/media-code/workspace/actions/workflows/tests.yml/badge.svg)](https://github.com/media-code/workspace/actions/workflows/tests.yml)
[![coverage](https://img.shields.io/codecov/c/github/media-code/workspace?token=ON4MTY8C1B&color=45%2C190%2C65)](https://codecov.io/gh/media-code/workspace)
+[![coverage](https://img.shields.io/codecov/c/github/media-code/workspace-core?label=core%20coverage&token=ON4MTY8C1B&color=45%2C190%2C65)](https://codecov.io/gh/media-code/workspace-core)
diff --git a/composer.json b/composer.json
index 0fe3597..1900d66 100644
--- a/composer.json
+++ b/composer.json
@@ -36,9 +36,19 @@
"test": "vendor/bin/testbench package:test --bail --retry"
},
+"repositories": [
+ {
+ "type": "vcs",
+ "url": "https://github.com/media-code/workspace-core",
+ "options": {
+ "symlink": false
+ }
+ }
+ ],
"require": {
"php": "^8.1.0",
- "illuminate/support": "^10.23"
+ "illuminate/support": "^10.23",
+ "gedachtegoed/workspace-core": "^0.0.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.30",
@@ -76,6 +86,10 @@
{
"name": "timacdonald/callable-fake",
"url": "https://github.com/timacdonald/callable-fake"
+ },
+ {
+ "name": "gedachtegoed/workspace-core",
+ "url": "https://github.com/media-code/workspace-core"
}
]
}
diff --git a/composer.lock b/composer.lock
index 7c39ac8..1679f84 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": "3ca370d928acaf399eecee067af4a40a",
+ "content-hash": "00cbdc4751bcf4019cfb1df03816d139",
"packages": [
{
"name": "brick/math",
@@ -367,16 +367,16 @@
},
{
"name": "egulias/email-validator",
- "version": "4.0.1",
+ "version": "4.0.2",
"source": {
"type": "git",
"url": "https://github.com/egulias/EmailValidator.git",
- "reference": "3a85486b709bc384dae8eb78fb2eec649bdb64ff"
+ "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/3a85486b709bc384dae8eb78fb2eec649bdb64ff",
- "reference": "3a85486b709bc384dae8eb78fb2eec649bdb64ff",
+ "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ebaaf5be6c0286928352e054f2d5125608e5405e",
+ "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e",
"shasum": ""
},
"require": {
@@ -385,8 +385,8 @@
"symfony/polyfill-intl-idn": "^1.26"
},
"require-dev": {
- "phpunit/phpunit": "^9.5.27",
- "vimeo/psalm": "^4.30"
+ "phpunit/phpunit": "^10.2",
+ "vimeo/psalm": "^5.12"
},
"suggest": {
"ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation"
@@ -422,7 +422,7 @@
],
"support": {
"issues": "https://github.com/egulias/EmailValidator/issues",
- "source": "https://github.com/egulias/EmailValidator/tree/4.0.1"
+ "source": "https://github.com/egulias/EmailValidator/tree/4.0.2"
},
"funding": [
{
@@ -430,7 +430,7 @@
"type": "github"
}
],
- "time": "2023-01-14T14:17:03+00:00"
+ "time": "2023-10-06T06:47:41+00:00"
},
{
"name": "fruitcake/php-cors",
@@ -503,6 +503,104 @@
],
"time": "2022-02-20T15:07:15+00:00"
},
+ {
+ "name": "gedachtegoed/workspace-core",
+ "version": "v0.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/media-code/workspace-core.git",
+ "reference": "b6c37027f3cb60721965cc9a9972e35635f60188"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/media-code/workspace-core/zipball/b6c37027f3cb60721965cc9a9972e35635f60188",
+ "reference": "b6c37027f3cb60721965cc9a9972e35635f60188",
+ "shasum": ""
+ },
+ "require": {
+ "illuminate/support": "^10.23",
+ "php": "^8.1.0"
+ },
+ "require-dev": {
+ "friendsofphp/php-cs-fixer": "^3.30",
+ "laravel/pint": "^1.13",
+ "nunomaduro/larastan": "^2.0",
+ "orchestra/testbench": "^8.12",
+ "pestphp/pest": "^2.20",
+ "squizlabs/php_codesniffer": "^3.7",
+ "symfony/thanks": "^1.2",
+ "tightenco/duster": "^2.4",
+ "tightenco/tlint": "^9.1",
+ "timacdonald/callable-fake": "^1.6"
+ },
+ "type": "library",
+ "extra": {
+ "laravel": {
+ "providers": [
+ "Gedachtegoed\\Workspace\\Core\\ServiceProvider"
+ ]
+ },
+ "thanks": [
+ {
+ "name": "tightenco/duster",
+ "url": "https://github.com/tighten/duster"
+ },
+ {
+ "name": "laravel/prompts",
+ "url": "https://github.com/laravel/prompts"
+ },
+ {
+ "name": "timacdonald/callable-fake",
+ "url": "https://github.com/timacdonald/callable-fake"
+ }
+ ]
+ },
+ "autoload": {
+ "psr-4": {
+ "Gedachtegoed\\Workspace\\Core\\": "src/",
+ "Gedachtegoed\\Workspace\\Core\\Tests\\": "tests/"
+ }
+ },
+ "scripts": {
+ "lint": [
+ "vendor/bin/duster lint"
+ ],
+ "fix": [
+ "vendor/bin/duster fix"
+ ],
+ "analyze": [
+ "vendor/bin/phpstan analyse"
+ ],
+ "baseline": [
+ "vendor/bin/phpstan analyse --generate-baseline"
+ ],
+ "test": [
+ "vendor/bin/testbench package:test --bail --retry"
+ ]
+ },
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Willem Leuverink",
+ "email": "willem@leuver.ink",
+ "homepage": "https://leuver.ink"
+ }
+ ],
+ "description": "Core for building your own Portable Workspace",
+ "support": {
+ "source": "https://github.com/media-code/workspace-core/tree/v0.0.1",
+ "issues": "https://github.com/media-code/workspace-core/issues"
+ },
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/gwleuverink"
+ }
+ ],
+ "time": "2023-10-09T20:38:21+00:00"
+ },
{
"name": "graham-campbell/result-type",
"version": "v1.1.1",
@@ -647,16 +745,16 @@
},
{
"name": "laravel/framework",
- "version": "v10.26.2",
+ "version": "v10.27.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
- "reference": "6e5440f7c518f26b4495e5d7e4796ec239e26df9"
+ "reference": "616f81bd6dd8aa2e26a9fc21d9c95e98bd30803b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/framework/zipball/6e5440f7c518f26b4495e5d7e4796ec239e26df9",
- "reference": "6e5440f7c518f26b4495e5d7e4796ec239e26df9",
+ "url": "https://api.github.com/repos/laravel/framework/zipball/616f81bd6dd8aa2e26a9fc21d9c95e98bd30803b",
+ "reference": "616f81bd6dd8aa2e26a9fc21d9c95e98bd30803b",
"shasum": ""
},
"require": {
@@ -843,7 +941,7 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2023-10-03T14:24:20+00:00"
+ "time": "2023-10-09T15:15:28+00:00"
},
{
"name": "laravel/prompts",
@@ -1152,16 +1250,16 @@
},
{
"name": "league/flysystem",
- "version": "3.16.0",
+ "version": "3.17.0",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
- "reference": "4fdf372ca6b63c6e281b1c01a624349ccb757729"
+ "reference": "bd4c9b26849d82364119c68429541f1631fba94b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/4fdf372ca6b63c6e281b1c01a624349ccb757729",
- "reference": "4fdf372ca6b63c6e281b1c01a624349ccb757729",
+ "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/bd4c9b26849d82364119c68429541f1631fba94b",
+ "reference": "bd4c9b26849d82364119c68429541f1631fba94b",
"shasum": ""
},
"require": {
@@ -1179,8 +1277,8 @@
"symfony/http-client": "<5.2"
},
"require-dev": {
- "async-aws/s3": "^1.5",
- "async-aws/simple-s3": "^1.1",
+ "async-aws/s3": "^1.5 || ^2.0",
+ "async-aws/simple-s3": "^1.1 || ^2.0",
"aws/aws-sdk-php": "^3.220.0",
"composer/semver": "^3.0",
"ext-fileinfo": "*",
@@ -1226,7 +1324,7 @@
],
"support": {
"issues": "https://github.com/thephpleague/flysystem/issues",
- "source": "https://github.com/thephpleague/flysystem/tree/3.16.0"
+ "source": "https://github.com/thephpleague/flysystem/tree/3.17.0"
},
"funding": [
{
@@ -1238,7 +1336,7 @@
"type": "github"
}
],
- "time": "2023-09-07T19:22:17+00:00"
+ "time": "2023-10-05T20:15:05+00:00"
},
{
"name": "league/flysystem-local",
@@ -1565,16 +1663,16 @@
},
{
"name": "nette/schema",
- "version": "v1.2.4",
+ "version": "v1.2.5",
"source": {
"type": "git",
"url": "https://github.com/nette/schema.git",
- "reference": "c9ff517a53903b3d4e29ec547fb20feecb05b8ab"
+ "reference": "0462f0166e823aad657c9224d0f849ecac1ba10a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/schema/zipball/c9ff517a53903b3d4e29ec547fb20feecb05b8ab",
- "reference": "c9ff517a53903b3d4e29ec547fb20feecb05b8ab",
+ "url": "https://api.github.com/repos/nette/schema/zipball/0462f0166e823aad657c9224d0f849ecac1ba10a",
+ "reference": "0462f0166e823aad657c9224d0f849ecac1ba10a",
"shasum": ""
},
"require": {
@@ -1621,9 +1719,9 @@
],
"support": {
"issues": "https://github.com/nette/schema/issues",
- "source": "https://github.com/nette/schema/tree/v1.2.4"
+ "source": "https://github.com/nette/schema/tree/v1.2.5"
},
- "time": "2023-08-05T18:56:25+00:00"
+ "time": "2023-10-05T20:37:59+00:00"
},
{
"name": "nette/utils",
@@ -4829,16 +4927,16 @@
"packages-dev": [
{
"name": "brianium/paratest",
- "version": "v7.2.8",
+ "version": "v7.2.9",
"source": {
"type": "git",
"url": "https://github.com/paratestphp/paratest.git",
- "reference": "882b02d197328138686bb06ce7d8cbb98fc0a16c"
+ "reference": "1f9e41c0779be4540654d92a9314016713f5e62c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/paratestphp/paratest/zipball/882b02d197328138686bb06ce7d8cbb98fc0a16c",
- "reference": "882b02d197328138686bb06ce7d8cbb98fc0a16c",
+ "url": "https://api.github.com/repos/paratestphp/paratest/zipball/1f9e41c0779be4540654d92a9314016713f5e62c",
+ "reference": "1f9e41c0779be4540654d92a9314016713f5e62c",
"shasum": ""
},
"require": {
@@ -4846,13 +4944,13 @@
"ext-pcre": "*",
"ext-reflection": "*",
"ext-simplexml": "*",
- "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1",
+ "fidry/cpu-core-counter": "^0.5.1",
"jean85/pretty-package-versions": "^2.0.5",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
- "phpunit/php-code-coverage": "^10.1.3",
- "phpunit/php-file-iterator": "^4.0.2",
+ "phpunit/php-code-coverage": "^10.1.7",
+ "phpunit/php-file-iterator": "^4.1.0",
"phpunit/php-timer": "^6.0",
- "phpunit/phpunit": "^10.3.2",
+ "phpunit/phpunit": "^10.4.0",
"sebastian/environment": "^6.0.1",
"symfony/console": "^6.3.4",
"symfony/process": "^6.3.4"
@@ -4861,8 +4959,8 @@
"doctrine/coding-standard": "^12.0.0",
"ext-pcov": "*",
"ext-posix": "*",
- "infection/infection": "^0.27.0",
- "phpstan/phpstan": "^1.10.32",
+ "infection/infection": "^0.27.3",
+ "phpstan/phpstan": "^1.10.37",
"phpstan/phpstan-deprecation-rules": "^1.1.4",
"phpstan/phpstan-phpunit": "^1.3.14",
"phpstan/phpstan-strict-rules": "^1.5.1",
@@ -4908,7 +5006,7 @@
],
"support": {
"issues": "https://github.com/paratestphp/paratest/issues",
- "source": "https://github.com/paratestphp/paratest/tree/v7.2.8"
+ "source": "https://github.com/paratestphp/paratest/tree/v7.2.9"
},
"funding": [
{
@@ -4920,7 +5018,7 @@
"type": "paypal"
}
],
- "time": "2023-10-04T13:38:04+00:00"
+ "time": "2023-10-06T07:53:04+00:00"
},
{
"name": "composer/pcre",
@@ -6380,25 +6478,25 @@
},
{
"name": "orchestra/testbench",
- "version": "v8.12.2",
+ "version": "v8.13.0",
"source": {
"type": "git",
"url": "https://github.com/orchestral/testbench.git",
- "reference": "1f1bba4effb8199b712cc07fe0073d4f5727c119"
+ "reference": "b793195fa30517a89fd20b36b5d668324c5bbdbb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/orchestral/testbench/zipball/1f1bba4effb8199b712cc07fe0073d4f5727c119",
- "reference": "1f1bba4effb8199b712cc07fe0073d4f5727c119",
+ "url": "https://api.github.com/repos/orchestral/testbench/zipball/b793195fa30517a89fd20b36b5d668324c5bbdbb",
+ "reference": "b793195fa30517a89fd20b36b5d668324c5bbdbb",
"shasum": ""
},
"require": {
"composer-runtime-api": "^2.2",
"fakerphp/faker": "^1.21",
- "laravel/framework": ">=10.23.1 <10.27.0",
+ "laravel/framework": "^10.23.1",
"mockery/mockery": "^1.5.1",
- "orchestra/testbench-core": ">=8.12.0 <8.13.0",
- "orchestra/workbench": "^0.4.0",
+ "orchestra/testbench-core": ">=8.13.0 <8.14.0",
+ "orchestra/workbench": "^0.4.0 || ^0.5.0",
"php": "^8.1",
"phpunit/phpunit": "^9.6 || ^10.1",
"spatie/laravel-ray": "^1.32.4",
@@ -6430,28 +6528,34 @@
],
"support": {
"issues": "https://github.com/orchestral/testbench/issues",
- "source": "https://github.com/orchestral/testbench/tree/v8.12.2"
+ "source": "https://github.com/orchestral/testbench/tree/v8.13.0"
},
- "time": "2023-10-03T04:16:40+00:00"
+ "time": "2023-10-09T12:14:00+00:00"
},
{
"name": "orchestra/testbench-core",
- "version": "v8.12.1",
+ "version": "v8.13.0",
"source": {
"type": "git",
"url": "https://github.com/orchestral/testbench-core.git",
- "reference": "9a7b63f9cd10dd15cf7c9d4aad2ccaa688465a1f"
+ "reference": "b03aa317d3c660dd63e4096580d7f713bc2cab15"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/9a7b63f9cd10dd15cf7c9d4aad2ccaa688465a1f",
- "reference": "9a7b63f9cd10dd15cf7c9d4aad2ccaa688465a1f",
+ "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/b03aa317d3c660dd63e4096580d7f713bc2cab15",
+ "reference": "b03aa317d3c660dd63e4096580d7f713bc2cab15",
"shasum": ""
},
"require": {
"composer-runtime-api": "^2.2",
"php": "^8.1"
},
+ "conflict": {
+ "brianium/paratest": "<6.4.0 || >=7.0.0 <7.1.4 || >=8.0.0",
+ "laravel/framework": "<10.23.1 || >=11.0.0",
+ "nunomaduro/collision": "<6.4.0 || >=7.0.0 <7.4.0 || >=8.0.0",
+ "phpunit/phpunit": "<9.6.0 || >=10.5.0"
+ },
"require-dev": {
"fakerphp/faker": "^1.21",
"laravel/framework": "^10.23",
@@ -6465,7 +6569,7 @@
"vlucas/phpdotenv": "^5.4.1"
},
"suggest": {
- "brianium/paratest": "Allow using parallel tresting (^6.4 || ^7.1.4).",
+ "brianium/paratest": "Allow using parallel testing (^6.4 || ^7.1.4).",
"fakerphp/faker": "Allow using Faker for testing (^1.21).",
"laravel/framework": "Required for testing (^10.23).",
"mockery/mockery": "Allow using Mockery for testing (^1.5.1).",
@@ -6513,20 +6617,20 @@
"issues": "https://github.com/orchestral/testbench/issues",
"source": "https://github.com/orchestral/testbench-core"
},
- "time": "2023-09-26T12:50:24+00:00"
+ "time": "2023-10-09T11:41:27+00:00"
},
{
"name": "orchestra/workbench",
- "version": "v0.4.1",
+ "version": "v0.5.0",
"source": {
"type": "git",
"url": "https://github.com/orchestral/workbench.git",
- "reference": "21acf1015ac48e36cb468bffd161115689958782"
+ "reference": "01175d82fd80a6589ffaa9a861100a64c500b259"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/orchestral/workbench/zipball/21acf1015ac48e36cb468bffd161115689958782",
- "reference": "21acf1015ac48e36cb468bffd161115689958782",
+ "url": "https://api.github.com/repos/orchestral/workbench/zipball/01175d82fd80a6589ffaa9a861100a64c500b259",
+ "reference": "01175d82fd80a6589ffaa9a861100a64c500b259",
"shasum": ""
},
"require": {
@@ -6551,7 +6655,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "0.4.x-dev"
+ "dev-master": "0.5.x-dev"
}
},
"autoload": {
@@ -6578,41 +6682,41 @@
],
"support": {
"issues": "https://github.com/orchestral/workbench/issues",
- "source": "https://github.com/orchestral/workbench/tree/v0.4.1"
+ "source": "https://github.com/orchestral/workbench/tree/v0.5.0"
},
- "time": "2023-09-26T13:04:34+00:00"
+ "time": "2023-10-06T12:50:40+00:00"
},
{
"name": "pestphp/pest",
- "version": "v2.20.0",
+ "version": "v2.21.0",
"source": {
"type": "git",
"url": "https://github.com/pestphp/pest.git",
- "reference": "a8b785f69e44ae3f902cbf08fe6b79359ba46945"
+ "reference": "2ffafd445d42c8b7b7e1874bde1c29945767a49d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/pestphp/pest/zipball/a8b785f69e44ae3f902cbf08fe6b79359ba46945",
- "reference": "a8b785f69e44ae3f902cbf08fe6b79359ba46945",
+ "url": "https://api.github.com/repos/pestphp/pest/zipball/2ffafd445d42c8b7b7e1874bde1c29945767a49d",
+ "reference": "2ffafd445d42c8b7b7e1874bde1c29945767a49d",
"shasum": ""
},
"require": {
- "brianium/paratest": "^7.2.7",
+ "brianium/paratest": "^7.2.9",
"nunomaduro/collision": "^7.9.0",
"nunomaduro/termwind": "^1.15.1",
"pestphp/pest-plugin": "^2.1.1",
"pestphp/pest-plugin-arch": "^2.3.3",
"php": "^8.1.0",
- "phpunit/phpunit": "^10.3.5"
+ "phpunit/phpunit": "^10.4.0"
},
"conflict": {
- "phpunit/phpunit": ">10.3.5",
+ "phpunit/phpunit": ">10.4.0",
"sebastian/exporter": "<5.1.0",
"webmozart/assert": "<1.11.0"
},
"require-dev": {
"pestphp/pest-dev-tools": "^2.16.0",
- "pestphp/pest-plugin-type-coverage": "^2.2.0",
+ "pestphp/pest-plugin-type-coverage": "^2.4.0",
"symfony/process": "^6.3.4"
},
"bin": [
@@ -6671,7 +6775,7 @@
],
"support": {
"issues": "https://github.com/pestphp/pest/issues",
- "source": "https://github.com/pestphp/pest/tree/v2.20.0"
+ "source": "https://github.com/pestphp/pest/tree/v2.21.0"
},
"funding": [
{
@@ -6683,7 +6787,7 @@
"type": "github"
}
],
- "time": "2023-09-29T18:05:52+00:00"
+ "time": "2023-10-06T12:33:39+00:00"
},
{
"name": "pestphp/pest-plugin",
@@ -7234,16 +7338,16 @@
},
{
"name": "phpstan/phpstan",
- "version": "1.10.37",
+ "version": "1.10.38",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
- "reference": "058ba07e92f744d4dcf6061ae75283d0c6456f2e"
+ "reference": "5302bb402c57f00fb3c2c015bac86e0827e4b691"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/058ba07e92f744d4dcf6061ae75283d0c6456f2e",
- "reference": "058ba07e92f744d4dcf6061ae75283d0c6456f2e",
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/5302bb402c57f00fb3c2c015bac86e0827e4b691",
+ "reference": "5302bb402c57f00fb3c2c015bac86e0827e4b691",
"shasum": ""
},
"require": {
@@ -7292,7 +7396,7 @@
"type": "tidelift"
}
],
- "time": "2023-10-02T16:18:37+00:00"
+ "time": "2023-10-06T14:19:14+00:00"
},
{
"name": "phpunit/php-code-coverage",
@@ -7617,16 +7721,16 @@
},
{
"name": "phpunit/phpunit",
- "version": "10.3.5",
+ "version": "10.4.0",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "747c3b2038f1139e3dcd9886a3f5a948648b7503"
+ "reference": "9784e877e3700de37475545bdbdce8383ff53d25"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/747c3b2038f1139e3dcd9886a3f5a948648b7503",
- "reference": "747c3b2038f1139e3dcd9886a3f5a948648b7503",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/9784e877e3700de37475545bdbdce8383ff53d25",
+ "reference": "9784e877e3700de37475545bdbdce8383ff53d25",
"shasum": ""
},
"require": {
@@ -7666,7 +7770,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "10.3-dev"
+ "dev-main": "10.4-dev"
}
},
"autoload": {
@@ -7698,7 +7802,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
- "source": "https://github.com/sebastianbergmann/phpunit/tree/10.3.5"
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/10.4.0"
},
"funding": [
{
@@ -7714,7 +7818,7 @@
"type": "tidelift"
}
],
- "time": "2023-09-19T05:42:37+00:00"
+ "time": "2023-10-06T03:41:22+00:00"
},
{
"name": "pimple/pimple",
diff --git a/core b/core
new file mode 160000
index 0000000..26673a1
--- /dev/null
+++ b/core
@@ -0,0 +1 @@
+Subproject commit 26673a1766f41b48f6628cde9f36d575835c3d12
diff --git a/phpunit.xml b/phpunit.xml
index da97a05..5cced19 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -8,14 +8,6 @@
./tests/Integration
-
-
- ./tests/Feature
-
-
-
- ./tests/Unit
-