Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,15 @@ where applicable.

## Unreleased

- Initial SymPress Kernel package documentation.
### Added

- Bridge `App::enableDebug()` and `App::disableDebug()` to an optional profiler service.

### Changed

- Split package-manager actions, package-manager rendering, kernel configuration, runtime container cache, and core service registration into focused collaborators.
- Adopt shared SymPress QA tooling and PHP 8.5 package constraints.

### Fixed

- Normalize mixed metadata, route, hook, environment, and WordPress context inputs before using them as typed kernel state.
20 changes: 14 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
"symfony/yaml": "^8.0"
},
"require-dev": {
"phpunit/phpunit": "^11.5",
"sympress/coding-standards": "dev-main"
"sympress/qa": "dev-main"
},
"autoload": {
"psr-4": {
Expand All @@ -55,24 +54,33 @@
"scripts": {
"cs": [
"Composer\\Config::disableProcessTimeout",
"phpcs --standard=phpcs.xml.dist"
"qa cs"
],
"cs:fix": [
"Composer\\Config::disableProcessTimeout",
"phpcbf --standard=phpcs.xml.dist"
"qa cs:fix"
],
"static-analysis": [
"Composer\\Config::disableProcessTimeout",
"qa static-analysis"
],
"tests": [
"Composer\\Config::disableProcessTimeout",
"phpunit --configuration phpunit.xml.dist --no-coverage"
"qa tests"
],
"test": [
"@tests"
],
"qa": [
"@cs",
"@static-analysis",
"@tests"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"sort-packages": true
},
Expand Down
1 change: 1 addition & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>.phpunit.cache/*</exclude-pattern>
<exclude-pattern>tests/Support/TestEnvironment.php</exclude-pattern>

<rule ref="SymPress-Pure">
<exclude name="Generic.Files.OneObjectStructurePerFile.MultipleFound" />
Expand Down
7 changes: 7 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
parameters:
level: max
paths:
- src
bootstrapFiles:
- tests/Support/TestEnvironment.php
treatPhpDocTypesAsCertain: false
Loading