aboutsummaryrefslogtreecommitdiffstats
path: root/oni-php
Commit message (Collapse)AuthorAgeFilesLines
* Change build output directoryGravatar Tom Willemse24 hours1-1/+1
| | | | | | Put everything in public/pakages so that at a later date I can add a project site along with the packages. This change also makes it easier for me to change my mind about where the packages land.
* oni-php: Add dependency on php-modeGravatar Tom Willemse30 hours1-2/+2
| | | | | I removed it when I was experimenting with php-ts-mode, but that isn't yet what I'd like it to be, so I'm back to using php-mode for now.
* GNUmakefile: Update package recipesGravatar Tom Willemse30 hours2-18/+4
| | | | | These packages don't have snippets anymore and therefore aren't multi-file packages anymore.
* oni-yasnippet: Move all snippets to ‘oni-yasnippet’Gravatar Tom Willemse2026-05-2825-169/+0
| | | | | There is no real point in having them all separate. Having them all in a single place makes them much easier to manage.
* oni-php: Add BelongsTo type comment for return typesGravatar Tom Willemse2026-05-211-1/+13
|
* oni-php: Remove ggtags dependencyGravatar Tom Willemse2026-05-151-3/+2
| | | | Using dumb-jump instead
* oni-php: Add phpstan-ignore snippetGravatar Tom Willemse2026-05-141-0/+5
|
* oni-php: Add corfu setupGravatar Tom Willemse2026-05-141-2/+3
|
* oni-php: Remove companyGravatar Tom Willemse2026-05-141-7/+2
|
* oni-php: Add command to ignore the error at pointGravatar Tom Willemse2026-05-081-1/+22
|
* oni-php: Add dabbrev settingGravatar Tom Willemse2026-05-051-1/+6
|
* oni-php: oni-php-grep-symbol: If region is active, grep ↵Gravatar Tom Willemse2026-05-051-1/+8
| | | | that instead
* oni-php: Update some snippetsGravatar Tom Willemse2026-05-053-0/+10
|
* oni-php: Fix up inserting ‘->’ vs ‘::’Gravatar Tom Willemse2026-04-131-5/+4
| | | | | When we're looking at a ‘)’ it should be ‘->’ since we can't return a static class in that case.
* oni-php: Add auto-insert template for .php filesGravatar Tom Willemse2026-04-072-8/+33
|
* oni-php: ‘oni-php-comment-dwim’: Add ‘@use’ templateGravatar Tom Willemse2026-04-071-8/+25
|
* oni-php: ‘oni-php-insert-dot-dwim’: Improve ↵Gravatar Tom Willemse2026-04-071-1/+2
| | | | detection ‘::’ vs ‘->’
* oni-php: oni-php-insert-dot-dwim: Add ‘::’ operatorGravatar Tom Willemse2026-04-061-5/+21
|
* oni-php: Bring back ‘oni-php-comment-dwim’Gravatar Tom Willemse2026-04-011-14/+14
|
* oni-php: Add require for ‘map’Gravatar Tom Willemse2026-03-271-1/+2
| | | | Hopefully this helps to make sure that ‘(setf (map-elt))’ will work.
* oni-php: Remove php-ts-mode: It's not quite readyGravatar Tom Willemse2026-03-271-26/+25
| | | | | | Rainbow delimiters mode breaks with large annotations. Functions work slightly differently, so integrations don't work as well. Navigation is unpleasantly different.
* Revert "oni-php: Add PHP treesitter override"Gravatar Tom Willemse2026-03-271-8/+1
| | | | This reverts commit 448b78d47b0a18239f00526772b4a660be01363c.
* oni-php: Simplify ‘oni-php-add-use’Gravatar Tom Willemse2026-03-261-2/+2
|
* oni-php: Add command to search for symbol at point, add ↵Gravatar Tom Willemse2026-03-261-0/+10
| | | | keybindings
* oni-php: Add PHP treesitter overrideGravatar Tom Willemse2026-03-161-1/+8
|
* oni-php: Switch out ‘php-mode’ for ‘php-ts-mode’Gravatar Tom Willemse2026-03-162-38/+40
|
* oni-php: Add some snippetsGravatar Tom Willemse2026-03-104-0/+25
|
* find-php-class: Ignore cdk.out directoryGravatar Tom Willemse2026-03-091-1/+4
| | | | | This directory is large and slows down the find operation AND causes old matches to show up.
* oni-php: oni-php-comment-dwim: Require inactive regionGravatar Tom Willemse2026-03-091-1/+2
| | | | | If the region is active, don't try to be smart about what to insert, just do the normal ‘comment-dwim’.
* oni-php: ‘oni-php-add-use’: Search for existing use ↵Gravatar Tom Willemse2026-02-091-2/+2
| | | | | | | | more strictly Before searching for ‘App\Models\Promotion’ would also match ‘App\Models\PromotionBulkImport’ and not add the use, but by searching for ‘use App\Models\Promotion;’ we ensure that we don't accidentally match a substring.
* oni-php/snippets/test-comment: Update test method annotationGravatar Tom Willemse2026-02-091-1/+1
| | | | We don't use comments anymore, but annotations instead.
* oni-php/snippets/test-class: Remove WithFakerGravatar Tom Willemse2026-02-091-2/+1
| | | | We can use ‘$this->faker()’ instead.
* oni-php/snippets/namespace: Don't capitalize already ↵Gravatar Tom Willemse2026-02-091-1/+5
| | | | | | | capitalized If a part of the directory tree is already capitalized a certain way, don't capitalize it.
* oni-php: Add conditions to expanding short snippetsGravatar Tom Willemse2026-01-084-1/+13
|
* oni-php: Remove unused snippetGravatar Tom Willemse2026-01-081-8/+0
|
* oni-php: Add rainbow-identifiers modeGravatar Tom Willemse2025-12-221-2/+11
|
* oni-php: Add snippetsGravatar Tom Willemse2025-12-104-2/+26
|
* oni-php: Add snippetsGravatar Tom Willemse2025-05-202-0/+12
|
* oni-php: Change key of test-comment snippet to @tGravatar Tom Willemse2025-05-201-1/+1
|
* oni-php: Add auto-insert template for Laravel test filesGravatar Tom Willemse2025-04-161-1/+26
|
* oni-php: Add logger-info snippetGravatar Tom Willemse2025-04-101-0/+5
|
* oni-php: Add more snippetsGravatar Tom Willemse2025-04-072-0/+13
|
* oni-php: Swap electric-pair-mode for smartparensGravatar Tom Willemse2025-04-071-2/+2
|
* oni-php: Make sure imports aren't duplicatedGravatar Tom Willemse2025-04-071-5/+6
|
* oni-php: Fix casts snippetGravatar Tom Willemse2025-04-071-1/+1
|
* oni-php: Add ‘rainbow-delimiters-mode’Gravatar Tom Willemse2025-04-071-3/+4
|
* oni-php: Make ‘oni-php-comment-dwim’ work with classesGravatar Tom Willemse2025-04-071-2/+3
|
* Add strict-types snippet to PHPGravatar Tom Willemse2025-04-071-0/+5
|
* Add casts snippet to PHPGravatar Tom Willemse2025-04-071-0/+7
|
* oni-php: Add function that makes ‘comment-dwim’ add ↵Gravatar Tom Willemse2025-02-111-1/+24
| | | | | | | | doc comments This checks to see if point is right before a function and if so adds a documentation comment. Otherwise it calls to the original ‘comment-dwim’ to do the right thing for that particular place.