Skip to content

Instantly share code, notes, and snippets.

View ace-of-aces's full-sized avatar

Julian Schramm ace-of-aces

View GitHub Profile
@ace-of-aces
ace-of-aces / pest-ide-helper.php
Created December 31, 2025 12:36
A helper file to improve Intellisense for PestPHP tests in VSCode
<?php
use Pest\Concerns\Expectable;
use Pest\PendingCalls\BeforeEachCall;
use Pest\PendingCalls\TestCall;
use Pest\Support\HigherOrderTapProxy;
use Tests\TestCase;
/**
* Runs the given closure before all tests in the current file.
@ace-of-aces
ace-of-aces / settings.json
Created July 8, 2025 13:54
Commit message instructions for GitHub copilot
"github.copilot.chat.commitMessageGeneration.instructions": [
{
"text": "Follow the Conventional Commits format strictly for commit messages. Use lowercase only, except for special words. Keep it concise. \n\n Examples:\n- feat: add new feature\n- fix: resolve issue with login\n- docs: update documentation\n- style: improve formatting\n- refactor: optimize code structure\n- test: add unit tests for new feature\n- chore: update deps",
}
],
@ace-of-aces
ace-of-aces / App\Helper\emoji.php
Created June 12, 2025 23:44
All Laravel Helper Functions as Emojis 🤠
<?php
use Illuminate\Broadcasting\FakePendingBroadcast;
use Illuminate\Container\Container;
use Illuminate\Contracts\Auth\Access\Gate;
use Illuminate\Contracts\Auth\Factory as AuthFactory;
use Illuminate\Contracts\Broadcasting\Factory as BroadcastFactory;
use Illuminate\Contracts\Bus\Dispatcher;
use Illuminate\Contracts\Cookie\Factory as CookieFactory;
use Illuminate\Contracts\Debug\ExceptionHandler;