assertion | new? |
---|---|
assertObjectHasProperty | new |
assertObjectNotHasProperty | new |
assertFileMatchesFormat | new |
assertFileMatchesFormatFile | new |
assertArrayHasKey | exists |
assertArrayNotHasKey | exists |
assertIsList | exists |
assertContains | exists |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
class f7581f0da44cd5a2fc9936e20fdfee1e as "cakephp/cakephp" <<library>> { | |
5.1.4 | |
} | |
f7581f0da44cd5a2fc9936e20fdfee1e ---> 9779f5ff5cb36f9d0ec714618ab39d63 : cakephp/chronos:^3.1 | |
f7581f0da44cd5a2fc9936e20fdfee1e ---> 6ee65c4ee852eb3561faf27f10cff0a9 : composer/ca-bundle:^1.5 | |
f7581f0da44cd5a2fc9936e20fdfee1e ---> 985d8dd0a22bf40ee4f4d0686b1c1389 : laminas/laminas-diactoros:^3.3 | |
f7581f0da44cd5a2fc9936e20fdfee1e ---> 4b5f4790f86b0a3a6fba58a92c80787c : laminas/laminas-httphandlerrunner:^2.6 | |
f7581f0da44cd5a2fc9936e20fdfee1e ---> 69ca8c9ed12f11099620049fba46f704 : league/container:^4.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
pj_root_dir="$(dirname "$(readlink -f "$0")")" | |
target_dir="${pj_root_dir}/nanika-no-pj-src/.phpstan-baselines" | |
# ポイント① | |
pushd nanika-no-pj-src | |
for ((day_before=0; day_before<=60; day_before++)); do | |
# ポイント② |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace O0h\PhpstanErrorControlOp\Rules; | |
use PhpParser\Node; | |
use PHPStan\Analyser\Scope; | |
use PHPStan\Rules\Rule; | |
use PHPStan\Rules\RuleErrorBuilder; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
const CHECK_PHP_VERSION = 80; | |
if (!extension_loaded('ast')) { | |
abort('php-ast is required, but not installed. Abort.'); | |
} | |
if ($argc < 2) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// autoload_psr4.php @generated by Composer | |
$vendorDir = dirname(__DIR__); | |
$baseDir = dirname($vendorDir); | |
return array( | |
'Twig\\Extra\\Markdown\\' => array($vendorDir . '/twig/markdown-extra'), | |
'Twig\\' => array($vendorDir . '/twig/twig/src'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$dsn = getenv('SENTRY_DSN'); | |
$urlParts = parse_url($dsn); | |
$baseUrl = 'http://localhost:3000'; // @see https://docs.sentry.io/product/relay/ for localhost:3000 | |
# $baseUrl = "{$urlParts['scheme']}://{$urlParts['host']}"; | |
$endpoint = "{$baseUrl}/api{$urlParts['path']}/store/"; | |
$headers = [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php declare(strict_types = 1); | |
// https://phpstan.org/r/08461790-ec36-4043-8fd4-0c11074d44ea | |
/** | |
* @param mixed $a some value | |
* @return mixed | |
*/ | |
function returnMatch($a): mixed | |
{ | |
return match ($a) { |
- Amazon RDSパフォーマンスインサイトの使用 - Amazon Aurora
- Amazon RDSパフォーマンスインサイトの使用 - Amazon Relational Database Service
- この2つが1番最初に読むべき記事。ここで抵抗なく理解をできたら他の要らなそう
- よくある質問 - Performance Insights | AWS
- よくある質問 - Performance Insights | AWS
- [Using Performance Insights to
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<!-- Firebase App is always required and must be first --> | |
<script src="https://www.gstatic.com/firebasejs/5.5.2/firebase-app.js"></script> | |
<!-- Add additional services that you want to use --> | |
<script src="https://www.gstatic.com/firebasejs/5.5.2/firebase-auth.js"></script> | |
<script src="https://www.gstatic.com/firebasejs/5.5.2/firebase-database.js"></script> | |
<script src="https://www.gstatic.com/firebasejs/5.5.2/firebase-firestore.js"></script> |
NewerOlder