shrikeh
Repos
107
Followers
30
Following
9

Simple PHP library to improve verbosity in HTTP response codes

275
15

A Composer-friendly port of the PEAR-based Template for Jenkins Jobs for PHP Projects (http://jenkins-php.org)

19
5

A simple nginx conf file to allow your backend (Varnish, Apache Traffic Server, etc) to not worry about CSRF tokens and put the onus on the front (nginx) instance

38
9

Interim version of the SPDY sandwich for testing - don't use in prod!

5
0

Role to automatically change your deploy key, therefore ensuring a fresh key every time. For the security-minded, or those who just want to totally forget about the need to setup deploy keys.

7
3

PHP Micro component for event dispatch

1
0

Events

fix: package.json & yarn.lock to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:

  • https://snyk.io/vuln/SNYK-JS-SNYK-3037342
  • https://snyk.io/vuln/SNYK-JS-SNYKGOPLUGIN-3037316
Created at 4 days ago
create branch
shrikeh create branch snyk-fix-1f3b0ec8b99f3f3a3b820e197317a536
Created at 4 days ago
issue comment
[Uid] Add UuidV7 and UuidV8

@nicolas-grekas would you be interested in working with me on adding Twitter's Snowflake ID to the UID component?

Created at 3 weeks ago
delete branch
shrikeh delete branch feature/change-author-as-on-company-time
Created at 3 weeks ago
pull request opened
Change author email to better present this contribution was done on c…

…ompany time

| Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | None | License | MIT | Doc PR | N/A

Pointed out that, as the commit 0f1bc365946f6c749fa5c65dea3261515501947a was done on company time, it is appropriate to use my work email address as the author. Apologies for the PR.

Created at 3 weeks ago
create branch
shrikeh create branch feature/change-author-as-on-company-time
Created at 3 weeks ago
delete branch
shrikeh delete branch feature/add-interface-to-describe-uids-with-datetime-behaviour
Created at 3 weeks ago
issue comment
[Uid] Add interface for `getDateTime()` and apply to relevant UIDs

@nicolas-grekas is psalm failing on the intersection for TimeBasedUuidFactory::create()?

Created at 3 weeks ago

Overcome your English Lit education and finish a sentence without punctuation

Created at 3 weeks ago

Can you at least get your own name right Barney?

Created at 3 weeks ago

Tweaks as per feedback on peer review

Created at 3 weeks ago
issue comment
Add interface for `getDateTime()` and apply to relevant UIDs

What about adding AbstractUid::getDateTime(): ?DateTimeImmutable instead?

Potentially, though personally it would feel like an anti-pattern to me as the behaviour is specific to only certain implementations.

Created at 4 weeks ago
pull request opened
Add interface for `getDateTime()` and apply to relevant UIDs

| Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | N/A | License | MIT | Doc PR | Unclear how this would be documented.

Minor "feature" of better describing that certain flavours of UID have embedded DateTimeImmutable. The method getDateTime() is described in the interface, and applied to the relevant UID flavours. This allows usage of the functionality through simpler instanceof inspection, or as a typed property of a class representing an entity. A trivial example:

if ($uid instanceof DateTimeUidInterface) {
    return $uid->getDateTime();
}
// throw an Exception if not, or return a default DateTimeImmutable...
Created at 4 weeks ago

Update CHANGELOG.md for Uid component

Created at 4 weeks ago
create branch
shrikeh create branch feature/add-interface-to-describe-uids-with-datetime-behaviour
Created at 4 weeks ago
Created at 4 weeks ago
shrikeh create tag 0.2.0
Created at 2 months ago

Remove composer.lock and make psr/log and psr/container less constrained

Created at 2 months ago