assertion | new? |
---|---|
assertObjectHasProperty | new |
assertObjectNotHasProperty | new |
assertFileMatchesFormat | new |
assertFileMatchesFormatFile | new |
assertArrayHasKey | exists |
assertArrayNotHasKey | exists |
assertIsList | exists |
assertContains | exists |
This file contains 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 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 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 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 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 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 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> |
This file contains 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 | |
/** | |
* !!! Auto generated file. Do not directly modify this file. !!! | |
* You can either version control this or generate the file on the fly prior to usage/deployment. | |
*/ | |
namespace App\Dto; | |
/** | |
* Car DTO |
NewerOlder