I hereby claim:
- I am vasiliy-bondarenko on github.
- I am vasiliyab (https://keybase.io/vasiliyab) on keybase.
- I have a public key ASBTmJWEYNg7yjOUBuS1El-dHKzcrcGlNH-w-SLQEnYykgo
To claim this, I am signing this object:
<?php | |
/* | |
* 99 Bottles Test - PHP version. | |
* This is a port of the test from Sandi Metz new book "99 Bottles of OOP" | |
* The Book: https://www.sandimetz.com/99bottles/ | |
* Test description: https://www.sandimetz.com/99bottles/sample#appendix-exercise | |
*/ | |
namespace Tests\Feature; |
<?php | |
namespace Tests\Feature; | |
use Tests\TestCase; | |
use Tests\withTestingEnvironment; | |
use Zttp\Zttp; | |
class WebhooksTest extends TestCase | |
{ |
<?php namespace App\Queries; | |
use App\Models\User; | |
use Illuminate\Contracts\Pagination\Paginator; | |
use Illuminate\Database\Eloquent\Collection; | |
use Illuminate\Http\Request; | |
class CommentIndexQuery | |
{ | |
/** @var Request */ |
<?php | |
namespace App\Providers; | |
use Illuminate\Database\Eloquent\Builder; | |
use Illuminate\Support\ServiceProvider; | |
use Log; | |
use Route; | |
class AppServiceProvider extends ServiceProvider |
I hereby claim:
To claim this, I am signing this object:
-- create audit_log table | |
CREATE TABLE audit_log ( | |
id BIGSERIAL PRIMARY KEY, -- autoincrementing id - this is how ISP can reliably query this table | |
object_type VARCHAR(255), -- transaction, customer, account | |
object_id BIGINT, -- initial object id | |
product VARCHAR(20) NULL, -- SET, FI, etc or null for non-transactions | |
side VARCHAR(10) NULL, -- BUY, SELL, etc or null | |
action VARCHAR(10) NOT NULL, -- INSERT, UPDATE, DELETE | |
timestamp TIMESTAMP NOT NULL, -- timestamp of the event | |
old_row_data JSON NULL, -- old row data or null (for inserts) |
class TreasuryReportCalculationMatrix: | |
product: string | |
order_side: string | |
payment: string | |
status: string | |
add_to_estimated_receive: bool | |
add_to_actual_receive: bool | |
add_to_estimated_pay: bool | |
add_to_actual_pay: bool |