Skip to content

Commit

Permalink
A little bit of clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
inxilpro committed Sep 14, 2023
1 parent 45b18be commit cd324c6
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 98 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/phpstan.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) :vendor_name <[email protected]>
Copyright (c) Kathunk, Inc. and Chris Morrell

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Verbs

## An event sourcing package for people who don't hate themselves

Write some docs.
Write some docs.
5 changes: 0 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,11 @@
"laravel/pint": "^1.0",
"mockery/mockery": "^1.5",
"nunomaduro/collision": "^7.9",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^8.0",
"pestphp/pest": "^2.0",
"pestphp/pest-plugin-arch": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0",
"pestphp/pest-plugin-watch": "^2.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"spatie/laravel-ray": "^1.26"
},
"autoload": {
Expand All @@ -57,7 +53,6 @@
},
"scripts": {
"post-autoload-dump": "@php ./vendor/bin/testbench package:discover --ansi",
"analyse": "vendor/bin/phpstan analyse",
"test": "vendor/bin/pest",
"test-coverage": "vendor/bin/pest --coverage",
"format": "vendor/bin/pint"
Expand Down
11 changes: 0 additions & 11 deletions config/verbs.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
<?php

return [
// We generate a new snowflake ID for each event
// snowflakes include a timestamp relative to this date
// we don't use the Unix epoch because it's too far in the past
// and we want these events to be good for a long long long time.
'snowflake_start_date' => '2000-01-01',

// You can have up to 31 datacenters and 31 workers in each datacenter.
// To ensure you do not have ID collisions, each machine that dispatches
// events should have a unique worker ID.
'snowflake_datacenter_id' => env('SNOWFLAKE_DATACENTER_ID'),
'snowflake_worker_id' => env('SNOWFLAKE_WORKER_ID'),
];
19 changes: 0 additions & 19 deletions database/factories/ModelFactory.php

This file was deleted.

2 changes: 1 addition & 1 deletion database/migrations/create_verb_events_table.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ return new class extends Migration
{
Schema::create('verb_events', function (Blueprint $table) {
$table->bigInteger('id')->unsigned()->primary();
$table->bigInteger('context_id')->unsigned()->nullable()->index();
$table->bigInteger('state_id')->unsigned()->nullable()->index();

$table->string('event_type')->index();
$table->json('event_data');
Expand Down
Empty file removed phpstan-baseline.neon
Empty file.
16 changes: 0 additions & 16 deletions phpstan.neon.dist

This file was deleted.

18 changes: 0 additions & 18 deletions phpunit.xml.bak

This file was deleted.

Empty file removed resources/views/.gitkeep
Empty file.

0 comments on commit cd324c6

Please sign in to comment.