fadrian06
cbc1cb30be
refactor Dispatcher@execute
3 weeks ago
fadrian06
4afb553a96
simplify Dispatcher@mustUseContainer
3 weeks ago
fadrian06
35a6bbabed
update Dispatcher@fixOutputBuffering description
3 weeks ago
fadrian06
740524490f
extract Dispatcher::CALLABLE_STRING_OPERATORS
3 weeks ago
fadrian06
ddb57620a0
add default template values in FilteredCallable
3 weeks ago
fadrian06
b0203d861c
deprecate Dispatcher@runPreFilters, runEvent, runPostFilters and filter.
...
Now filters are handled by each FilteredCallable.
3 weeks ago
fadrian06
80705ec158
update Dispatcher@run, set, get, has, hook, clear and reset to use the namedFilteredCallable property
3 weeks ago
fadrian06
2d772f3642
update Dispatcher description
3 weeks ago
fadrian06
2673435197
update before and filters signature
3 weeks ago
fadrian06
5ea5d5b8ad
add Dispatcher namedFilteredCallables property
3 weeks ago
fadrian06
2682e3298f
add FilteredCallable to replace Dispatcher events to named callables (self explanatory).
...
- FilteredCallable wraps a callable and helps static analyzers to check if after filters are using the callable return type as output type.
- FilteredCallable handles after filters with two parameters (deprecated) and one parameter (new required signature)
3 weeks ago
fadrian06
bb6932e92e
throw OutOfBoundsException instead of Exception when event name hasn't been set
3 weeks ago
fadrian06
bf3f86d619
reuse Dispatcher@get in Dispatcher@has
3 weeks ago
fadrian06
7379be00ac
simplify Dispatcher events values typehint
3 weeks ago
fadrian06
318852b19b
deprecate Dispatcher filters property
3 weeks ago
fadrian06
1ae2bafeee
deprecate Dispatcher events property
3 weeks ago
fadrian06
7beabae36d
improve Dispatcher description to reflect its responsibility for dispatching named callables
3 weeks ago
fadrian06
188f147c7d
invert Dispatcher@setContainerHandler conditional and remove $containerFQCN
4 weeks ago
fadrian06
5c89341428
clarify Dispatcher@run parameters and allows to throw errors inside events or filters
4 weeks ago
fadrian06
988c64ed22
rename $containerInterfaceNS -> $containerFQCN and extract InvalidArgumentException $message argument
4 weeks ago
fadrian06
0b0737f533
remove $this of return type, it's incompatible with self return type
4 weeks ago
fadrian06
8a4818cf87
improve typehint of keys before and after inside all events in the Dispatcher $filters property
4 weeks ago
fadrian06
ae735c1845
remove Dispatcher properties redundants explanations
4 weeks ago
fadrian06
12607d9500
rename Psr\Container\ContainerInterface -> Container
4 weeks ago
fadrian06
6c5d9de3ca
remove Engine @template
4 weeks ago
fadrian06
32ff66428d
use raw copyright links for compatibility
4 weeks ago
fadrian06
cff442d964
normalize and simplify @copyright and @license phpdoc tags based on phpDocumentor recommendations to clean symbols hovers
4 weeks ago
fadrian06
31cd1b0437
translate chart to english
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
4 weeks ago
fadrian06
cc01169281
falsey -> falsy
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
4 weeks ago
fadrian06
d566684b7e
improve redaction about reporting security vulnerabilities
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
4 weeks ago
fadrian06
ae0440eb80
remove "Until automated testing is put into place"
...
CI Tests were implemented and running successfully
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
4 weeks ago
fadrian06
b464dc18f4
PSR12 -> PSR-12
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
4 weeks ago
fadrian06
489c4e2fd0
replace README.md frameworks comparison table with mermaid bars chart
4 weeks ago
fadrian06
b28716c3ef
improve format and clarity in README.md
4 weeks ago
fadrian06
a86e4078ca
improve the redaction of CONTRIBUTING.md about security vulnerabilities
4 weeks ago
fadrian06
fa08cd68ff
remove restriction about the ! (NOT) operator
4 weeks ago
fadrian06
412faa120f
adjust the php versions in the tests
4 weeks ago
fadrian06
dddd6ab72a
update the coding standards to PSR12
4 weeks ago
fadrian06
dc48746b3f
update code format instructions to PSR12 in documentation
4 weeks ago
n0nag0n
d8fe78449c
Fix flight.allow_method_override not disabling method override (GHSA-vr9m-jx6f-hhj6)
...
Assign Request::$allowMethodOverride on the class before any Request is
built, so the constructor does not cache an overridden verb while the
static still defaults to true. When override is disabled and an override
header or _method field is present, recompute the cached request method
so early Flight::request() access cannot keep a spoofed DELETE/PUT/PATCH.
Add regression tests for the Engine start path, early request construction,
_method, and intentional manual method assignment without override input.
4 weeks ago
n0nag0n
ee03274498
Merge pull request #714 from flightphp/feat/align-runway-commands-with-skeleton
...
Align Runway generators with skeleton App\ layout
1 month ago
n0nag0n
98c9c89893
Align Runway generators with skeleton App\ layout and fix suite gates
...
make:controller now generates App\Controller under app/Controller/, and
ai:generate-instructions writes only AGENTS.md with Twig/SimplePdo
conventions. Clear a stale PHPStan baseline entry and resolve PHPCS
issues so multi-PHP tests/phpstan/phpcs pass cleanly.
1 month ago
n0nag0n
f2df5232c4
Add project instructions for FlightPHP core library
2 months ago
n0nag0n
128af19ae9
Merge pull request #713 from flightphp/use-best-practices-in-index.php
...
Use static callables with type hints
2 months ago
fadrian06
83d7096ee7
use static callables with typehints
2 months ago
n0nag0n
eb24cff886
Merge pull request #711 from flightphp/feat/ai-generate-agents-md
...
feat(ai): generate AGENTS.md in ai:generate-instructions command
2 months ago
n0nag0n
53d422001e
feat(ai): generate AGENTS.md in ai:generate-instructions command
...
Also write project AI instructions to AGENTS.md alongside the existing
copilot, cursor, gemini, and windsurf output files.
2 months ago
n0nag0n
bac3714368
Merge pull request #709 from flightphp/autoload-rework
...
Refactor autoloading and normalize test structure
3 months ago
copilot-swe-agent[bot]
46e457f9c5
Merge master into autoload-rework
3 months ago
fadrian06
d58cbacda1
restore and improve custom autoloader
3 months ago