mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -08:00
99cc8293ef
* Refactored AssetsTransformer Casted all ids to int, escaped all text values, * Added warranty_expires attribute to Asset model $asset->warranty_expires contains a Carbon object with the warranty expiration date. Returns null when either purchase_date or warranty_months are not set. * Ignoring php-cs cache files * Restored asset tests expectations Work in progress - tests still fail * API controller refactoring, fixed HTTP status codes in responses * Restored $request->get - debugging * Added further checks in ApiAssetsCest::updateAssetWithPatch * Fixed undefined method * Fixed initial underscore trimmed by str_slug * CustomFieldTest now works where intl PHP extension is not installed If a server doesn't have the intl php extension installed, the custom fields tests failed. Now the tests perform the same check done in the CustomField class. |
||
---|---|---|
.. | ||
Accessory.php | ||
Actionlog.php | ||
Asset.php | ||
AssetMaintenance.php | ||
AssetModel.php | ||
Category.php | ||
CheckoutRequest.php | ||
Company.php | ||
CompanyableChildScope.php | ||
CompanyableChildTrait.php | ||
CompanyableScope.php | ||
CompanyableTrait.php | ||
Component.php | ||
Consumable.php | ||
ConsumableAssignment.php | ||
CustomField.php | ||
CustomFieldset.php | ||
Depreciable.php | ||
Depreciation.php | ||
Group.php | ||
ICompanyableChild.php | ||
Import.php | ||
Ldap.php | ||
License.php | ||
LicenseSeat.php | ||
Location.php | ||
Loggable.php | ||
Manufacturer.php | ||
Requestable.php | ||
Setting.php | ||
SnipeModel.php | ||
Statuslabel.php | ||
Supplier.php | ||
Throttle.php | ||
User.php |