15 Commits

Author SHA1 Message Date
Alexey
172ce659b8
Use str_starts_with, str_ends_with and str_contains instead of strpos (#5485) 2022-12-31 13:02:23 +00:00
Rush2929
31465525e3
Fixed PHP-CS-Fixer not import global constants. (#5449) 2022-12-12 17:12:33 +00:00
Dylan K. Taylor
86647683bc
fix CS again 2022-07-19 20:35:34 +01:00
Dylan K. Taylor
62f21516d1
build/generate-registry-annotations.php: allow processing a single file
this is useful for automatically invoking the script via a PhpStorm file watcher.
2022-07-19 20:17:07 +01:00
Dylan K. Taylor
c553f7cf06
build/generate-registry-annotations.php: write to stderr on error 2022-07-19 20:15:44 +01:00
Dylan K. Taylor
38d6284671
Use PHP-CS-Fixer to enforce file header presence 2022-06-04 17:34:49 +01:00
Dylan K. Taylor
c50518a4ca
build/generate-registry-annotations: specify type that PHPStan can't infer 2022-03-09 17:53:10 +00:00
Dylan K. Taylor
c47dfa1fb8
Replace disallowed operators in build/ 2022-01-20 19:00:54 +00:00
Dylan K. Taylor
6d249026cc
Merge branch 'legacy/pm3' into stable 2022-01-07 20:15:15 +00:00
Dylan K. Taylor
b4b954cc5f
build/generate-registry-annotations: accommodate code with CRLF 2021-11-19 21:38:43 +00:00
Dylan K. Taylor
044b2f54ac
Fixed build 2021-08-22 23:13:25 +01:00
Dylan K. Taylor
270ee5c085
Simplify registry method generation 2021-08-22 23:02:36 +01:00
Dylan K. Taylor
662d1a35ff
generate-registry-annotations: skip files that don't contain classes 2021-08-12 20:29:21 +01:00
Dylan K. Taylor
06f20234f7
Scrub unused imports 2021-03-26 22:56:09 +00:00
Dylan K. Taylor
90161f24e3
Added script to update registry/enum docblocks 2021-03-22 16:00:09 +00:00