by shigemk2

当面は技術的なことしか書かない

PHP

array_shiftのnullと空配列

PHP

7.3.27

useのエイリアス

PHP

www.php.net asをつかう

phpstan 0.12.79

PHP

Release 0.12.79 · phpstan/phpstan · GitHub Support for union type as @template type bound (phpstan/phpstan-src@ac7b49e), #3769 Support int and string as @template type bound (phpstan/phpstan-src@768bfab) Type-specifying extension for Refle…

composer 2.0.11

PHP

Reverted "Fixed runtime autoloader registration (for plugins and script handlers) to prefer the project dependencies over the bundled Composer ones" as it caused more problems than expected github.com

phpstan 0.12.78

PHP

Release 0.12.78 · phpstan/phpstan · GitHub Remember assigned offset value on general arrays Result cache optimization Result cache - invalidate when scanned file changed Result cache - hash autoload file and bootstrap files など

log4php

PHP

typo fixes by shigemk2 · Pull Request #24 · apache/logging-log4php · GitHub 気づいたらリポジトリがリードオンリーになってた

phpstan 0.12.76

PHP

Release 0.12.76 · phpstan/phpstan · GitHub bugfix Support for break X and continue X Fixed nullsafe operator with null coalesce

phpstan 0.12.73

PHP

Release 0.12.73 · phpstan/phpstan · GitHub Support @var above global keyword Rework processing inline @var

phpstan 0.12.72

PHP

Release 0.12.72 · phpstan/phpstan · GitHub

phpstan 0.12.70

PHP

Release 0.12.70 · phpstan/phpstan · GitHub

phpstan 0.12.69

PHP

github.com ComposerJsonAndInstalledJsonSourceLocatorMaker isSuperTypeOf CallStaticMethodsRule, ClassConstantRule, AccessStaticPropertiesRule checkMissingCallableSignature

phpstan 0.12.68

PHP

戻り値文から匿名関数の戻り値の型を推測 bugfix ネストされたクロージャと匿名関数からのステートメントを含まないようにClosureReturnStatementsNodeを修正 など github.com

array_rand メモ

PHP

8.0.0 Argument #2 ($num) must be between 1 and the number of elements in argument #1 ($array) 7.4.0 Second argument has to be between 1 and the number of elements in the array 7.3.0 Second argument has to be between 1 and the number of ele…

PHP 7.3.26

PHP

$ openssl dgst -sha256 php-7.3.26.tar.xz $ brew bump-formula-pr --url=https://www.php.net/distributions/php-7.3.26.tar.xz --mirror=https://fossies.org/linux/www/php-7.3.26.tar.xz --sha256=d93052f4cb2882090b6a37fd1e0c764be1605a2461152b7f6b8…

PHP 7.4.14

PHP

$ openssl dgst -sha256 php-7.4.14.tar.xz $ brew bump-formula-pr --url=https://www.php.net/distributions/php-7.4.14.tar.xz --mirror=https://fossies.org/linux/www/php-7.4.14.tar.xz --sha256=f9f3c37969fcd9006c1dbb1dd76ab53f28c698a1646fa2dde85…

phpstan 0.12.64

PHP

Release 0.12.64 · phpstan/phpstan · GitHub PHPStan can now understand relationships between different variables. Cases like these are now understood correctly そう。

phpstan 0.12.61

PHP

Release 0.12.61 · phpstan/phpstan · GitHub bugfixが一つとfunction fixがひとつ

phpstan 0.12.60

PHP

https://github.com/phpstan/phpstan/releases/tag/0.12.60 Infer private properties in constructor, even if typehinted (#374), thanks @Baldinof! Updated nikic/php-parser (phpstan/phpstan-src@030b4f5) Optimize range() dynamic return type exten…

composer 1.10.19

PHP

Release 1.10.19 · composer/composer · GitHub Fixed regression on PHP 8.0

phpstan 0.12.58

PHP

Release 0.12.58 · phpstan/phpstan · GitHub Configurable result cache path (phpstan/phpstan-src@518b20d), #3755 StubValidator - analyse only project stub files (phpstan/phpstan-src@f956c6d) Update phpstorm-stubs (phpstan/phpstan-src@fb95fab…

phpstan 0.12.57

PHP

Release 0.12.57 · phpstan/phpstan · GitHub New Docker image hosted in GitHub Container Registry and based on PHP 8. とな

substr mb_substr

PHP

substrじゃマルチバイト対応してない

phpstan 0.12.56

PHP

Release 0.12.56 · phpstan/phpstan · GitHub Support for named arguments (PHP 8) FunctionCallParametersCheck - argument errors reported on more precise lines (phpstan/phpstan-src@c507ae2) あとはちょいバグフィックス

composer 2.0.7

PHP

Release 2.0.7 · composer/composer · GitHub Fixed detection of TTY mode, made input non-interactive automatically if STDIN is not a TTY Fixed root aliases not being present in lock file if not required by anything else Fixed remove command …

composesr 2.0.6

PHP

Release 2.0.6 · composer/composer · GitHub Fixed regression in 2.0.5 dealing with custom installers which do not pass absolute paths

CredentialProvider::defaultProvider

PHP

Aws\Credentials\CredentialProvider::defaultProvider はデフォルトの認証情報プロバイダです。このプロバイダは、クライアントの作成時に credentials オプションを指定しなかった場合に使用されます。このプロバイダは、環境変数、.ini ファイル (.aws/cr…

phpstan 0.12.53

PHP

Release 0.12.53 · phpstan/phpstan · GitHub Support for Stringable (PHP 8) (phpstan/phpstan-src@3143833) Updated jetbrains/phpstorm-stubs (phpstan/phpstan-src@3714a73) Add support for no-return and never-returns types as aliases of never (#…

PHP 7.3.24

PHP

Release php-7.3.24 · php/php-src · GitHub 7.3.24

PHP range

PHP

fishとかPythonとかのrangeと動きがほぼ一緒

JFrog composer

PHP

JFROGをcomposerで使うためのリンクだけど、いまいちよくわからない PHP Composer Repositories - JFrog - JFrog Documentation