From 599051631c1daa6741b9f25b571c67f3e81759e1 Mon Sep 17 00:00:00 2001 From: Joel Male Date: Thu, 28 Nov 2024 13:06:24 +1000 Subject: [PATCH] wip: rename package to joelwmale --- LICENSE.md | 2 +- README.md | 26 +- composer.lock | 816 +++++++++---------- src/Cart.php | 22 +- src/CartCollection.php | 2 +- src/CartCondition.php | 8 +- src/CartConditionCollection.php | 2 +- src/CartServiceProvider.php | 2 +- src/Exceptions/InvalidConditionException.php | 2 +- src/Exceptions/InvalidItemException.php | 2 +- src/Exceptions/UnknownModelException.php | 2 +- src/Facades/CartFacade.php | 2 +- src/Helpers/Helpers.php | 2 +- src/ItemAttributeCollection.php | 2 +- src/ItemCollection.php | 6 +- src/Validators/CartConditionValidator.php | 2 +- src/Validators/CartItemValidator.php | 2 +- src/Validators/Validator.php | 2 +- tests/Helpers/MockProduct.php | 2 +- tests/Helpers/SessionMock.php | 2 +- tests/Unit/CartConditionsTest.php | 8 +- tests/Unit/CartTest.php | 20 +- tests/Unit/CartTestEventsTest.php | 4 +- tests/Unit/CartTestMultipleInstancesTest.php | 4 +- tests/Unit/ItemTest.php | 12 +- tests/Unit/ItemTestOtherFormatTest.php | 4 +- 26 files changed, 442 insertions(+), 518 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 12972f3..86dac40 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) Pixel Digital Pty Ltd +Copyright (c) Joel Male Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 25a99c5..9649f2d 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -[![Latest Version on Packagist](https://img.shields.io/packagist/v/wearepixel/laravel-cart.svg?style=flat-square)](https://packagist.org/packages/wearepixel/laravel-cart) -[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/wearepixel/laravel-cart/tests.yml?branch=master&label=Tests)](https://github.com/wearepixel/laravel-cart/actions?query=workflow%3ATests+branch%3Amaster) -[![Total Downloads](https://img.shields.io/packagist/dt/wearepixel/laravel-cart.svg?style=flat-square)](https://packagist.org/packages/wearepixel/laravel-cart) -[![License](https://poser.pugx.org/wearepixel/laravel-cart/license.svg)](https://packagist.org/packages/wearepixel/laravel-cart) +[![Latest Version on Packagist](https://img.shields.io/packagist/v/joelwmale/laravel-cart.svg?style=flat-square)](https://packagist.org/packages/joelwmale/laravel-cart) +[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/joelwmale/laravel-cart/tests.yml?branch=master&label=Tests)](https://github.com/joelwmale/laravel-cart/actions?query=workflow%3ATests+branch%3Amaster) +[![Total Downloads](https://img.shields.io/packagist/dt/joelwmale/laravel-cart.svg?style=flat-square)](https://packagist.org/packages/joelwmale/laravel-cart) +[![License](https://poser.pugx.org/joelwmale/laravel-cart/license.svg)](https://packagist.org/packages/joelwmale/laravel-cart) A Cart Implementation for Laravel. -Supported Laravel Versions: 9, 10, 11 +Supported Laravel Versions: 9, 10, and 11 ## Quick Demo @@ -33,14 +33,14 @@ ## Installing Install the package through [Composer](http://getcomposer.org/). -`composer require "wearepixel/laravel-cart"` +`composer require "joelwmale/laravel-cart"` ## Configuration You can publish the configuration file to customize various options. ```php -php artisan vendor:publish --provider="Wearepixel\Cart\CartServiceProvider" --tag="config" +php artisan vendor:publish --provider="Joelwmale\Cart\CartServiceProvider" --tag="config" ``` ### Formatting Numbers @@ -304,7 +304,7 @@ #### Adding a condition to the cart: **Cart::condition()** ```php // Add a single condition to the cart -$condition = new \Wearepixel\Cart\CartCondition([ +$condition = new \Joelwmale\Cart\CartCondition([ 'name' => 'Tax: 10%', 'type' => 'tax', 'target' => 'subtotal', // this condition will be applied to cart's subtotal when getSubTotal() is called. @@ -317,7 +317,7 @@ #### Adding a condition to the cart: **Cart::condition()** Cart::condition($condition); // Add multiple conditions -$tax = new \Wearepixel\Cart\CartCondition([ +$tax = new \Joelwmale\Cart\CartCondition([ 'name' => 'Tax: 10%', 'type' => 'tax', 'target' => 'subtotal', // this condition will be applied to cart's subtotal when getSubTotal() is called. @@ -325,7 +325,7 @@ #### Adding a condition to the cart: **Cart::condition()** 'order' => 2 ]); -$shipping = new \Wearepixel\Cart\CartCondition([ +$shipping = new \Joelwmale\Cart\CartCondition([ 'name' => 'Shipping: $15', 'type' => 'shipping', 'target' => 'subtotal', // this condition will be applied to cart's subtotal when getSubTotal() is called. @@ -340,7 +340,7 @@ #### Adding a condition to the cart: **Cart::condition()** Cart::condition([$tax, $shipping]); // add condition to only apply on totals, not in subtotal -$shipping = new \Wearepixel\Cart\CartCondition([ +$shipping = new \Joelwmale\Cart\CartCondition([ 'name' => 'Express Shipping $15', 'type' => 'shipping', 'target' => 'total', @@ -532,7 +532,7 @@ ### Condition on items ```php // lets create first our condition instance -$saleCondition = new \Wearepixel\Cart\CartCondition([ +$saleCondition = new \Joelwmale\Cart\CartCondition([ 'name' => '50% Off', 'type' => 'tax', 'value' => '-50%', @@ -552,7 +552,7 @@ ### Condition on items Cart::add($product); // You can of course also do multiple conditions on an item -$saleCondition = new \Wearepixel\Cart\CartCondition([ +$saleCondition = new \Joelwmale\Cart\CartCondition([ 'name' => 'SALE 5%', 'type' => 'sale', 'value' => '-5%', diff --git a/composer.lock b/composer.lock index 3e1c93d..82bae2e 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": "bf8d3b76695f06430eaf04e5eeacb58c", + "content-hash": "7bade4e04835258179688c4b5e13a19a", "packages": [ { "name": "brick/math", @@ -68,16 +68,16 @@ }, { "name": "carbonphp/carbon-doctrine-types", - "version": "dev-main", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/CarbonPHP/carbon-doctrine-types.git", - "reference": "9098d1cc5ac1baf3c9733dc48f3388fbd35e7c9e" + "reference": "18ba5ddfec8976260ead6e866180bd5d2f71aa1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/CarbonPHP/carbon-doctrine-types/zipball/9098d1cc5ac1baf3c9733dc48f3388fbd35e7c9e", - "reference": "9098d1cc5ac1baf3c9733dc48f3388fbd35e7c9e", + "url": "https://api.github.com/repos/CarbonPHP/carbon-doctrine-types/zipball/18ba5ddfec8976260ead6e866180bd5d2f71aa1d", + "reference": "18ba5ddfec8976260ead6e866180bd5d2f71aa1d", "shasum": "" }, "require": { @@ -91,7 +91,6 @@ "nesbot/carbon": "^2.71.0 || ^3.0.0", "phpunit/phpunit": "^10.3" }, - "default-branch": true, "type": "library", "autoload": { "psr-4": { @@ -118,7 +117,7 @@ ], "support": { "issues": "https://github.com/CarbonPHP/carbon-doctrine-types/issues", - "source": "https://github.com/CarbonPHP/carbon-doctrine-types/tree/main" + "source": "https://github.com/CarbonPHP/carbon-doctrine-types/tree/3.2.0" }, "funding": [ { @@ -134,7 +133,7 @@ "type": "tidelift" } ], - "time": "2024-04-07T15:25:35+00:00" + "time": "2024-02-09T16:56:22+00:00" }, { "name": "doctrine/inflector", @@ -310,12 +309,12 @@ "source": { "type": "git", "url": "https://github.com/egulias/EmailValidator.git", - "reference": "92c1ab0cc1d38e188f858cea12bbb90711fa759a" + "reference": "87db43e4ffecdf458016e8c1b6d4801e872654bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/92c1ab0cc1d38e188f858cea12bbb90711fa759a", - "reference": "92c1ab0cc1d38e188f858cea12bbb90711fa759a", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/87db43e4ffecdf458016e8c1b6d4801e872654bc", + "reference": "87db43e4ffecdf458016e8c1b6d4801e872654bc", "shasum": "" }, "require": { @@ -370,7 +369,7 @@ "type": "github" } ], - "time": "2024-05-01T13:20:12+00:00" + "time": "2024-10-16T21:10:38+00:00" }, { "name": "illuminate/collections", @@ -378,12 +377,12 @@ "source": { "type": "git", "url": "https://github.com/illuminate/collections.git", - "reference": "66d2c9bdf5641599735d402c1c504b54734a9cca" + "reference": "fd2103ddc121449a7926fc34a9d220e5b88183c1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/collections/zipball/66d2c9bdf5641599735d402c1c504b54734a9cca", - "reference": "66d2c9bdf5641599735d402c1c504b54734a9cca", + "url": "https://api.github.com/repos/illuminate/collections/zipball/fd2103ddc121449a7926fc34a9d220e5b88183c1", + "reference": "fd2103ddc121449a7926fc34a9d220e5b88183c1", "shasum": "" }, "require": { @@ -425,7 +424,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-08-23T18:49:36+00:00" + "time": "2024-11-27T14:51:56+00:00" }, { "name": "illuminate/conditionable", @@ -433,12 +432,12 @@ "source": { "type": "git", "url": "https://github.com/illuminate/conditionable.git", - "reference": "362dd761b9920367bca1427a902158225e9e3a23" + "reference": "911df1bda950a3b799cf80671764e34eede131c6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/conditionable/zipball/362dd761b9920367bca1427a902158225e9e3a23", - "reference": "362dd761b9920367bca1427a902158225e9e3a23", + "url": "https://api.github.com/repos/illuminate/conditionable/zipball/911df1bda950a3b799cf80671764e34eede131c6", + "reference": "911df1bda950a3b799cf80671764e34eede131c6", "shasum": "" }, "require": { @@ -471,7 +470,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-06-28T20:10:30+00:00" + "time": "2024-11-21T16:28:56+00:00" }, { "name": "illuminate/container", @@ -479,12 +478,12 @@ "source": { "type": "git", "url": "https://github.com/illuminate/container.git", - "reference": "85e3396fde3139eae3f37128222c9a7746ca4bbb" + "reference": "b057b0bbb38d7c7524df1ca5c38e7318f4c64d26" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/container/zipball/85e3396fde3139eae3f37128222c9a7746ca4bbb", - "reference": "85e3396fde3139eae3f37128222c9a7746ca4bbb", + "url": "https://api.github.com/repos/illuminate/container/zipball/b057b0bbb38d7c7524df1ca5c38e7318f4c64d26", + "reference": "b057b0bbb38d7c7524df1ca5c38e7318f4c64d26", "shasum": "" }, "require": { @@ -522,7 +521,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-08-21T16:01:30+00:00" + "time": "2024-11-21T20:07:31+00:00" }, { "name": "illuminate/contracts", @@ -530,12 +529,12 @@ "source": { "type": "git", "url": "https://github.com/illuminate/contracts.git", - "reference": "af9b459f195d57f279ec30a45446ddaeb3337bcb" + "reference": "184317f701ba20ca265e36808ed54b75b115972d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/contracts/zipball/af9b459f195d57f279ec30a45446ddaeb3337bcb", - "reference": "af9b459f195d57f279ec30a45446ddaeb3337bcb", + "url": "https://api.github.com/repos/illuminate/contracts/zipball/184317f701ba20ca265e36808ed54b75b115972d", + "reference": "184317f701ba20ca265e36808ed54b75b115972d", "shasum": "" }, "require": { @@ -570,7 +569,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-08-21T16:02:16+00:00" + "time": "2024-11-25T15:33:38+00:00" }, { "name": "illuminate/filesystem", @@ -578,12 +577,12 @@ "source": { "type": "git", "url": "https://github.com/illuminate/filesystem.git", - "reference": "7e44057ac57635465c91c3fc6247c5d87bd1feed" + "reference": "ec19853eaa9e25bbf3e10cf880a3cd0b6a4b75c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/filesystem/zipball/7e44057ac57635465c91c3fc6247c5d87bd1feed", - "reference": "7e44057ac57635465c91c3fc6247c5d87bd1feed", + "url": "https://api.github.com/repos/illuminate/filesystem/zipball/ec19853eaa9e25bbf3e10cf880a3cd0b6a4b75c4", + "reference": "ec19853eaa9e25bbf3e10cf880a3cd0b6a4b75c4", "shasum": "" }, "require": { @@ -592,17 +591,17 @@ "illuminate/macroable": "^11.0", "illuminate/support": "^11.0", "php": "^8.2", - "symfony/finder": "^7.0" + "symfony/finder": "^7.0.3" }, "suggest": { "ext-fileinfo": "Required to use the Filesystem class.", "ext-ftp": "Required to use the Flysystem FTP driver.", "ext-hash": "Required to use the Filesystem class.", "illuminate/http": "Required for handling uploaded files (^7.0).", - "league/flysystem": "Required to use the Flysystem local driver (^3.0.16).", - "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.0).", - "league/flysystem-ftp": "Required to use the Flysystem FTP driver (^3.0).", - "league/flysystem-sftp-v3": "Required to use the Flysystem SFTP driver (^3.0).", + "league/flysystem": "Required to use the Flysystem local driver (^3.25.1).", + "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.25.1).", + "league/flysystem-ftp": "Required to use the Flysystem FTP driver (^3.25.1).", + "league/flysystem-sftp-v3": "Required to use the Flysystem SFTP driver (^3.25.1).", "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", "symfony/filesystem": "Required to enable support for relative symbolic links (^7.0).", "symfony/mime": "Required to enable support for guessing extensions (^7.0)." @@ -637,7 +636,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-09-03T13:20:49+00:00" + "time": "2024-11-26T14:46:56+00:00" }, { "name": "illuminate/macroable", @@ -691,12 +690,12 @@ "source": { "type": "git", "url": "https://github.com/illuminate/support.git", - "reference": "51efc0516526413b4be641a1731d15d4394de2ff" + "reference": "2b718a86571baed50fdc5d5748a846c2e58e07eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/51efc0516526413b4be641a1731d15d4394de2ff", - "reference": "51efc0516526413b4be641a1731d15d4394de2ff", + "url": "https://api.github.com/repos/illuminate/support/zipball/2b718a86571baed50fdc5d5748a846c2e58e07eb", + "reference": "2b718a86571baed50fdc5d5748a846c2e58e07eb", "shasum": "" }, "require": { @@ -708,9 +707,9 @@ "illuminate/conditionable": "^11.0", "illuminate/contracts": "^11.0", "illuminate/macroable": "^11.0", - "nesbot/carbon": "^2.72.2|^3.0", + "nesbot/carbon": "^2.72.2|^3.4", "php": "^8.2", - "voku/portable-ascii": "^2.0" + "voku/portable-ascii": "^2.0.2" }, "conflict": { "tightenco/collect": "<5.5.33" @@ -720,12 +719,13 @@ }, "suggest": { "illuminate/filesystem": "Required to use the composer class (^11.0).", + "laravel/serializable-closure": "Required to use the once function (^1.3).", "league/commonmark": "Required to use Str::markdown() and Stringable::markdown() (^2.0.2).", "ramsey/uuid": "Required to use Str::uuid() (^4.7).", "symfony/process": "Required to use the composer class (^7.0).", "symfony/uid": "Required to use Str::ulid() (^7.0).", "symfony/var-dumper": "Required to use the dd function (^7.0).", - "vlucas/phpdotenv": "Required to use the Env class and env helper (^5.4.1)." + "vlucas/phpdotenv": "Required to use the Env class and env helper (^5.6.1)." }, "type": "library", "extra": { @@ -735,6 +735,7 @@ }, "autoload": { "files": [ + "functions.php", "helpers.php" ], "psr-4": { @@ -757,7 +758,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-09-03T13:21:20+00:00" + "time": "2024-11-27T14:58:17+00:00" }, { "name": "illuminate/translation", @@ -765,12 +766,12 @@ "source": { "type": "git", "url": "https://github.com/illuminate/translation.git", - "reference": "3f416a9bc090ed7a9f6f6fff118e4953846bd185" + "reference": "8ef07f0148bf48e4f342efdcd39869c24cb7c81f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/translation/zipball/3f416a9bc090ed7a9f6f6fff118e4953846bd185", - "reference": "3f416a9bc090ed7a9f6f6fff118e4953846bd185", + "url": "https://api.github.com/repos/illuminate/translation/zipball/8ef07f0148bf48e4f342efdcd39869c24cb7c81f", + "reference": "8ef07f0148bf48e4f342efdcd39869c24cb7c81f", "shasum": "" }, "require": { @@ -808,7 +809,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-08-01T18:54:27+00:00" + "time": "2024-11-14T15:34:25+00:00" }, { "name": "illuminate/validation", @@ -816,12 +817,12 @@ "source": { "type": "git", "url": "https://github.com/illuminate/validation.git", - "reference": "60474ce720aab7264ed8d75a344e8a8af911e417" + "reference": "a42b5f21fed00dbbeaf77c34692dcfead3674e99" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/validation/zipball/60474ce720aab7264ed8d75a344e8a8af911e417", - "reference": "60474ce720aab7264ed8d75a344e8a8af911e417", + "url": "https://api.github.com/repos/illuminate/validation/zipball/a42b5f21fed00dbbeaf77c34692dcfead3674e99", + "reference": "a42b5f21fed00dbbeaf77c34692dcfead3674e99", "shasum": "" }, "require": { @@ -869,7 +870,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-08-13T17:23:08+00:00" + "time": "2024-11-21T16:28:56+00:00" }, { "name": "nesbot/carbon", @@ -877,16 +878,16 @@ "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "bbd3eef89af8ba66a3aa7952b5439168fbcc529f" + "reference": "901a6988edbc6f469896b3fd991935ce2560ae2f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/bbd3eef89af8ba66a3aa7952b5439168fbcc529f", - "reference": "bbd3eef89af8ba66a3aa7952b5439168fbcc529f", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/901a6988edbc6f469896b3fd991935ce2560ae2f", + "reference": "901a6988edbc6f469896b3fd991935ce2560ae2f", "shasum": "" }, "require": { - "carbonphp/carbon-doctrine-types": "*", + "carbonphp/carbon-doctrine-types": "<100.0", "ext-json": "*", "php": "^8.1", "psr/clock": "^1.0", @@ -976,7 +977,7 @@ "type": "tidelift" } ], - "time": "2024-08-19T06:22:39+00:00" + "time": "2024-11-19T17:15:47+00:00" }, { "name": "psr/clock", @@ -1138,12 +1139,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/clock.git", - "reference": "738af07b16942450f71491c995d35996893c8d85" + "reference": "b81435fbd6648ea425d1ee96a2d8e68f4ceacd24" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/clock/zipball/738af07b16942450f71491c995d35996893c8d85", - "reference": "738af07b16942450f71491c995d35996893c8d85", + "url": "https://api.github.com/repos/symfony/clock/zipball/b81435fbd6648ea425d1ee96a2d8e68f4ceacd24", + "reference": "b81435fbd6648ea425d1ee96a2d8e68f4ceacd24", "shasum": "" }, "require": { @@ -1204,7 +1205,7 @@ "type": "tidelift" } ], - "time": "2024-08-06T10:13:52+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { "name": "symfony/deprecation-contracts", @@ -1212,12 +1213,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" + "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", - "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", + "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", "shasum": "" }, "require": { @@ -1227,7 +1228,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.5-dev" + "dev-main": "3.6-dev" }, "thanks": { "name": "symfony/contracts", @@ -1256,7 +1257,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/main" }, "funding": [ { @@ -1272,7 +1273,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { "name": "symfony/finder", @@ -1280,12 +1281,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "afa87bce0d224a744963ecc8db07b1f0f96a3518" + "reference": "6de263e5868b9a137602dd1e33e4d48bfae99c49" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/afa87bce0d224a744963ecc8db07b1f0f96a3518", - "reference": "afa87bce0d224a744963ecc8db07b1f0f96a3518", + "url": "https://api.github.com/repos/symfony/finder/zipball/6de263e5868b9a137602dd1e33e4d48bfae99c49", + "reference": "6de263e5868b9a137602dd1e33e4d48bfae99c49", "shasum": "" }, "require": { @@ -1336,7 +1337,7 @@ "type": "tidelift" } ], - "time": "2024-09-03T13:22:29+00:00" + "time": "2024-10-23T06:56:12+00:00" }, { "name": "symfony/http-foundation", @@ -1344,27 +1345,28 @@ "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "5a92e38016224d35a68ded60297b94d87b21a494" + "reference": "e88a66c3997859532bc2ddd6dd8f35aba2711744" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/5a92e38016224d35a68ded60297b94d87b21a494", - "reference": "5a92e38016224d35a68ded60297b94d87b21a494", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/e88a66c3997859532bc2ddd6dd8f35aba2711744", + "reference": "e88a66c3997859532bc2ddd6dd8f35aba2711744", "shasum": "" }, "require": { "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3.0", "symfony/polyfill-mbstring": "~1.1", "symfony/polyfill-php83": "^1.27" }, "conflict": { "doctrine/dbal": "<3.6", - "symfony/cache": "<6.4" + "symfony/cache": "<6.4.12|>=7.0,<7.1.5" }, "require-dev": { "doctrine/dbal": "^3.6|^4", "predis/predis": "^1.1|^2.0", - "symfony/cache": "^6.4|^7.0", + "symfony/cache": "^6.4.12|^7.1.5", "symfony/dependency-injection": "^6.4|^7.0", "symfony/expression-language": "^6.4|^7.0", "symfony/http-kernel": "^6.4|^7.0", @@ -1413,7 +1415,7 @@ "type": "tidelift" } ], - "time": "2024-09-03T14:09:19+00:00" + "time": "2024-11-13T18:58:46+00:00" }, { "name": "symfony/mime", @@ -1421,12 +1423,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "52dc06994d8ee1f97bdc6a80c758c1a6bc482f78" + "reference": "cc84a4b81f62158c3846ac7ff10f696aae2b524d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/52dc06994d8ee1f97bdc6a80c758c1a6bc482f78", - "reference": "52dc06994d8ee1f97bdc6a80c758c1a6bc482f78", + "url": "https://api.github.com/repos/symfony/mime/zipball/cc84a4b81f62158c3846ac7ff10f696aae2b524d", + "reference": "cc84a4b81f62158c3846ac7ff10f696aae2b524d", "shasum": "" }, "require": { @@ -1497,7 +1499,7 @@ "type": "tidelift" } ], - "time": "2024-08-13T14:29:53+00:00" + "time": "2024-11-23T09:19:39+00:00" }, { "name": "symfony/polyfill-intl-idn", @@ -1505,18 +1507,17 @@ "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "a6e83bdeb3c84391d1dfe16f42e40727ce524a5c" + "reference": "9614ac4d8061dc257ecc64cba1b140873dce8ad3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/a6e83bdeb3c84391d1dfe16f42e40727ce524a5c", - "reference": "a6e83bdeb3c84391d1dfe16f42e40727ce524a5c", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/9614ac4d8061dc257ecc64cba1b140873dce8ad3", + "reference": "9614ac4d8061dc257ecc64cba1b140873dce8ad3", "shasum": "" }, "require": { - "php": ">=7.1", - "symfony/polyfill-intl-normalizer": "^1.10", - "symfony/polyfill-php72": "^1.10" + "php": ">=7.2", + "symfony/polyfill-intl-normalizer": "^1.10" }, "suggest": { "ext-intl": "For best performance" @@ -1566,7 +1567,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/1.x" }, "funding": [ { @@ -1582,7 +1583,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T15:07:36+00:00" + "time": "2024-09-10T14:38:51+00:00" }, { "name": "symfony/polyfill-intl-normalizer", @@ -1590,16 +1591,16 @@ "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb" + "reference": "3833d7255cc303546435cb650316bff708a1c75c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/a95281b0be0d9ab48050ebd988b967875cdb9fdb", - "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", + "reference": "3833d7255cc303546435cb650316bff708a1c75c", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "suggest": { "ext-intl": "For best performance" @@ -1648,7 +1649,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0" }, "funding": [ { @@ -1664,7 +1665,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T15:07:36+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -1672,16 +1673,16 @@ "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "8740a072b86292957feb42703edde77fcfca84fb" + "reference": "2369cb908b33d7b7518cce042615de430142497f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8740a072b86292957feb42703edde77fcfca84fb", - "reference": "8740a072b86292957feb42703edde77fcfca84fb", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/2369cb908b33d7b7518cce042615de430142497f", + "reference": "2369cb908b33d7b7518cce042615de430142497f", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "provide": { "ext-mbstring": "*" @@ -1745,81 +1746,7 @@ "type": "tidelift" } ], - "time": "2024-06-20T08:18:00+00:00" - }, - { - "name": "symfony/polyfill-php72", - "version": "1.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "e5670122fdf3e86a1f6dee9f043893e70c343b34" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/e5670122fdf3e86a1f6dee9f043893e70c343b34", - "reference": "e5670122fdf3e86a1f6dee9f043893e70c343b34", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "default-branch": true, - "type": "library", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php72\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/1.x" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-06-20T08:18:00+00:00" + "time": "2024-09-10T14:38:51+00:00" }, { "name": "symfony/polyfill-php83", @@ -1827,16 +1754,16 @@ "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php83.git", - "reference": "2954fcffd79c04a3c5f50665aafb5f99c25a9d18" + "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/2954fcffd79c04a3c5f50665aafb5f99c25a9d18", - "reference": "2954fcffd79c04a3c5f50665aafb5f99c25a9d18", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/2fb86d65e2d424369ad2905e83b236a8805ba491", + "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "default-branch": true, "type": "library", @@ -1880,7 +1807,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php83/tree/1.x" + "source": "https://github.com/symfony/polyfill-php83/tree/v1.31.0" }, "funding": [ { @@ -1896,7 +1823,7 @@ "type": "tidelift" } ], - "time": "2024-06-20T08:18:00+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/translation", @@ -1904,12 +1831,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "a1c4be3a5885b9785b131c5a30d93e611848cb1d" + "reference": "dc89e16b44048ceecc879054e5b7f38326ab6cc5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/a1c4be3a5885b9785b131c5a30d93e611848cb1d", - "reference": "a1c4be3a5885b9785b131c5a30d93e611848cb1d", + "url": "https://api.github.com/repos/symfony/translation/zipball/dc89e16b44048ceecc879054e5b7f38326ab6cc5", + "reference": "dc89e16b44048ceecc879054e5b7f38326ab6cc5", "shasum": "" }, "require": { @@ -1991,7 +1918,7 @@ "type": "tidelift" } ], - "time": "2024-08-19T08:28:32+00:00" + "time": "2024-11-12T20:47:56+00:00" }, { "name": "symfony/translation-contracts", @@ -1999,12 +1926,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a" + "reference": "df210c7a2573f1913b2d17cc95f90f53a73d8f7d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", - "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/df210c7a2573f1913b2d17cc95f90f53a73d8f7d", + "reference": "df210c7a2573f1913b2d17cc95f90f53a73d8f7d", "shasum": "" }, "require": { @@ -2014,7 +1941,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.5-dev" + "dev-main": "3.6-dev" }, "thanks": { "name": "symfony/contracts", @@ -2054,7 +1981,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/translation-contracts/tree/main" }, "funding": [ { @@ -2070,20 +1997,20 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-27T08:32:26+00:00" }, { "name": "voku/portable-ascii", - "version": "2.0.1", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/voku/portable-ascii.git", - "reference": "b56450eed252f6801410d810c8e1727224ae0743" + "reference": "b1d923f88091c6bf09699efcd7c8a1b1bfd7351d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/voku/portable-ascii/zipball/b56450eed252f6801410d810c8e1727224ae0743", - "reference": "b56450eed252f6801410d810c8e1727224ae0743", + "url": "https://api.github.com/repos/voku/portable-ascii/zipball/b1d923f88091c6bf09699efcd7c8a1b1bfd7351d", + "reference": "b1d923f88091c6bf09699efcd7c8a1b1bfd7351d", "shasum": "" }, "require": { @@ -2108,7 +2035,7 @@ "authors": [ { "name": "Lars Moelleken", - "homepage": "http://www.moelleken.org/" + "homepage": "https://www.moelleken.org/" } ], "description": "Portable ASCII library - performance optimized (ascii) string functions for php.", @@ -2120,7 +2047,7 @@ ], "support": { "issues": "https://github.com/voku/portable-ascii/issues", - "source": "https://github.com/voku/portable-ascii/tree/2.0.1" + "source": "https://github.com/voku/portable-ascii/tree/2.0.3" }, "funding": [ { @@ -2144,7 +2071,7 @@ "type": "tidelift" } ], - "time": "2022-03-08T17:03:00+00:00" + "time": "2024-11-21T01:49:47+00:00" } ], "packages-dev": [ @@ -2353,26 +2280,26 @@ }, { "name": "filp/whoops", - "version": "2.15.4", + "version": "2.16.0", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546" + "reference": "befcdc0e5dce67252aa6322d82424be928214fa2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/a139776fa3f5985a50b509f2a02ff0f709d2a546", - "reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546", + "url": "https://api.github.com/repos/filp/whoops/zipball/befcdc0e5dce67252aa6322d82424be928214fa2", + "reference": "befcdc0e5dce67252aa6322d82424be928214fa2", "shasum": "" }, "require": { - "php": "^5.5.9 || ^7.0 || ^8.0", + "php": "^7.1 || ^8.0", "psr/log": "^1.0.1 || ^2.0 || ^3.0" }, "require-dev": { - "mockery/mockery": "^0.9 || ^1.0", - "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3", - "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0" + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^7.5.20 || ^8.5.8 || ^9.3.3", + "symfony/var-dumper": "^4.0 || ^5.0" }, "suggest": { "symfony/var-dumper": "Pretty print complex values better with var-dumper available", @@ -2412,7 +2339,7 @@ ], "support": { "issues": "https://github.com/filp/whoops/issues", - "source": "https://github.com/filp/whoops/tree/2.15.4" + "source": "https://github.com/filp/whoops/tree/2.16.0" }, "funding": [ { @@ -2420,7 +2347,7 @@ "type": "github" } ], - "time": "2023-11-03T12:00:00+00:00" + "time": "2024-09-25T12:00:00+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -2428,12 +2355,12 @@ "source": { "type": "git", "url": "https://github.com/hamcrest/hamcrest-php.git", - "reference": "dd03e528e461e059e21cdd2ce50fdb842efe5a91" + "reference": "515bc471fce72631265184d96d1777770f16d230" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/dd03e528e461e059e21cdd2ce50fdb842efe5a91", - "reference": "dd03e528e461e059e21cdd2ce50fdb842efe5a91", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/515bc471fce72631265184d96d1777770f16d230", + "reference": "515bc471fce72631265184d96d1777770f16d230", "shasum": "" }, "require": { @@ -2472,7 +2399,7 @@ "issues": "https://github.com/hamcrest/hamcrest-php/issues", "source": "https://github.com/hamcrest/hamcrest-php/tree/master" }, - "time": "2024-07-08T08:13:58+00:00" + "time": "2024-11-24T15:17:53+00:00" }, { "name": "jean85/pretty-package-versions", @@ -2480,17 +2407,17 @@ "source": { "type": "git", "url": "https://github.com/Jean85/pretty-package-versions.git", - "reference": "d2ed36bf14b8b68d7986272734cb6a54c7822554" + "reference": "3c4e5f62ba8d7de1734312e4fff32f67a8daaf10" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/d2ed36bf14b8b68d7986272734cb6a54c7822554", - "reference": "d2ed36bf14b8b68d7986272734cb6a54c7822554", + "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/3c4e5f62ba8d7de1734312e4fff32f67a8daaf10", + "reference": "3c4e5f62ba8d7de1734312e4fff32f67a8daaf10", "shasum": "" }, "require": { - "composer-runtime-api": "^2.0.0", - "php": "^7.1|^8.0" + "composer-runtime-api": "^2.1.0", + "php": "^7.4|^8.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.2", @@ -2530,13 +2457,13 @@ ], "support": { "issues": "https://github.com/Jean85/pretty-package-versions/issues", - "source": "https://github.com/Jean85/pretty-package-versions/tree/2.x" + "source": "https://github.com/Jean85/pretty-package-versions/tree/2.1.0" }, - "time": "2024-08-01T12:14:16+00:00" + "time": "2024-11-18T16:19:46+00:00" }, { "name": "larapack/dd", - "version": "dev-master", + "version": "1.1", "source": { "type": "git", "url": "https://github.com/larapack/dd.git", @@ -2551,7 +2478,6 @@ "require": { "symfony/var-dumper": "*" }, - "default-branch": true, "type": "package", "autoload": { "files": [ @@ -2571,22 +2497,22 @@ "description": "`dd` is a helper method in Laravel. This package will add the `dd` to your application.", "support": { "issues": "https://github.com/larapack/dd/issues", - "source": "https://github.com/larapack/dd/tree/v1.1" + "source": "https://github.com/larapack/dd/tree/master" }, "time": "2016-12-15T09:34:34+00:00" }, { "name": "laravel/pint", - "version": "v1.5.0", + "version": "v1.18.3", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "e0a8cef58b74662f27355be9cdea0e726bbac362" + "reference": "cef51821608239040ab841ad6e1c6ae502ae3026" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/e0a8cef58b74662f27355be9cdea0e726bbac362", - "reference": "e0a8cef58b74662f27355be9cdea0e726bbac362", + "url": "https://api.github.com/repos/laravel/pint/zipball/cef51821608239040ab841ad6e1c6ae502ae3026", + "reference": "cef51821608239040ab841ad6e1c6ae502ae3026", "shasum": "" }, "require": { @@ -2594,16 +2520,16 @@ "ext-mbstring": "*", "ext-tokenizer": "*", "ext-xml": "*", - "php": "^8.0" + "php": "^8.1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.14.4", - "illuminate/view": "^9.51.0", - "laravel-zero/framework": "^9.2.0", - "mockery/mockery": "^1.5.1", - "nunomaduro/larastan": "^2.4.0", - "nunomaduro/termwind": "^1.15.1", - "pestphp/pest": "^1.22.4" + "friendsofphp/php-cs-fixer": "^3.65.0", + "illuminate/view": "^10.48.24", + "larastan/larastan": "^2.9.11", + "laravel-zero/framework": "^10.4.0", + "mockery/mockery": "^1.6.12", + "nunomaduro/termwind": "^1.17.0", + "pestphp/pest": "^2.36.0" }, "bin": [ "builds/pint" @@ -2639,7 +2565,7 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2023-02-14T16:31:02+00:00" + "time": "2024-11-26T15:34:00+00:00" }, { "name": "mockery/mockery", @@ -2729,12 +2655,12 @@ "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c" + "reference": "4764e040f8743e92b86c36f488f32d0265dd1dae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", - "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/4764e040f8743e92b86c36f488f32d0265dd1dae", + "reference": "4764e040f8743e92b86c36f488f32d0265dd1dae", "shasum": "" }, "require": { @@ -2774,7 +2700,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0" + "source": "https://github.com/myclabs/DeepCopy/tree/1.x" }, "funding": [ { @@ -2782,20 +2708,20 @@ "type": "tidelift" } ], - "time": "2024-06-12T14:39:25+00:00" + "time": "2024-11-26T13:04:49+00:00" }, { "name": "nikic/php-parser", - "version": "v5.1.0", + "version": "v5.3.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1" + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/683130c2ff8c2739f4822ff7ac5c873ec529abd1", - "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b", + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b", "shasum": "" }, "require": { @@ -2838,9 +2764,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.1.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.1" }, - "time": "2024-07-01T20:03:41+00:00" + "time": "2024-10-08T18:51:32+00:00" }, { "name": "nunomaduro/collision", @@ -2848,19 +2774,19 @@ "source": { "type": "git", "url": "https://github.com/nunomaduro/collision.git", - "reference": "e7d1aa8ed753f63fa816932bbc89678238843b4a" + "reference": "f5c101b929c958e849a633283adff296ed5f38f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/e7d1aa8ed753f63fa816932bbc89678238843b4a", - "reference": "e7d1aa8ed753f63fa816932bbc89678238843b4a", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/f5c101b929c958e849a633283adff296ed5f38f5", + "reference": "f5c101b929c958e849a633283adff296ed5f38f5", "shasum": "" }, "require": { - "filp/whoops": "^2.15.4", - "nunomaduro/termwind": "^2.0.1", + "filp/whoops": "^2.16.0", + "nunomaduro/termwind": "^2.1.0", "php": "^8.2.0", - "symfony/console": "^7.1.3" + "symfony/console": "^7.1.5" }, "conflict": { "laravel/framework": "<11.0.0 || >=12.0.0", @@ -2868,14 +2794,14 @@ }, "require-dev": { "larastan/larastan": "^2.9.8", - "laravel/framework": "^11.19.0", - "laravel/pint": "^1.17.1", - "laravel/sail": "^1.31.0", - "laravel/sanctum": "^4.0.2", - "laravel/tinker": "^2.9.0", - "orchestra/testbench-core": "^9.2.3", - "pestphp/pest": "^2.35.0 || ^3.0.0", - "sebastian/environment": "^6.1.0 || ^7.0.0" + "laravel/framework": "^11.28.0", + "laravel/pint": "^1.18.1", + "laravel/sail": "^1.36.0", + "laravel/sanctum": "^4.0.3", + "laravel/tinker": "^2.10.0", + "orchestra/testbench-core": "^9.5.3", + "pestphp/pest": "^2.36.0 || ^3.4.0", + "sebastian/environment": "^6.1.0 || ^7.2.0" }, "default-branch": true, "type": "library", @@ -2938,7 +2864,7 @@ "type": "patreon" } ], - "time": "2024-08-03T15:32:23+00:00" + "time": "2024-10-15T16:06:32+00:00" }, { "name": "nunomaduro/termwind", @@ -2946,28 +2872,27 @@ "source": { "type": "git", "url": "https://github.com/nunomaduro/termwind.git", - "reference": "887ab2b4773e7df58d3ebb82e50d3f6fe51a53fb" + "reference": "52915afe6a1044e8b9cee1bcff836fb63acf9cda" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/887ab2b4773e7df58d3ebb82e50d3f6fe51a53fb", - "reference": "887ab2b4773e7df58d3ebb82e50d3f6fe51a53fb", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/52915afe6a1044e8b9cee1bcff836fb63acf9cda", + "reference": "52915afe6a1044e8b9cee1bcff836fb63acf9cda", "shasum": "" }, "require": { "ext-mbstring": "*", "php": "^8.2", - "symfony/console": "^7.0.4" + "symfony/console": "^7.1.8" }, "require-dev": { - "ergebnis/phpstan-rules": "^2.2.0", - "illuminate/console": "^11.1.1", - "laravel/pint": "^1.15.0", - "mockery/mockery": "^1.6.11", - "pestphp/pest": "^2.34.6", - "phpstan/phpstan": "^1.10.66", - "phpstan/phpstan-strict-rules": "^1.5.2", - "symfony/var-dumper": "^7.0.4", + "illuminate/console": "^11.33.2", + "laravel/pint": "^1.18.2", + "mockery/mockery": "^1.6.12", + "pestphp/pest": "^2.36.0", + "phpstan/phpstan": "^1.12.11", + "phpstan/phpstan-strict-rules": "^1.6.1", + "symfony/var-dumper": "^7.1.8", "thecodingmachine/phpstan-strict-rules": "^1.0.0" }, "default-branch": true, @@ -3011,7 +2936,7 @@ ], "support": { "issues": "https://github.com/nunomaduro/termwind/issues", - "source": "https://github.com/nunomaduro/termwind/tree/2.x" + "source": "https://github.com/nunomaduro/termwind/tree/v2.3.0" }, "funding": [ { @@ -3027,7 +2952,7 @@ "type": "github" } ], - "time": "2024-06-03T18:45:50+00:00" + "time": "2024-11-21T10:39:51+00:00" }, { "name": "pestphp/pest", @@ -3458,12 +3383,12 @@ "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "60741fe3871f40e44ca10a28ce85d08b7ed841cd" + "reference": "f3558a4c23426d12bffeaab463f8a8d8b681193c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/60741fe3871f40e44ca10a28ce85d08b7ed841cd", - "reference": "60741fe3871f40e44ca10a28ce85d08b7ed841cd", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/f3558a4c23426d12bffeaab463f8a8d8b681193c", + "reference": "f3558a4c23426d12bffeaab463f8a8d8b681193c", "shasum": "" }, "require": { @@ -3472,17 +3397,17 @@ "php": "^7.4 || ^8.0", "phpdocumentor/reflection-common": "^2.2", "phpdocumentor/type-resolver": "^1.7", - "phpstan/phpdoc-parser": "^1.7", + "phpstan/phpdoc-parser": "^1.7|^2.0", "webmozart/assert": "^1.9.1" }, "require-dev": { - "mockery/mockery": "~1.3.5", + "mockery/mockery": "~1.3.5 || ~1.6.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan": "^1.8", "phpstan/phpstan-mockery": "^1.1", "phpstan/phpstan-webmozart-assert": "^1.2", "phpunit/phpunit": "^9.5", - "vimeo/psalm": "^5.13" + "psalm/phar": "^5.26" }, "default-branch": true, "type": "library", @@ -3513,9 +3438,9 @@ "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "support": { "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.x" + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.6.0" }, - "time": "2024-08-14T20:00:37+00:00" + "time": "2024-11-12T11:25:25+00:00" }, { "name": "phpdocumentor/type-resolver", @@ -3523,19 +3448,19 @@ "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "eee054a3d40f09920f5b27c9b09a6483f88d9d24" + "reference": "679e3ce485b99e84c775d28e2e96fade9a7fb50a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/eee054a3d40f09920f5b27c9b09a6483f88d9d24", - "reference": "eee054a3d40f09920f5b27c9b09a6483f88d9d24", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/679e3ce485b99e84c775d28e2e96fade9a7fb50a", + "reference": "679e3ce485b99e84c775d28e2e96fade9a7fb50a", "shasum": "" }, "require": { "doctrine/deprecations": "^1.0", "php": "^7.3 || ^8.0", "phpdocumentor/reflection-common": "^2.0", - "phpstan/phpdoc-parser": "^1.18" + "phpstan/phpdoc-parser": "^1.18|^2.0" }, "require-dev": { "ext-tokenizer": "*", @@ -3572,38 +3497,39 @@ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.x" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.10.0" }, - "time": "2024-05-24T14:24:30+00:00" + "time": "2024-11-09T15:12:26+00:00" }, { "name": "phpstan/phpdoc-parser", - "version": "1.30.0", + "version": "2.0.x-dev", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "5ceb0e384997db59f38774bf79c2a6134252c08f" + "reference": "04c8de0d350731bccfa216a5b5e9b3e1c26e4e24" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/5ceb0e384997db59f38774bf79c2a6134252c08f", - "reference": "5ceb0e384997db59f38774bf79c2a6134252c08f", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/04c8de0d350731bccfa216a5b5e9b3e1c26e4e24", + "reference": "04c8de0d350731bccfa216a5b5e9b3e1c26e4e24", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "php": "^7.4 || ^8.0" }, "require-dev": { "doctrine/annotations": "^2.0", - "nikic/php-parser": "^4.15", + "nikic/php-parser": "^5.3.0", "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.5", - "phpstan/phpstan-phpunit": "^1.1", - "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^9.5", + "phpstan/phpstan": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpstan/phpstan-strict-rules": "^2.0", + "phpunit/phpunit": "^9.6", "symfony/process": "^5.2" }, + "default-branch": true, "type": "library", "autoload": { "psr-4": { @@ -3619,9 +3545,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.30.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/2.0.x" }, - "time": "2024-08-29T09:54:52+00:00" + "time": "2024-11-07T10:15:44+00:00" }, { "name": "phpunit/php-code-coverage", @@ -3629,19 +3555,19 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "7e308268858ed6baedc8704a304727d20bc07c77" + "reference": "5a5c19843209812d6c8cb91d30478dfce3d8bdad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/7e308268858ed6baedc8704a304727d20bc07c77", - "reference": "7e308268858ed6baedc8704a304727d20bc07c77", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/5a5c19843209812d6c8cb91d30478dfce3d8bdad", + "reference": "5a5c19843209812d6c8cb91d30478dfce3d8bdad", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.19.1 || ^5.1.0", + "nikic/php-parser": "^4.19.1 || ^5.3.1", "php": ">=8.1", "phpunit/php-file-iterator": "^4.1.0", "phpunit/php-text-template": "^3.0.1", @@ -3653,7 +3579,7 @@ "theseer/tokenizer": "^1.2.3" }, "require-dev": { - "phpunit/phpunit": "^10.1" + "phpunit/phpunit": "^10.5.36" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -3691,7 +3617,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.16" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1" }, "funding": [ { @@ -3699,7 +3625,7 @@ "type": "github" } ], - "time": "2024-08-22T04:31:57+00:00" + "time": "2024-10-31T05:58:31+00:00" }, { "name": "phpunit/php-file-iterator", @@ -3707,19 +3633,19 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "5b9a71d1d40049fe474f1cef19f170296eb4cde5" + "reference": "585510209bc946b0b5686db50aaa89a20d574f94" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/5b9a71d1d40049fe474f1cef19f170296eb4cde5", - "reference": "5b9a71d1d40049fe474f1cef19f170296eb4cde5", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/585510209bc946b0b5686db50aaa89a20d574f94", + "reference": "585510209bc946b0b5686db50aaa89a20d574f94", "shasum": "" }, "require": { "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -3760,7 +3686,7 @@ "type": "github" } ], - "time": "2024-07-17T06:34:53+00:00" + "time": "2024-09-29T07:03:34+00:00" }, { "name": "phpunit/php-invoker", @@ -3768,12 +3694,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "af802612ce2d11906cc5b508189206480b26c027" + "reference": "b278fa2f7b3adbb1601635ccae52dd2ae28208f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/af802612ce2d11906cc5b508189206480b26c027", - "reference": "af802612ce2d11906cc5b508189206480b26c027", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/b278fa2f7b3adbb1601635ccae52dd2ae28208f7", + "reference": "b278fa2f7b3adbb1601635ccae52dd2ae28208f7", "shasum": "" }, "require": { @@ -3781,7 +3707,7 @@ }, "require-dev": { "ext-pcntl": "*", - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "suggest": { "ext-pcntl": "*" @@ -3824,7 +3750,7 @@ "type": "github" } ], - "time": "2024-07-17T06:35:16+00:00" + "time": "2024-09-29T07:04:02+00:00" }, { "name": "phpunit/php-text-template", @@ -3832,19 +3758,19 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "6e773cc9df58d063ceef93234c633e8dc50d21b1" + "reference": "20d18853f9a3da202c01565c55130fb2c95f0f57" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/6e773cc9df58d063ceef93234c633e8dc50d21b1", - "reference": "6e773cc9df58d063ceef93234c633e8dc50d21b1", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/20d18853f9a3da202c01565c55130fb2c95f0f57", + "reference": "20d18853f9a3da202c01565c55130fb2c95f0f57", "shasum": "" }, "require": { "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -3884,7 +3810,7 @@ "type": "github" } ], - "time": "2024-07-17T06:35:41+00:00" + "time": "2024-09-29T07:04:29+00:00" }, { "name": "phpunit/php-timer", @@ -3892,19 +3818,19 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "404370c0c9d97979a7a36348ee4451d3c3504314" + "reference": "2bcef0a54b678667378fb2f6eabd332eec28ed7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/404370c0c9d97979a7a36348ee4451d3c3504314", - "reference": "404370c0c9d97979a7a36348ee4451d3c3504314", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/2bcef0a54b678667378fb2f6eabd332eec28ed7e", + "reference": "2bcef0a54b678667378fb2f6eabd332eec28ed7e", "shasum": "" }, "require": { "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -3944,7 +3870,7 @@ "type": "github" } ], - "time": "2024-07-17T06:36:03+00:00" + "time": "2024-09-29T07:04:59+00:00" }, { "name": "phpunit/phpunit", @@ -4053,12 +3979,12 @@ "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "79dff0b268932c640297f5208d6298f71855c03e" + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/79dff0b268932c640297f5208d6298f71855c03e", - "reference": "79dff0b268932c640297f5208d6298f71855c03e", + "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", "shasum": "" }, "require": { @@ -4094,9 +4020,9 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/3.0.1" + "source": "https://github.com/php-fig/log/tree/3.0.2" }, - "time": "2024-08-21T13:31:24+00:00" + "time": "2024-09-11T13:17:53+00:00" }, { "name": "sebastian/cli-parser", @@ -4104,19 +4030,19 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "2694214f88b081aefd254d6199600e3fbf3e7f5e" + "reference": "c37c9e6127dcbaeb0c4778afb9101f61f2bc5969" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/2694214f88b081aefd254d6199600e3fbf3e7f5e", - "reference": "2694214f88b081aefd254d6199600e3fbf3e7f5e", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/c37c9e6127dcbaeb0c4778afb9101f61f2bc5969", + "reference": "c37c9e6127dcbaeb0c4778afb9101f61f2bc5969", "shasum": "" }, "require": { "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -4153,7 +4079,7 @@ "type": "github" } ], - "time": "2024-07-17T06:10:12+00:00" + "time": "2024-09-29T06:24:16+00:00" }, { "name": "sebastian/code-unit", @@ -4161,19 +4087,19 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "53937a3f64b64cc2a324dcf25889166a0dfdc236" + "reference": "83fcced885622ae51329748de2f713c2ff460eed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/53937a3f64b64cc2a324dcf25889166a0dfdc236", - "reference": "53937a3f64b64cc2a324dcf25889166a0dfdc236", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/83fcced885622ae51329748de2f713c2ff460eed", + "reference": "83fcced885622ae51329748de2f713c2ff460eed", "shasum": "" }, "require": { "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -4210,7 +4136,7 @@ "type": "github" } ], - "time": "2024-07-17T06:25:47+00:00" + "time": "2024-09-29T06:25:54+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -4218,19 +4144,19 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "56e67fc2d11653dd91c9d3a51bc16b678b110061" + "reference": "85662a56e440cdbcb14a6d9e3e07feb3b654b6db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/56e67fc2d11653dd91c9d3a51bc16b678b110061", - "reference": "56e67fc2d11653dd91c9d3a51bc16b678b110061", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/85662a56e440cdbcb14a6d9e3e07feb3b654b6db", + "reference": "85662a56e440cdbcb14a6d9e3e07feb3b654b6db", "shasum": "" }, "require": { "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -4266,7 +4192,7 @@ "type": "github" } ], - "time": "2024-07-17T06:28:02+00:00" + "time": "2024-09-29T06:55:58+00:00" }, { "name": "sebastian/comparator", @@ -4274,12 +4200,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "2d3e04c3b4c1e84a5e7382221ad8883c8fbc4f53" + "reference": "a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2d3e04c3b4c1e84a5e7382221ad8883c8fbc4f53", - "reference": "2d3e04c3b4c1e84a5e7382221ad8883c8fbc4f53", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e", + "reference": "a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e", "shasum": "" }, "require": { @@ -4290,7 +4216,7 @@ "sebastian/exporter": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^10.4" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -4335,7 +4261,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.2" + "source": "https://github.com/sebastianbergmann/comparator/tree/5.0" }, "funding": [ { @@ -4343,7 +4269,7 @@ "type": "github" } ], - "time": "2024-08-12T06:03:08+00:00" + "time": "2024-10-18T14:56:07+00:00" }, { "name": "sebastian/complexity", @@ -4351,12 +4277,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "32ea51fa0f24ec72c98c53e2ce78ff06e5bfbafe" + "reference": "3d89639d42d385d4e3ba1a235a24eafe40ab995c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/32ea51fa0f24ec72c98c53e2ce78ff06e5bfbafe", - "reference": "32ea51fa0f24ec72c98c53e2ce78ff06e5bfbafe", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/3d89639d42d385d4e3ba1a235a24eafe40ab995c", + "reference": "3d89639d42d385d4e3ba1a235a24eafe40ab995c", "shasum": "" }, "require": { @@ -4364,7 +4290,7 @@ "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -4401,7 +4327,7 @@ "type": "github" } ], - "time": "2024-07-17T06:34:07+00:00" + "time": "2024-09-29T06:57:41+00:00" }, { "name": "sebastian/diff", @@ -4409,19 +4335,19 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "ee6a6fefbf48cac376d8eec272585024f42ff7a3" + "reference": "eb50d310beb710c1fbbb8de600ed9d7ec28be385" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ee6a6fefbf48cac376d8eec272585024f42ff7a3", - "reference": "ee6a6fefbf48cac376d8eec272585024f42ff7a3", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/eb50d310beb710c1fbbb8de600ed9d7ec28be385", + "reference": "eb50d310beb710c1fbbb8de600ed9d7ec28be385", "shasum": "" }, "require": { "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.0", + "phpunit/phpunit": "^10.5", "symfony/process": "^6.4" }, "type": "library", @@ -4468,7 +4394,7 @@ "type": "github" } ], - "time": "2024-07-17T06:30:13+00:00" + "time": "2024-09-29T06:58:49+00:00" }, { "name": "sebastian/environment", @@ -4476,19 +4402,19 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "bae6ff4114353f650293dd3bf4d4ce2c7b321cf1" + "reference": "febdd1dca486af4e1b8d1ed7a0db4ddab0d5a7a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/bae6ff4114353f650293dd3bf4d4ce2c7b321cf1", - "reference": "bae6ff4114353f650293dd3bf4d4ce2c7b321cf1", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/febdd1dca486af4e1b8d1ed7a0db4ddab0d5a7a8", + "reference": "febdd1dca486af4e1b8d1ed7a0db4ddab0d5a7a8", "shasum": "" }, "require": { "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "suggest": { "ext-posix": "*" @@ -4532,7 +4458,7 @@ "type": "github" } ], - "time": "2024-07-17T06:30:33+00:00" + "time": "2024-09-29T06:59:16+00:00" }, { "name": "sebastian/exporter", @@ -4540,12 +4466,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "c328b4260bfe7b25187d5cab3859fdc9079218f2" + "reference": "4aceb7e6a74ec471a1ad824d7202ec4ea5c7433d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/c328b4260bfe7b25187d5cab3859fdc9079218f2", - "reference": "c328b4260bfe7b25187d5cab3859fdc9079218f2", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/4aceb7e6a74ec471a1ad824d7202ec4ea5c7433d", + "reference": "4aceb7e6a74ec471a1ad824d7202ec4ea5c7433d", "shasum": "" }, "require": { @@ -4554,7 +4480,7 @@ "sebastian/recursion-context": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -4610,7 +4536,7 @@ "type": "github" } ], - "time": "2024-07-17T06:30:53+00:00" + "time": "2024-09-29T07:00:08+00:00" }, { "name": "sebastian/global-state", @@ -4618,12 +4544,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "8889ce5745aed1ca531515069f1eb01b071297b8" + "reference": "63e42d7d47f0afeb531dce8a2e69173c97335d84" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/8889ce5745aed1ca531515069f1eb01b071297b8", - "reference": "8889ce5745aed1ca531515069f1eb01b071297b8", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/63e42d7d47f0afeb531dce8a2e69173c97335d84", + "reference": "63e42d7d47f0afeb531dce8a2e69173c97335d84", "shasum": "" }, "require": { @@ -4633,7 +4559,7 @@ }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -4672,7 +4598,7 @@ "type": "github" } ], - "time": "2024-07-17T06:31:10+00:00" + "time": "2024-09-29T07:00:35+00:00" }, { "name": "sebastian/lines-of-code", @@ -4680,12 +4606,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "da76c0ecddbe676bffc36578e6ce80f7826066b6" + "reference": "be42b61b0c09d80e31315394ad02f9e8265c5780" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/da76c0ecddbe676bffc36578e6ce80f7826066b6", - "reference": "da76c0ecddbe676bffc36578e6ce80f7826066b6", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/be42b61b0c09d80e31315394ad02f9e8265c5780", + "reference": "be42b61b0c09d80e31315394ad02f9e8265c5780", "shasum": "" }, "require": { @@ -4693,7 +4619,7 @@ "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -4730,7 +4656,7 @@ "type": "github" } ], - "time": "2024-07-17T06:31:30+00:00" + "time": "2024-09-29T07:01:14+00:00" }, { "name": "sebastian/object-enumerator", @@ -4738,12 +4664,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "bc0b43b8f1eeb5eb690c59dc0b7aa640220fa130" + "reference": "67c331ffb8e77a9d8129193dd0c60f568c2bd49f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/bc0b43b8f1eeb5eb690c59dc0b7aa640220fa130", - "reference": "bc0b43b8f1eeb5eb690c59dc0b7aa640220fa130", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/67c331ffb8e77a9d8129193dd0c60f568c2bd49f", + "reference": "67c331ffb8e77a9d8129193dd0c60f568c2bd49f", "shasum": "" }, "require": { @@ -4752,7 +4678,7 @@ "sebastian/recursion-context": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -4788,7 +4714,7 @@ "type": "github" } ], - "time": "2024-07-17T06:32:06+00:00" + "time": "2024-09-29T07:02:13+00:00" }, { "name": "sebastian/object-reflector", @@ -4796,19 +4722,19 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "6e68c7fa8a96a2c4610d59128e2f70151e77725a" + "reference": "bcd028a491280d802fe97e72748326196bcde7f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/6e68c7fa8a96a2c4610d59128e2f70151e77725a", - "reference": "6e68c7fa8a96a2c4610d59128e2f70151e77725a", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/bcd028a491280d802fe97e72748326196bcde7f9", + "reference": "bcd028a491280d802fe97e72748326196bcde7f9", "shasum": "" }, "require": { "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -4844,7 +4770,7 @@ "type": "github" } ], - "time": "2024-07-17T06:32:36+00:00" + "time": "2024-09-29T07:02:50+00:00" }, { "name": "sebastian/recursion-context", @@ -4852,19 +4778,19 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "000f42a8f52451ec8e73f38c14781a14ea399cf2" + "reference": "18e76a35cec6ee7547029064ea1a257d9d75ebf0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/000f42a8f52451ec8e73f38c14781a14ea399cf2", - "reference": "000f42a8f52451ec8e73f38c14781a14ea399cf2", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/18e76a35cec6ee7547029064ea1a257d9d75ebf0", + "reference": "18e76a35cec6ee7547029064ea1a257d9d75ebf0", "shasum": "" }, "require": { "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -4908,7 +4834,7 @@ "type": "github" } ], - "time": "2024-07-17T06:36:38+00:00" + "time": "2024-09-29T07:05:35+00:00" }, { "name": "sebastian/type", @@ -4916,19 +4842,19 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "01f0cde154e477e65c143ed354687b7a800712ff" + "reference": "d59649a0eb6a5fdd22ea41e87fc1ca268f1c6a8e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/01f0cde154e477e65c143ed354687b7a800712ff", - "reference": "01f0cde154e477e65c143ed354687b7a800712ff", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/d59649a0eb6a5fdd22ea41e87fc1ca268f1c6a8e", + "reference": "d59649a0eb6a5fdd22ea41e87fc1ca268f1c6a8e", "shasum": "" }, "require": { "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -4965,7 +4891,7 @@ "type": "github" } ], - "time": "2024-07-17T06:36:57+00:00" + "time": "2024-09-29T07:06:05+00:00" }, { "name": "sebastian/version", @@ -4973,12 +4899,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "cc835c21ef77e6200d6486e0ba2b794e95a27524" + "reference": "92ded34a7ac2cece0a3ae576e4850fcdd2276634" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/cc835c21ef77e6200d6486e0ba2b794e95a27524", - "reference": "cc835c21ef77e6200d6486e0ba2b794e95a27524", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/92ded34a7ac2cece0a3ae576e4850fcdd2276634", + "reference": "92ded34a7ac2cece0a3ae576e4850fcdd2276634", "shasum": "" }, "require": { @@ -5019,7 +4945,7 @@ "type": "github" } ], - "time": "2024-03-22T13:54:54+00:00" + "time": "2024-09-07T13:16:02+00:00" }, { "name": "symfony/console", @@ -5027,12 +4953,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "ee7ee22b1dabcff731b7d79d3633c96251ad8404" + "reference": "23c8aae6d764e2bae02d2a99f7532a7f6ed619cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/ee7ee22b1dabcff731b7d79d3633c96251ad8404", - "reference": "ee7ee22b1dabcff731b7d79d3633c96251ad8404", + "url": "https://api.github.com/repos/symfony/console/zipball/23c8aae6d764e2bae02d2a99f7532a7f6ed619cf", + "reference": "23c8aae6d764e2bae02d2a99f7532a7f6ed619cf", "shasum": "" }, "require": { @@ -5112,7 +5038,7 @@ "type": "tidelift" } ], - "time": "2024-08-30T15:40:32+00:00" + "time": "2024-11-06T14:24:19+00:00" }, { "name": "symfony/polyfill-ctype", @@ -5120,16 +5046,16 @@ "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "0424dff1c58f028c451efff2045f5d92410bd540" + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/0424dff1c58f028c451efff2045f5d92410bd540", - "reference": "0424dff1c58f028c451efff2045f5d92410bd540", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "provide": { "ext-ctype": "*" @@ -5176,7 +5102,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" }, "funding": [ { @@ -5192,7 +5118,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T15:07:36+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-intl-grapheme", @@ -5200,16 +5126,16 @@ "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a" + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/64647a7c30b2283f5d49b874d84a18fc22054b7a", - "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "suggest": { "ext-intl": "For best performance" @@ -5255,7 +5181,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0" }, "funding": [ { @@ -5271,7 +5197,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T15:07:36+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/process", @@ -5279,12 +5205,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "bb0a8b7772610211c2cd7d6e4e36acfcbadcb613" + "reference": "d34b22ba9390ec19d2dd966c40aa9e8462f27a7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/bb0a8b7772610211c2cd7d6e4e36acfcbadcb613", - "reference": "bb0a8b7772610211c2cd7d6e4e36acfcbadcb613", + "url": "https://api.github.com/repos/symfony/process/zipball/d34b22ba9390ec19d2dd966c40aa9e8462f27a7e", + "reference": "d34b22ba9390ec19d2dd966c40aa9e8462f27a7e", "shasum": "" }, "require": { @@ -5332,7 +5258,7 @@ "type": "tidelift" } ], - "time": "2024-07-29T06:33:22+00:00" + "time": "2024-11-06T14:24:19+00:00" }, { "name": "symfony/service-contracts", @@ -5340,12 +5266,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" + "reference": "5ad38698559cf88b6296629e19b15ef3239c9d7a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", - "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/5ad38698559cf88b6296629e19b15ef3239c9d7a", + "reference": "5ad38698559cf88b6296629e19b15ef3239c9d7a", "shasum": "" }, "require": { @@ -5360,7 +5286,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.5-dev" + "dev-main": "3.6-dev" }, "thanks": { "name": "symfony/contracts", @@ -5400,7 +5326,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" + "source": "https://github.com/symfony/service-contracts/tree/main" }, "funding": [ { @@ -5416,7 +5342,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:32:20+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { "name": "symfony/string", @@ -5424,12 +5350,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "c38cbd6dcf2a45bcfbd79fb89d6bd08f7afdc7dc" + "reference": "446e0d146f991dde3e73f45f2c97a9faad773c82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/c38cbd6dcf2a45bcfbd79fb89d6bd08f7afdc7dc", - "reference": "c38cbd6dcf2a45bcfbd79fb89d6bd08f7afdc7dc", + "url": "https://api.github.com/repos/symfony/string/zipball/446e0d146f991dde3e73f45f2c97a9faad773c82", + "reference": "446e0d146f991dde3e73f45f2c97a9faad773c82", "shasum": "" }, "require": { @@ -5503,7 +5429,7 @@ "type": "tidelift" } ], - "time": "2024-08-12T10:26:02+00:00" + "time": "2024-11-13T13:31:26+00:00" }, { "name": "symfony/var-dumper", @@ -5511,12 +5437,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "f74e6c4199357f1b566a67bbe834ebd7de658839" + "reference": "c6a22929407dec8765d6e2b6ff85b800b245879c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/f74e6c4199357f1b566a67bbe834ebd7de658839", - "reference": "f74e6c4199357f1b566a67bbe834ebd7de658839", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/c6a22929407dec8765d6e2b6ff85b800b245879c", + "reference": "c6a22929407dec8765d6e2b6ff85b800b245879c", "shasum": "" }, "require": { @@ -5532,7 +5458,7 @@ "symfony/http-kernel": "^6.4|^7.0", "symfony/process": "^6.4|^7.0", "symfony/uid": "^6.4|^7.0", - "twig/twig": "^3.12|^4.0" + "twig/twig": "^3.12" }, "bin": [ "Resources/bin/var-dump-server" @@ -5586,7 +5512,7 @@ "type": "tidelift" } ], - "time": "2024-09-02T15:30:47+00:00" + "time": "2024-11-08T15:48:14+00:00" }, { "name": "ta-tikoma/phpunit-architecture-test", @@ -5758,13 +5684,11 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": { - "larapack/dd": 20 - }, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=8.0" + "php": ">=8.1" }, "platform-dev": [], "plugin-api-version": "2.6.0" diff --git a/src/Cart.php b/src/Cart.php index 17838b9..f0b6f1e 100644 --- a/src/Cart.php +++ b/src/Cart.php @@ -1,12 +1,12 @@ get($productId)) { - $conditionInstance = '\\Wearepixel\\Cart\\CartCondition'; + $conditionInstance = '\\Joelwmale\\Cart\\CartCondition'; if ($itemCondition instanceof $conditionInstance) { // we need to copy first to a temporary variable to hold the conditions - // to avoid hitting this error "Indirect modification of overloaded element of Wearepixel\Cart\ItemCollection has no effect" + // to avoid hitting this error "Indirect modification of overloaded element of Joelwmale\Cart\ItemCollection has no effect" // this is due to laravel Collection instance that implements Array Access // // see link for more info: http://stackoverflow.com/questions/20053269/indirect-modification-of-overloaded-element-of-splfixedarray-has-no-effect $itemConditionTempHolder = $product['conditions']; @@ -313,7 +313,7 @@ public function condition(array|CartCondition $condition): self } if (! $condition instanceof CartCondition) { - throw new InvalidConditionException('Argument 1 must be an instance of \'Wearepixel\Cart\CartCondition\''); + throw new InvalidConditionException('Argument 1 must be an instance of \'Joelwmale\Cart\CartCondition\''); } $conditions = $this->getConditions(); @@ -448,7 +448,7 @@ public function removeItemCondition($itemId, $conditionName) // on the given condition name the user wants to remove, if so, // lets just make $item['conditions'] an empty array as there's just 1 condition on it anyway else { - $conditionInstance = 'Wearepixel\\Cart\\CartCondition'; + $conditionInstance = 'Joelwmale\\Cart\\CartCondition'; if ($item['conditions'] instanceof $conditionInstance) { if ($tempConditionsHolder->getName() == $conditionName) { @@ -764,7 +764,7 @@ protected function itemHasConditions($item) return count($item['conditions']) > 0; } - $conditionInstance = 'Wearepixel\\Cart\\CartCondition'; + $conditionInstance = 'Joelwmale\\Cart\\CartCondition'; if ($item['conditions'] instanceof $conditionInstance) { return true; diff --git a/src/CartCollection.php b/src/CartCollection.php index 18ee559..b08a088 100644 --- a/src/CartCollection.php +++ b/src/CartCollection.php @@ -1,6 +1,6 @@ 0; } - $conditionInstance = 'Wearepixel\\Cart\\CartCondition'; + $conditionInstance = 'Joelwmale\\Cart\\CartCondition'; if ($this['conditions'] instanceof $conditionInstance) { return true; } diff --git a/src/Validators/CartConditionValidator.php b/src/Validators/CartConditionValidator.php index 8cb4b8d..d0182fc 100644 --- a/src/Validators/CartConditionValidator.php +++ b/src/Validators/CartConditionValidator.php @@ -1,5 +1,5 @@ cart->get(1); - expect($item->attributes)->toBeInstanceOf('Wearepixel\\Cart\\ItemAttributeCollection'); + expect($item->attributes)->toBeInstanceOf('Joelwmale\\Cart\\ItemAttributeCollection'); // now lets update the item with its new attributes // when we get that item from cart, it should still be an instance of ItemAttributeCollection @@ -162,7 +162,7 @@ $this->cart->update(1, $updatedItem); - expect($item->attributes)->toBeInstanceOf('Wearepixel\\Cart\\ItemAttributeCollection'); + expect($item->attributes)->toBeInstanceOf('Joelwmale\\Cart\\ItemAttributeCollection'); }); test('item orders are preserved by the order they are added', function () { @@ -298,19 +298,19 @@ }); test('should throw an exception when no quantity is provided', function () { - $this->expectException('Wearepixel\Cart\Exceptions\InvalidItemException'); + $this->expectException('Joelwmale\Cart\Exceptions\InvalidItemException'); $this->expectExceptionMessage('The quantity must be at least 0.1.'); $this->cart->add(455, 'Sample Item', 100.99, 0, []); }); test('should throw an exception when no id is provided', function () { - $this->expectException('Wearepixel\Cart\Exceptions\InvalidItemException'); + $this->expectException('Joelwmale\Cart\Exceptions\InvalidItemException'); $this->expectExceptionMessage('The id field is required.'); $this->cart->add('', 'Sample Item', 100.99, 2, []); }); test('should throw an exception when no name is provided', function () { - $this->expectException('Wearepixel\Cart\Exceptions\InvalidItemException'); + $this->expectException('Joelwmale\Cart\Exceptions\InvalidItemException'); $this->expectExceptionMessage('The name field is required.'); $this->cart->add(523, '', 100.99, 2, []); }); @@ -646,7 +646,7 @@ expect($this->cart->getContent()->count())->toEqual(1, 'Cart should have 1 item on it'); expect($this->cart->getContent()->first()['id'])->toEqual(456, 'The first content must have ID of 456'); expect($this->cart->getContent()->first()['name'])->toEqual('Sample Item', 'The first content must have name of "Sample Item"'); - expect($addedItem->model)->toBeInstanceOf('Wearepixel\Cart\Tests\Helpers\MockProduct'); + expect($addedItem->model)->toBeInstanceOf('Joelwmale\Cart\Tests\Helpers\MockProduct'); }); test('cart can add items with multidimensional array with associated model', function () { @@ -681,7 +681,7 @@ $content = $this->cart->getContent(); foreach ($content as $item) { - expect($item->model)->toBeInstanceOf('Wearepixel\Cart\Tests\Helpers\MockProduct'); + expect($item->model)->toBeInstanceOf('Joelwmale\Cart\Tests\Helpers\MockProduct'); } expect($this->cart->isEmpty())->toBeFalse('Cart should not be empty'); diff --git a/tests/Unit/CartTestEventsTest.php b/tests/Unit/CartTestEventsTest.php index d098ea0..686de6a 100644 --- a/tests/Unit/CartTestEventsTest.php +++ b/tests/Unit/CartTestEventsTest.php @@ -1,7 +1,7 @@ 'SALE 5%', 'type' => 'sale', 'target' => 'item', @@ -77,7 +77,7 @@ }); test('it will throw an exception when a non existing model is being associated', function () { - $this->expectException(\Wearepixel\Cart\Exceptions\UnknownModelException::class); + $this->expectException(\Joelwmale\Cart\Exceptions\UnknownModelException::class); $this->expectExceptionMessage('The supplied model SomeModel does not exist.'); $this->cart->add(1, 'Test item', 1, 10.00)->associate('SomeModel'); diff --git a/tests/Unit/ItemTestOtherFormatTest.php b/tests/Unit/ItemTestOtherFormatTest.php index 928e8af..025d72c 100644 --- a/tests/Unit/ItemTestOtherFormatTest.php +++ b/tests/Unit/ItemTestOtherFormatTest.php @@ -1,7 +1,7 @@