Files
vscode/extensions
David FreerandRob Lourens 89636b9b4c PHP Snippets Quality of Life and Continuity (#174889)
* QoL & continuity update to existing php snippets

- Sorted snippets by snippet title for discoverability
- Removed all doc comments from non 'doc_' prefixed snippets
- Added doc_trait for continuity with other patterns
- Updated snippet prefixes
	- Add kvp to keyval
	- Prefixed fun with class_
	- Changed doc_param to doc_var
	- Qualified 'con' to 'constructor' to not be confused with const
- Updated class snippet to default the 'class' placeholder to the file's base name
- Add snippet choices for private, public, protected where appropriate
- Add an additional tab stop to end of functions for additional args/params
- Remove array kvps since arrays can be associative or just values

* Add try catch finally php snippet

* Add param php snippet

* Add php func snippets

- Add fun for a general function out of scope of class
- Add fun_anonymous for anonymous functions
- Add fun_arrow for arrow functions

* Add promotion style constructor to php snippets

* Add property snippet to php snippets

* Add spaceship snippet to php snippets

* Add goto snippet to php snippets

* Add class_const snippet to php snippets

* Add here/now doc snippets to php snippets

* Add namespace related snippets to php snippets

* Add superglobal snippets to php snippets

* Add php 8 snippets

- Add match expression
- Add Attribute snippets
  - Add sensitive parameter
  - Add attribute target
  - Add attribute with target
- Rename class_const to const
- Add Dynamic Property Class snippet
- Add enum snippets
  - Basic Enum
  - Backed Enum
  - foreach enum

* Merge master to resolve conflict

* Remove php snippets as candidates

- Remove heredoc
- Remove nowdoc
- Remove php super global snippets
- Remove namespace_path
- Remove ethis (echo $this->)
- Remove try/catch finally

* Trim snippets

---------

Co-authored-by: Rob Lourens <roblourens@gmail.com>
2023-05-18 14:46:36 -07:00
..
2023-03-10 20:02:01 +08:00
2023-03-29 11:38:06 +02:00
2023-04-28 17:43:01 +02:00
2023-02-24 17:22:41 +01:00
2023-05-10 16:17:58 -07:00
2023-03-03 13:08:21 +01:00
2023-04-17 21:27:38 +01:00
2023-04-28 17:43:01 +02:00
2023-04-28 17:43:01 +02:00
2023-02-24 17:22:41 +01:00
2023-03-29 11:38:06 +02:00
2023-01-30 06:27:20 -08:00
2023-03-29 11:38:06 +02:00
2023-05-11 12:29:42 -07:00
2023-05-17 02:34:14 +02:00
2023-05-17 02:34:14 +02:00