Ссылки на материалы, позволяющее лучше понять оригинальную идею.
Java and C++ make you think that the new ideas are like the old ones. Java is the most distressing thing to hit computing since MS-DOS.
Alan Kay
<template name="fn" value="fn ($TYPE$ $INSTANCE$) => $INSTANCE$$END$" description="Arrow function" toReformat="false" toShortenFQNames="true"> | |
<variable name="TYPE" expression="completeSmart()" defaultValue="" alwaysStopAt="true" /> | |
<variable name="INSTANCE" expression="concat("$", camelCase(TYPE))" defaultValue="" alwaysStopAt="false" /> | |
<context> | |
<option name="PHP Expression" value="true" /> | |
<option name="PHP Statement" value="true" /> | |
</context> | |
</template> |
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs
<?php | |
use Phan\CodeBase; | |
use Phan\Language\Context; | |
use Phan\Language\UnionType; | |
use Phan\PluginV2\ReturnTypeOverrideCapability; | |
use Phan\Language\Element\Method; | |
use Phan\PluginV2; | |
use \Phan\Language\FQSEN\FullyQualifiedClassName; | |
use Phan\Language\Element\Clazz; |
API | Status Codes |
---|---|
[Twitter][tw] | 200, 304, 400, 401, 403, 404, 406, 410, 420, 422, 429, 500, 502, 503, 504 |
[Stripe][stripe] | 200, 400, 401, 402, 404, 429, 500, 502, 503, 504 |
[Github][gh] | 200, 400, 422, 301, 302, 304, 307, 401, 403 |
[Pagerduty][pd] | 200, 201, 204, 400, 401, 403, 404, 408, 500 |
[NewRelic Plugins][nr] | 200, 400, 403, 404, 405, 413, 500, 502, 503, 503 |
[Etsy][etsy] | 200, 201, 400, 403, 404, 500, 503 |
[Dropbox][db] | 200, 400, 401, 403, 404, 405, 429, 503, 507 |
DELIMITER | | |
CREATE FUNCTION uuid_from_bin(b BINARY(16)) | |
RETURNS CHAR(36) DETERMINISTIC | |
BEGIN | |
DECLARE hex CHAR(32); | |
SET hex = HEX(b); | |
RETURN CONCAT(LEFT(hex, 8), '-', MID(hex, 9,4), '-', MID(hex, 13,4), '-', MID(hex, 17,4), '-', RIGHT(hex, 12)); | |
END | |
| |