Repository navigation
v0.4.0
The v0.4.0 release of phpscript contains 68 commits since v0.3.5. The changes focus on statement coverage reporting across the test and lint commands, a wider stdlib with the datetime, gd, pexec and hashing areas, runtime support for stdClass, anonymous classes and writable superglobals, and request handling through php://input and form decoding.
pie title v0.4.0 commits by category
"feature" : 27
"docs" : 15
"fix" : 8
"build" : 6
"test" : 5
"chore" : 3
"update" : 2
"ci" : 1
"other" : 1Changelog
feature
- b37f702 feat(lint): group findings by folder scanned
- e21a167 feat(test): add func and file reports to --cover
- 20cc8d3 feat(stdlib): add is_subclass_of
- a364606 feat(runner): make superglobals writable in every scope
- d8682eb feat(test): add --cover, --coverfile and --split
- 83f4caf feat(runner): collect statement coverage in the interpreter
- c6591cf feat(stdlib): add end and reset
- 52088e8 feat(stdlib): add the pexec area for process execution
- 089e332 feat(stdlib): add join and rand
- 30826b0 feat(test): resolve fixtures against an application root
- cf9368e Add insensitive used class ref matching, naive date/strtotime
- 94f05df Add intval binding
- 489e201 feat(stdlib): add md5, sha1, hexdec, and the ulid/uuid generators
- a349974 feat: implement do-while on every runtime
- 2072cc4 feat(runner): resolve new and method calls from a runtime name
- 717d071 feat: give static, global and & real nodes across parse, run, fmt and lint
- c702bdd feat(runner): add stdClass, the (object) cast, and anonymous classes
- 47b5a02 feat(runtime): an undefined constant throws
- b4cfa02 feat(runner): decode PHP bracket syntax in form input, and register parse_str
- d9ab07a feat(runtime): render and destructure the values Go bindings return
- cd8947f Implement DateTime namespace
- 5c766f7 feat(server): wire mail() through an smtp config block, per site
- 94047dc feat(lint): warn on global and class extends, the parse-and-do-nothing pair
- 6cf0be6 feat(runner): buffer the request body and expose it as php://input
- 90cd17b feat(stdlib): add fputcsv, fgetcsv and the php://output stream
- 45892eb feat(stdlib): add file_put_contents with FILE_APPEND
- 8f13d63 feat(stdlib): add random_bytes, random_int and the bin2hex pair
docs
- fa49d32 docs: regenerate reference, fixture and coverage reports
- 960ca1e docs: regenerate reference, fixture and coverage reports
- 17c30b4 docs: regenerate reference, fixture and coverage reports
- 0f752c8 docs,test: name the undefined-function example undefined_function()
- e462f70 docs: follow the lint example md5 to a name that stays missing
- dc6c799 docs(reference): document every reserved interface and class
- 2bc294b docs: add the application guides
- 2ef9a19 docs: link the application guides from the readme
- f2f07da docs(json): record the JSON_* flags as won't-implement, warn on their use
- 3c6af2f docs(json): record the JSON_* flags as won't-implement, and guard it
- 81f8d7d docs(testing): say that the matrix runs the installed binary
- a144a0a docs: apply house tone to the datetime and form-decoding pages
- ca358ff docs(database): name the date column types that carry an offset
- 213cb86 docs(oop): record new self() and new static() as won't-implement
- dd6e29e docs: record global as a won't-implement, not a gap
fix
- a542afc fix(tests): run the runtime column as the cli SAPI
- 1092d26 fix(runner): collect variadic parameters into an array
- ce48d5f fix(lint): teach the name registry the request-aware functions
- b59d60a fix(parser): give each name in a chained assignment its own array
- 2ca5677 fix(annotations): one @route parameter grammar across both routers
- 0751337 fix(runtime): a time renders the way php writes a datetime
- dde304e fix(runner): forward this through self calls
- feed843 fix(stdlib): php://input follows the SAPI - stdin on cli, body on serve
build
- 48dabbc build(pipeline): move composer:install out of the default pipeline
- dcff83c build: name the demo trees once and loop over them
- d0ce394 build: follow the common-phpscript demo rename to demos/common
- 7846194 build: wire the phpscript-common suite into the pipeline
- 776582e build: drop the deferral comment; refresh generated test reports
- 95d4aaf build: register the compose:down deferral right after up
test
- 95fd0ce test(lint): pick an example function that stays unregistered
- 948e16b test: run fixtures in parallel
- 84c3872 test(github): keep the issue reproductions as an evidence log
- 5a07d28 test(github): record one expect-fail fixture per open issue
- 5d7a7e7 test(oop): cover the self:: surface a class uses on itself
chore
- 048ec4b chore: drop the generated LINT.md from the tree
- dfb3a30 chore: adopt AGENTS.md as canonical agent policy with a CLAUDE.md adapter
- 6eac0ad chore: add issue templates for bugs and feature gaps
update
- 22fc1ea deps: pdo v0.2.4, which binds a lone Time by position
- 24592dd Update test fixtures/docs generated
ci
- 45f7b46 ci: build the image from the default pipeline, not from the demos
other
- ccbe957 stdlib/gd: image functions over x/image; fix new on a class name reference