From 55efbc0ac3e22b5108bb2c4084e5fca1696f70e5 Mon Sep 17 00:00:00 2001 From: Trex Lim Date: Wed, 22 Nov 2017 13:18:24 +0800 Subject: [PATCH 01/34] renamed all namespaces --- README.md | 14 +- composer.json | 21 ++- docs/ASSEMBLIES.md | 4 +- docs/INSTALLATION.md | 152 +++++++++--------- docs/TRANSACTIONS.md | 10 +- docs/UPDATES.md | 22 +-- docs/USAGE.md | 14 +- phpunit.xml | 4 +- .../DatabaseTableReservedException.php | 2 +- .../Commands/DependencyNotFoundException.php | 2 +- src/Exceptions/InvalidMovementException.php | 2 +- src/Exceptions/InvalidPartException.php | 2 +- src/Exceptions/InvalidQuantityException.php | 2 +- .../InvalidTransactionStateException.php | 2 +- src/Exceptions/NoUserLoggedInException.php | 2 +- src/Exceptions/NotEnoughStockException.php | 2 +- src/Exceptions/SkuAlreadyExistsException.php | 2 +- .../StockAlreadyExistsException.php | 2 +- src/Exceptions/StockNotFoundException.php | 2 +- src/Helper.php | 4 +- src/Interfaces/StateableInterface.php | 2 +- src/InventoryServiceProvider.php | 2 +- src/Models/BaseModel.php | 2 +- src/Models/Category.php | 6 +- src/Models/Inventory.php | 8 +- src/Models/InventorySku.php | 4 +- src/Models/InventoryStock.php | 4 +- src/Models/InventoryStockMovement.php | 4 +- src/Models/InventoryTransaction.php | 6 +- src/Models/InventoryTransactionHistory.php | 4 +- src/Models/Location.php | 2 +- src/Models/Metric.php | 2 +- src/Models/Supplier.php | 4 +- src/Traits/AssemblyTrait.php | 12 +- src/Traits/CategoryTrait.php | 2 +- src/Traits/CommonMethodsTrait.php | 4 +- src/Traits/InventorySkuTrait.php | 2 +- src/Traits/InventoryStockMovementTrait.php | 4 +- src/Traits/InventoryStockTrait.php | 10 +- src/Traits/InventoryTrait.php | 12 +- .../InventoryTransactionHistoryTrait.php | 4 +- src/Traits/InventoryTransactionTrait.php | 24 +-- src/Traits/InventoryVariantTrait.php | 2 +- src/Traits/SupplierTrait.php | 2 +- tests/FunctionalTestCase.php | 4 +- 45 files changed, 204 insertions(+), 195 deletions(-) diff --git a/README.md b/README.md index 728f1dc4..258aad45 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ # Inventory -[![Travis CI](https://img.shields.io/travis/stevebauman/inventory/v1.7.5.svg?style=flat-square)](https://travis-ci.org/stevebauman/inventory) -[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/stevebauman/inventory.svg?style=flat-square)](https://scrutinizer-ci.com/g/stevebauman/inventory/?branch=master) +[![Travis CI](https://img.shields.io/travis/trexology/laravel-inventory/v1.7.5.svg?style=flat-square)](https://travis-ci.org/trexology/laravel-inventory) +[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/trexology/laravel-inventory.svg?style=flat-square)](https://scrutinizer-ci.com/g/trexology/laravel-inventory/?branch=master) [![SensioLabsInsight](https://img.shields.io/sensiolabs/i/69e0abf0-cd74-4d4d-b40c-e943c4a7eea9.svg?style=flat-square)](https://insight.sensiolabs.com/projects/69e0abf0-cd74-4d4d-b40c-e943c4a7eea9) -[![Latest Stable Version](https://img.shields.io/packagist/v/stevebauman/inventory.svg?style=flat-square)](https://packagist.org/packages/stevebauman/inventory) -[![Total Downloads](https://img.shields.io/packagist/dt/stevebauman/inventory.svg?style=flat-square)](https://packagist.org/packages/stevebauman/inventory) -[![License](https://img.shields.io/packagist/l/stevebauman/inventory.svg?style=flat-square)](https://packagist.org/packages/stevebauman/inventory) +[![Latest Stable Version](https://img.shields.io/packagist/v/trexology/laravel-inventory.svg?style=flat-square)](https://packagist.org/packages/trexology/laravel-inventory) +[![Total Downloads](https://img.shields.io/packagist/dt/trexology/laravel-inventory.svg?style=flat-square)](https://packagist.org/packages/trexology/laravel-inventory) +[![License](https://img.shields.io/packagist/l/trexology/laravel-inventory.svg?style=flat-square)](https://packagist.org/packages/trexology/laravel-inventory) ## Index -[![Join the chat at https://gitter.im/stevebauman/inventory](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/stevebauman/inventory?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Join the chat at https://gitter.im/trexology/laravel-inventory](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/trexology/laravel-inventory?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)